Message-Id: <200002192044.PAA26251@delorie.com> From: "Mark E." To: djgpp-workers AT delorie DOT com Date: Sat, 19 Feb 2000 15:52:27 -0500 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: fileutils mkdir gotcha X-mailer: Pegasus Mail for Win32 (v3.12a) Reply-To: djgpp-workers AT delorie DOT com Hi folks, While playing with binutils and trying to get 'make install' to play nice with '/dev/env/DJDIR', I discovered a problem either with libc.a or with Fileutils. The install process in binutils calls the 'mkinstalldirs' script which in turn calls 'mkdir' from fileutils. The input to mkinstalldirs is this case '/dev/env/DJDIR'. mkinstalldirs calls 'mkdir /dev' which it will create (which is bad). Then calls 'mkdir /dev/env'. mkdir reports that the dir. exists even though it doesn't (which in this case is good). And then 'mkdir /dev/env/DJDIR' which reports that the dir exists (which it should). What, if anything, should be done to handle the case of 'mkdir /dev'? --- Mark Elbrecht, snowball3 AT bigfoot DOT com http://snowball.frogspace.net/