Re: kern/164793: 'write' system call violates POSIX standard

2012-02-15 Thread Nicolas Bourdaud
The following reply was made to PR standards/164793; it has been noted by GNATS. From: Nicolas Bourdaud To: Bruce Evans Cc: freebsd-gnats-sub...@freebsd.org, freebsd-bugs@FreeBSD.org Subject: Re: kern/164793: 'write' system call violates POSIX standard Date: Wed, 15 Feb 2012 14:1

Re: kern/164793: 'write' system call violates POSIX standard

2012-02-15 Thread Nicolas Bourdaud
On 05/02/2012 19:54, Bruce Evans wrote: > I think this is actually a bug in POSIX (XSI). Most programs aren't > prepared to deal with short writes, and returning an error like > truncate() is specified to is adequate. I disagree, I think that most programs that check that the write succeeded also

kern/164793: 'write' system call violates POSIX standard

2012-02-05 Thread Nicolas Bourdaud
;Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Feb 05 11:50:08 UTC 2012 >Closed-Date: >Last-Modified: >Originator: Nicolas Bourdaud >Release:FreeBSD 9.0-RELEASE >Organization: >Environment: GNU/kFreeBSD deb