Date: Fri, 13 Sep 2013 19:31:07 +0900 (JST) From: Hiroki Sato <hrs@FreeBSD.org> To: brde@optusnet.com.au Cc: svn-src-head@FreeBSD.org, svn-src-all@FreeBSD.org, src-committers@FreeBSD.org, bdrewery@FreeBSD.org Subject: Re: svn commit: r255486 - in head/lib/libc: gen sys Message-ID: <20130913.193107.442415180280716069.hrs@allbsd.org> In-Reply-To: <20130912222312.K1155@besplex.bde.org> References: <20130912.203612.1272738297998644471.hrs@allbsd.org> <5231A85E.5050802@FreeBSD.org> <20130912222312.K1155@besplex.bde.org>
next in thread | previous in thread | raw e-mail | index | archive | help
----Security_Multipart(Fri_Sep_13_19_31_07_2013_994)-- Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Bruce Evans <brde@optusnet.com.au> wrote in <20130912222312.K1155@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 ----Security_Multipart(Fri_Sep_13_19_31_07_2013_994)-- Content-Type: application/pgp-signature Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.13 (FreeBSD) iEYEABECAAYFAlIy6WsACgkQTyzT2CeTzy2nqACgxSZ9F2ZTUbfmmHSdJ6nHjAeS N9UAoLuevbIzepH36JjndEwoSKzWrBoi =u3Jw -----END PGP SIGNATURE----- ----Security_Multipart(Fri_Sep_13_19_31_07_2013_994)----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20130913.193107.442415180280716069.hrs>