[comp.mail.elm] patch to leavembox.c results in error

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

From: ries@trwrb.UUCP (Marc Ries)
Subject: patch to leavembox.c results in error
Date: 4 May 87 18:14:31 GMT
Organization: TRW Operations and Support Group

The patched version of leavembox.c [Pyramid 98X, OSx 3.1, UCB Universe]:

     /bin/cc -c -O -I../hdrs -DBSD leavembox.c 
     "leavembox.c", line 298: undefined structure utimbuf used
     "leavembox.c", line 298: undefined struct on left side of . operator
     "leavembox.c", line 298: unknown field name
     "leavembox.c", line 299: undefined structure utimbuf used
     "leavembox.c", line 299: undefined struct on left side of . operator
     "leavembox.c", line 299: unknown field name
     "leavembox.c", line 301: undefined structure utimbuf used
     *** Error code 1

     Stop.

The modification:

     <new> 	struct utimbuf utime_buffer;	/* utime command */
     ---
     <old> 	/** added due to a bug in the 2.1 OS **/
  
      struct utimbuf {
  	time_t	actime;		/** access time **/
  	time_t  modtime;	/** modification */
         };

      struct utimbuf times;		/* utime command */

ries@trwrb

-- 
		Marc A. Ries

		sdcrdcf!---\ 
                ihnp4!------\----- trwrb! --- ries