This is the mail archive of the cygwin-patches mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] update sysconf, confstr, limits


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]