[PATCH] update sysconf, confstr, limits
Christopher Faylor
cgf-use-the-mailinglist-please@cygwin.com
Mon Jul 18 22:59:00 GMT 2011
On Mon, Jul 18, 2011 at 05:26:51PM -0500, Yaakov (Cygwin/X) wrote:
>This patch adds return values for recent additions to sysconf() and
>confstr(), and adds a couple of missing <limits.h> defines required by
>POSIX.
>
>This patch, plus the one just posted to newlib@, are required for my
>next patch, a getconf(1) implementation.
>
>
>Yaakov
>Cygwin/X
>
>2011-07-18 Yaakov Selkowitz <yselkowitz@users.sourceforge.net>
>
> * sysconf.cc (sca): Return -1 for _SC_THREAD_ROBUST_PRIO_INHERIT,
> _SC_THREAD_ROBUST_PRIO_PROTECT, and _SC_XOPEN_UUCP.
> (SC_MAX): Redefine accordingly.
> (csa): Return strings for _CS_POSIX_V7_THREADS_CFLAGS,
> _CS_POSIX_V7_THREADS_LDFLAGS, and _CS_V7_ENV.
> (CS_MAX): Redefine accordingly.
> * include/limits.h (LONG_BIT): Define.
> (WORD_BIT): Define.
Looks good. Please check in.
Thanks.
cgf
More information about the Cygwin-patches
mailing list