2005-08-23 Paul Eggert <eggert@cs.ucla.edu>
- * srclist.txt: Add glibc bugs 1231, 1232.
+ * srclist.txt: Add glibc bugs 1231-1233.
2005-08-20 Paul Eggert <eggert@cs.ucla.edu>
-# $Id: srclist.txt,v 1.80 2005-08-23 19:11:46 eggert Exp $
+# $Id: srclist.txt,v 1.81 2005-08-23 20:37:24 eggert Exp $
# Files for which we are not the source. See ./srclistvars.sh for the
# variable definitions.
# http://sources.redhat.com/bugzilla/show_bug.cgi?id=1207
# http://sources.redhat.com/bugzilla/show_bug.cgi?id=1222
# http://sources.redhat.com/bugzilla/show_bug.cgi?id=1232
+# http://sources.redhat.com/bugzilla/show_bug.cgi?id=1233
#$LIBCSRC/posix/regex.h lib gpl
#
# http://sources.redhat.com/bugzilla/show_bug.cgi?id=1215
2005-08-23 Paul Eggert <eggert@cs.ucla.edu>
+ * regex.h (REG_NOSYS)
+ [!defined _XOPEN_SOURCE && 200112L <= _POSIX_C_SOURCE]:
+ Define, since POSIX requires it as of 2001.
+ (_REG_ENOSYS) [! (defined _XOPEN_SOURCE || 200112L <= _POSIX_C_SOURCE)]:
+ New private symbol, used to keep the enum signed in all cases.
* regex.h (RE_NO_EMPTY_RANGES): Fix doc bug reported by James Youngman
in <http://lists.gnu.org/archive/html/bug-gnulib/2005-07/msg00132.html>.
`re_error_msg' table in regex.c. */
typedef enum
{
-#ifdef _XOPEN_SOURCE
+#if defined _XOPEN_SOURCE || 200112L <= _POSIX_C_SOURCE
REG_ENOSYS = -1, /* This will never happen for this implementation. */
+#else
+ _REG_ENOSYS = -1, /* This is so that reg_errcode_t is always signed. */
#endif
REG_NOERROR = 0, /* Success. */