summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog2
-rw-r--r--posix/bug-regex13.c1
-rw-r--r--sysdeps/mach/hurd/bits/posix_opt.h18
3 files changed, 9 insertions, 12 deletions
diff --git a/ChangeLog b/ChangeLog
index a6f0b34117..bae9bd320d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
2002-12-01 Roland McGrath <roland@redhat.com>
+ * posix/bug-regex13.c: Include <string.h>.
+
* sysdeps/generic/libc-start.c (__libc_start_main): Do
DL_SYSDEP_OSCHECK here.
* sysdeps/unix/sysv/linux/init-first.c (init): Not here.
diff --git a/posix/bug-regex13.c b/posix/bug-regex13.c
index 5ff5adeba3..e6b0ca1ecf 100644
--- a/posix/bug-regex13.c
+++ b/posix/bug-regex13.c
@@ -23,6 +23,7 @@
#include <regex.h>
#include <stdio.h>
#include <stdlib.h>
+#include <string.h>
static struct
{
diff --git a/sysdeps/mach/hurd/bits/posix_opt.h b/sysdeps/mach/hurd/bits/posix_opt.h
index ae330d724f..326bebff7f 100644
--- a/sysdeps/mach/hurd/bits/posix_opt.h
+++ b/sysdeps/mach/hurd/bits/posix_opt.h
@@ -1,5 +1,5 @@
/* Define POSIX options for GNU/Hurd.
- Copyright (C) 1998,2000,01 Free Software Foundation, Inc.
+ Copyright (C) 1998,2000,2001,2002 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -42,26 +42,20 @@
#undef _POSIX_SYNCHRONIZED_IO
/* The fsync function is present. */
-#define _POSIX_FSYNC 1
+#define _POSIX_FSYNC 200112L
/* Mapping of files to memory is supported. */
-#define _POSIX_MAPPED_FILES 1
+#define _POSIX_MAPPED_FILES 200112L
/* Locking of ranges of memory is supported. */
-#define _POSIX_MEMLOCK_RANGE 1
+#define _POSIX_MEMLOCK_RANGE 200112L
/* Setting of memory protections is supported. */
-#define _POSIX_MEMORY_PROTECTION 1
+#define _POSIX_MEMORY_PROTECTION 200112L
/* POSIX.4 shared memory objects are supported (using regular files). */
#define _POSIX_SHARED_MEMORY_OBJECTS _POSIX_MAPPED_FILES
-/* Implementation supports `poll' function. */
-#define _POSIX_POLL 1
-
-/* Implementation supports `select' and `pselect' functions. */
-#define _POSIX_SELECT 1
-
/* Elements of the `c_cc' member of `struct termios' structure
can be disabled by using the value _POSIX_VDISABLE. */
#define _POSIX_VDISABLE ((unsigned char) -1)
@@ -80,6 +74,6 @@
#define _POSIX_SHELL 1
/* The `spawn' function family is supported. */
-#define _POSIX_SPAWN 200912L
+#define _POSIX_SPAWN 200112L
#endif /* bits/posix_opt.h */