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

Re: writing zero bytes in bash



On Sunday 27 February 2005 05:21, Féliciano Matias <feliciano matias 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


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