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: limits.h missing constants


> 2006-04-15  Eric Blake  <ebb9@byu.net>
> 
> 	* include/limits.h (_POSIX_*, _POSIX2_*, _XOPEN_*): Define missing
> 	standard constants, and correct invalid ones.
> 	(CHARCLASS_NAME_MAX): Define.
> 	(SYMLOOP_MAX): Define.
> 	* path.h (MAX_LINK_DEPTH): Define in terms of SYMLOOP_MAX.
> 	* regex/regcomp.c (p_b_cclass): Limit length of char class name.

Oops - wrong version of the patch (path.h needs to include limits.h
as in this corrected version, for SYMLOOP_MAX to work).

Also, if you want to double-check my limits.h values, see
http://www.opengroup.org/onlinepubs/009695399/basedefs/limits.h.html#tag_13_24

-- 
Eric Blake

Attachment: cygwin.patch
Description: Binary data


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