[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
>This patch, plus the one just posted to newlib@, are required for my
>next patch, a getconf(1) implementation.

>2011-07-18  Yaakov Selkowitz  <yselkowitz@users.sourceforge.net>
>	* sysconf.cc (sca): Return -1 for _SC_THREAD_ROBUST_PRIO_INHERIT,
>	(SC_MAX): Redefine accordingly.
>	(csa): Return strings for _CS_POSIX_V7_THREADS_CFLAGS,
>	(CS_MAX): Redefine accordingly.
>	* include/limits.h (LONG_BIT): Define.
>	(WORD_BIT): Define.

Looks good.  Please check in.



More information about the Cygwin-patches mailing list