[2145] in Athena Bugs
Re: 6.2A Compress
daemon@ATHENA.MIT.EDU (epeisach@ATHENA.MIT.EDU)
Mon May 1 19:46:00 1989
From: <epeisach@ATHENA.MIT.EDU>
Date: Mon, 1 May 89 19:45:34 EDT
To: jfc@ATHENA.MIT.EDU
Cc: bugs@ATHENA.MIT.EDU
>Compress was compiled without "BSD4_2" defined, so it assumes there is a 14
>character limit on filename length.
Actually you are wrong. It was compiled (as the makefile was used) with
BSD4_2 defined. Here is the fragment of code:
#ifndef BSD4_2 /* Short filenames */
if ((cp=rindex(ofname,'/')) != NULL) cp++;
else cp = ofname;
if (strlen(cp) > 12) {
fprintf(stderr,"%s: filename too long to tack on .Z\n",cp);
continue;
}
#endif /* BSD4_2 Long filenames allowed */
I wonder what hand compiling was used with the previous version.
Note: The same problem exists on the vax (from looking at the Makefile,
but not the executable).
Perhaps the Makefile should be fixed....
Ezra