Date: Wed, 29 May 1996 12:43:27 -0500 (CDT) Message-Id: <199605291743.MAA14735@orion.math.uiuc.edu> From: Dan Grayson To: djgpp-workers AT delorie DOT com Subject: long file name bug in 'make' Reply-to: drg AT uiuc DOT edu Here is a bug in make connected with long file names. It only makes one of the two files required. >> set lfn=y >> cat makefile all: asdfasdfasdf.oo asdf.oo %.oo : %.d @echo making $@ asdf.oo : asdf.sig asdfasdfasdf.oo : asdfasdfasdf.sig >> ls -l total 2 -rw-r--r-- 1 dan users 0 May 29 12:07 asdf.d -rw-r--r-- 1 dan users 0 May 29 12:07 asdf.sig -rw-r--r-- 1 dan users 0 May 29 12:06 asdfasdfasdf.d -rw-r--r-- 1 dan users 0 May 29 12:06 asdfasdfasdf.sig -rw-r--r-- 1 dan users 158 May 29 12:09 makefile >> make making asdf.oo >> ls -l make.exe -rwxr-xr-x 1 dan users 150016 Feb 5 02:11 make.exe >> make -v GNU Make version 3.73, by Richard Stallman and Roland McGrath. Copyright (C) 1988, 89, 90, 91, 92, 93, 94, 95 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. I wonder whether this is related to the bug (feature?) that identifies the file asdfasdfasdf.d with the truncated name asdfasdf.d. What I mean is that with the files above, the command 'cat asdfasdf.d' will work, unfortunately and ambiguously, taking the first file it finds with those 8 letter in its name.