Date: Sun, 4 Oct 1998 12:42:13 +0300 (IDT) From: Eli Zaretskii X-Sender: eliz AT is To: Olivier Perron cc: Olivier Perron , djgpp AT delorie DOT com Subject: Re: /dev/null problems with bash when rebuild from sources In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Fri, 2 Oct 1998, Olivier Perron wrote: > > (The bug is in the function `_truename' that is called by `stat': the > > version bundled with stock v2.01 didn't support /dev/foo names.) > > > Yes, but I do *have* the patched libc with the _truename *you* gave me a > couple of weeks ago when I had to rebuild bash ! > So, I'm completly lost ! You cannot be *completely* lost, since you still have a debugger to see which library function fails here ;-). Are you using the patched libc from Nate's site? If not, get it and try linking Bash with it. I might be wrong about `_truename' being the cause; this provblem was solved a long time ago, so I could forget. If the patched libc doesn't help, write a small test program that calls `stat' on "/dev/null" and see whether it succeeds (it works for me, but my libc.a is patched more than Nate's). If it fails, step into `stat' with a debugger and tell me what do you see. For all I know, you could have just discovered another bug.