[comp.mail.elm] Additional fixes to patches 1-8

taylor@hpldat.UUCP (Dave Taylor) (05/04/87)

From: harvard!adelie.Adelie.COM!barry@seismo.CSS.GOV (Barry A. Burke)
Subject: Additional fixes to patches 1-8
Date: 4 May 87 15:13:09 GMT

After applying Elm patches 1-8, I had to make two little tweaks to get things
to compile on my Ultrix system. Neither of these appear to be Ultrix-specific,
I suspect they were overlooked because Dave's system isn't a VAX running BSD.

Apply these AFTER applying patches 1-8:

*** src/date.c-new	Mon May  4 08:59:31 1987
--- src/date.c	Mon May  4 08:59:32 1987
***************
*** 102,108
  # ifdef BSD4.1
  	  timezone(time_zone.timezone, the_time->tm_isdst));
  # else
! 	  timezone(time_zone.tz_minuteswest, time_zone.tz_dsttime);
  # endif
  #else
  	  tzname[the_time->tm_isdst]);

--- 102,108 -----
  # ifdef BSD4.1
  	  timezone(time_zone.timezone, the_time->tm_isdst));
  # else
! 	  timezone(time_zone.tz_minuteswest, time_zone.tz_dsttime));
  # endif
  #else
  	  tzname[the_time->tm_isdst]);

*** src/leavembox.c-new	Mon May  4 09:30:32 1987
--- src/leavembox.c	Mon May  4 09:30:32 1987
***************
*** 13,18
  
  #define  ECHOIT 	1	/* echo on for prompting! */
  
  extern int errno;
  
  char *error_name(), *error_description(), *strcpy();

--- 13,25 -----
  
  #define  ECHOIT 	1	/* echo on for prompting! */
  
+ /** added due to a bug in the 2.1 OS **/
+ 
+ struct utimbuf {
+ 	time_t	actime;		/** access time **/
+ 	time_t  modtime;	/** modification */
+        };
+ 
  extern int errno;
  
  char *error_name(), *error_description(), *strcpy();
-- 
LIVE:	Barry A. Burke, (617) 499-6370
USPS:	Adelie Corporation, 125 CambridgePark Drive Cambridge, MA  02140
UUCP:	barry@adelie.Adelie.COM / ..!{harvard,ll-xn,necntc,mirror}!adelie!barry
ARPA:	barry@adelie.Adelie.COM (via MX) / barry%adelie@harvard.Harvard.EDU