writing zero bytes in bash

Russell Coker russell at coker.com.au
Sat Feb 26 21:50:21 UTC 2005


On Sunday 27 February 2005 05:21, Féliciano Matias <feliciano.matias at free.fr> 
wrote:
> Le samedi 26 février 2005 à 21:39 +1100, Russell Coker a écrit :
> > 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.
>
> Writing nothing is not writing ?

If that was the case then surely the VFS would catch it before it got as far 
as the proc file system.

-- 
http://www.coker.com.au/selinux/   My NSA Security Enhanced Linux packages
http://www.coker.com.au/bonnie++/  Bonnie++ hard drive benchmark
http://www.coker.com.au/postal/    Postal SMTP/POP benchmark
http://www.coker.com.au/~russell/  My home page




More information about the fedora-devel-list mailing list