bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: false --help vs. false --version


From: Jim Meyering
Subject: Re: false --help vs. false --version
Date: Thu, 03 Apr 2003 21:08:11 +0200

address@hidden (Paul Jarc) wrote:
> I wrote:
>> glibc 2.3.2, if that makes a diffference.
>
> It does: apparently, glibc 2.3.2 opens stdin, stdout, and stderr to
> /dev/null if they're not already open.  So by the time main() is
> called, they will always be open.

Thanks for investigating.
FWIW, you can still reproduce the behavior even with glibc 2.3.2:

  ./true --version > /dev/full
  ./true: write error: No space left on device
  [Exit 1]




reply via email to

[Prev in Thread] Current Thread [Next in Thread]