svn commit: r255486 - in head/lib/libc: gen sys

Hiroki Sato hrs at FreeBSD.org
Fri Sep 13 10:31:36 UTC 2013


Bruce Evans <brde at optusnet.com.au> wrote
  in <20130912222312.K1155 at besplex.bde.org>:

br> > On 9/12/2013 6:36 AM, Hiroki Sato wrote:
br> >>  I think this kind of changes need a consensus because several POSIX
br> >>  functions use "filedes" in the specification document.  r254484 by
br> >>  pjd was a similar change (s/type/af/ in gethostbyaddr()).
br> >>
br> >>  In SUSv4, fdopen() uses "filedes" and openat() uses "fd", for
br> >>  example.  Consistency throughout our manual pages is generally good.
br> >>  However, I also see the benefit of using the same expression as the
br> >>  specification even if it is inconsistent.  What do you think?
br>
br> Does it really use "filedes"?  POSIX still never uses this in the 2007
br> draft (austin-d2r.pdf).  It uses "fildes" for fdopen(), but "fd" for
br> fdopendir() and openat().  It still uses "fd" for posix_fadvise() and
br> posix_fallocate().  I now think that the "fd"s in POSIX are just
br> style bugs.  The normal "fildes" had only rotted to "fd" in 2 places
br> in 2001, but rotted much further in 2007.

 No, it was fildes, not filedes, as you pointed out.  It seems that my
 fingers preferred "e" over "d" after "fil"...

-- Hiroki
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/svn-src-head/attachments/20130913/46cd7e74/attachment.sig>


More information about the svn-src-head mailing list