[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: writing zero bytes in bash
- From: Alexandre Oliva <aoliva redhat com>
- To: Russell Coker <russell coker com au>
- Cc: Mihai Maties <mihai xcyb org>, fedora-devel-list redhat com, SE-Linux <selinux tycho nsa gov>
- Subject: Re: writing zero bytes in bash
- Date: 26 Feb 2005 16:28:41 -0300
On Feb 26, 2005, Russell Coker <russell coker com au> wrote:
> Actually I am not asking for a feature to be added, but for a feature to be
> removed. There is special-case code in bash if(size >0) write() and I am
> merely suggesting that the if statement be removed.
Have you considered that it might just be writing to a FILE*, and that
it's the stdio subsystem that's deciding it doesn't need to write
anything at close() time because nothing was actually written?
--
Alexandre Oliva http://www.ic.unicamp.br/~oliva/
Red Hat Compiler Engineer aoliva {redhat com, gcc.gnu.org}
Free Software Evangelist oliva {lsd ic unicamp br, gnu.org}
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]