Bug in 4.2 make with archives

William Cattey wdc at mit-eddie.UUCP
Mon Sep 24 12:34:40 AEST 1984


(This is something I tried to post a long time ago, but had trouble
with the news system.  Let's try again.)
Bug:
	Make doesn't find the correct modified date for objects
	in archives.

Fix:

	Make the following change to files.c  (to correctly reflect the
changeover to ascii format archives).

371a372
> #define MAXARNAMLEN 16	/* max length of filename in archive */
375c376
< static char arfname[16];
---
> static char arfname[MAXARNAMLEN];
405c406
< 	nc = MAXNAMLEN;
---
> 	nc = MAXARNAMLEN;
412c413
< 	*q++ = '\0';
---
> 	*q++ = ' ';		/* names are blank padded */


Bill Cattey
wcattey at srn-vax				arpa
...decvax!genrad!mit-eddie!wdc		uucp



More information about the Comp.unix.wizards mailing list