delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/10/01/14:17:54

Date: Thu, 1 Oct 1998 21:17:53 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: Olivier Perron <olivier DOT perron AT art DOT alcatel DOT fr>
cc: djgpp AT delorie DOT com
Subject: Re: /dev/null problems with bash when rebuild from sources
In-Reply-To: <36110C12.6BCE74B6@art.alcatel.fr>
Message-ID: <Pine.SUN.3.91.981001211736.18395R-100000@is>
MIME-Version: 1.0

On Tue, 29 Sep 1998, Olivier Perron wrote:

> With that version of bash, if I type: echo "foo" >/dev/null
> I have the following error: bash: /dev/null: No such file or directory
> (ENOENT)

This is a bug in stock v2.01 libc.a.  Get the patched libc (see the
FAQ for a URL), rebuild Bash, and this problem should go away.

(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.)

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019