bug-bash
[Top][All Lists]
Advanced

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

Re: minor bug in bash


From: Chet Ramey
Subject: Re: minor bug in bash
Date: Tue, 17 Jan 2012 22:18:00 -0500
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:8.0) Gecko/20111105 Thunderbird/8.0

On 1/17/12 10:05 PM, Zachary Miller wrote:
>> Thanks for the report.  As a practical matter, this doesn't present a
>> problem.  When writing to a regular file, with no special flags supplied
>> to open(), the only cases Posix says it can return fewer bytes than
>> specified are errors.
> 
> thank chet.  i figured that may be the case.  if you wouldn't mind, could you
> point me to where exactly that behavior is documented?

Sure.  That's how I read

http://pubs.opengroup.org/onlinepubs/9699919799/functions/write.html#tag_16_879


-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRU    chet@case.edu    http://cnswww.cns.cwru.edu/~chet/



reply via email to

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