Date: Tue, 12 Jan 1999 00:03:10 +1100 From: Bruce Evans <bde@zeta.org.au> To: cvs-all@FreeBSD.ORG, cvs-committers@FreeBSD.ORG, msmith@FreeBSD.ORG Subject: Re: cvs commit: src/include unistd.h Message-ID: <199901111303.AAA02776@godzilla.zeta.org.au>
next in thread | raw e-mail | index | archive | help
> Modified files: > include unistd.h > Log: > optreset is a POSIX extension, make it visible in POSIX_SOURCE scope. > Submitted by: Andrzej Bialecki <abial@nask.pl> This is completely wrong. _POSIX_SOURCE is for POSIX.1. Much messier ifdefs, which we don't attempt, are required for POSIX.2 and later versions. getopt() and most of the getopt() variables are in POSIX.2, but optreset seems to be in a later version. Your previous commit to this file only had wrong style. It places the declaration of optreset with the declaration of the getsubopt() variable instead of with the declaration of the other getopt() variables. Fixing this style bug would have given the same effect as the present commit, since the getopt() declarations are also incorrectly scoped. Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199901111303.AAA02776>