+2001-10-04 Ben Collins <bcollins@debian.org>
+
+ * sysdeps/generic/inttypes.h: Fix typo (define, not defined) in
+ decleration of __need_wchar_t.
+
+2001-10-03 Jakub Jelinek <jakub@redhat.com>
+
+ * string/bits/string2.h (__strsep_g): Add prototype.
+ (__strsep): Use it.
+ * string/Versions (__strsep): Remove.
+ * sysdeps/generic/strsep.c (__strsep_g): Add alias to __strsep.
+
+2001-10-07 Ulrich Drepper <drepper@redhat.com>
+
+ * manua/llio.texi: Clarify file references added by mmap.
+ Patch by Marcus Brinkmann <Marcus.Brinkmann@ruhr-uni-bochum.de>.
+
2001-09-29 Jes Sorensen <jes@trained-monkey.org>
* sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h (struct sigcontext):
+2001-10-05 Kevin Buettner <kevinb@cygnus.com>
+
+ * pthread.c (__linuxthread_pthread_sizeof_descr): Change name
+ to __linuxthreads_pthread_sizeof_descr to match name used by
+ symbol_list_arr[LINUXTHREADS_PTHREAD_SIZEOF_DESCR] in
+ linuxthreads_db/td_symbol_list.c.
+
2001-09-22 Andreas Jaeger <aj@suse.de>
* linuxthreads/tst-context.c: Avoid compile warning.
h_descr);
const int __pthread_offsetof_pid = offsetof(struct _pthread_descr_struct,
p_pid);
-const int __linuxthread_pthread_sizeof_descr
+const int __linuxthreads_pthread_sizeof_descr
= sizeof(struct _pthread_descr_struct);
/* Forward declarations */
The @code{mmap} function creates a new mapping, connected to bytes
(@var{offset}) to (@var{offset} + @var{length} - 1) in the file open on
-@var{filedes}.
+@var{filedes}. A new reference for the file specified by @var{filedes}
+is created, which is not removed by closing the file.
@var{address} gives a preferred starting address for the mapping.
@code{NULL} expresses no preference. Any previous mapping at that
# m*
memrchr;
}
- GLIBC_2.2.5 {
- __strsep;
- }
}
#if !defined _HAVE_STRING_ARCH_strsep || defined _FORCE_INLINES
# ifndef _HAVE_STRING_ARCH_strsep
+
+extern char *__strsep_g (char **__stringp, __const char *__delim);
# define __strsep(s, reject) \
__extension__ \
({ char __r0, __r1, __r2; \
? __strsep_2c (s, __r0, __r1) \
: (((__const char *) (reject))[3] == '\0' \
? __strsep_3c (s, __r0, __r1, __r2) \
- : __strsep (s, reject)))) \
- : __strsep (s, reject)); })
+ : __strsep_g (s, reject)))) \
+ : __strsep_g (s, reject)); })
# endif
__STRING_INLINE char *__strsep_1c (char **__s, char __reject);
# elif defined __WCHAR_TYPE__
typedef __WCHAR_TYPE__ __gwchar_t;
# else
-# defined __need_wchar_t
+# define __need_wchar_t
# include <stddef.h>
typedef wchar_t __gwchar_t;
# endif
return begin;
}
weak_alias (__strsep, strsep)
+strong_alias (__strsep, __strsep_g)