[660] in Athena Bugs

home help back first fref pref prev next nref lref last post

An obscure bug in make reported to ucb in 1984 that NEVER made it.

daemon@ATHENA.MIT.EDU (wdc@ATHENA.MIT.EDU)
Fri Aug 26 19:23:04 1988

From: <wdc@ATHENA.MIT.EDU>
Date: Fri, 26 Aug 88 19:22:36 EDT
To: bugs@ATHENA.MIT.EDU
I also reported this to bugs when I first came to Athena, but it never
made it here.

The deal is that way way back when, the archive format for libraries
changed to a fully ascii file format, and names got lengthened to 16
characters, and separated by spaces rather than nulls.

When make is used to compare timestamps in elements of an archive (a
seldom used feature, because it doesn't work most places :-) ), it
fails because it doesn't get the name right.  The length of the name
and the delimiter was never converted to the new format.

Would anyone be interested in fixing our sources and sending this
message off to Berkeley to someone who might read it?


  From the 'desk' of     _   /|
  Bill (the) CATTey...   \'o.O'
                         ~(___)~       THSHVPPPOOO!
                            U  	   	   ACH!
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 */

home help back first fref pref prev next nref lref last post