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>.
This commit is contained in:
Ulrich Drepper 2001-10-07 20:26:31 +00:00
parent c47e78b10f
commit b61345a1ad
8 changed files with 33 additions and 8 deletions

View File

@ -1,3 +1,20 @@
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> 2001-09-29 Jes Sorensen <jes@trained-monkey.org>
* sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h (struct sigcontext): * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h (struct sigcontext):

View File

@ -1,3 +1,10 @@
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> 2001-09-22 Andreas Jaeger <aj@suse.de>
* linuxthreads/tst-context.c: Avoid compile warning. * linuxthreads/tst-context.c: Avoid compile warning.

View File

@ -211,7 +211,7 @@ const int __pthread_offsetof_descr = offsetof(struct pthread_handle_struct,
h_descr); h_descr);
const int __pthread_offsetof_pid = offsetof(struct _pthread_descr_struct, const int __pthread_offsetof_pid = offsetof(struct _pthread_descr_struct,
p_pid); p_pid);
const int __linuxthread_pthread_sizeof_descr const int __linuxthreads_pthread_sizeof_descr
= sizeof(struct _pthread_descr_struct); = sizeof(struct _pthread_descr_struct);
/* Forward declarations */ /* Forward declarations */

View File

@ -1153,7 +1153,8 @@ These functions are declared in @file{sys/mman.h}.
The @code{mmap} function creates a new mapping, connected to bytes 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{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. @var{address} gives a preferred starting address for the mapping.
@code{NULL} expresses no preference. Any previous mapping at that @code{NULL} expresses no preference. Any previous mapping at that

View File

@ -73,7 +73,4 @@ libc {
# m* # m*
memrchr; memrchr;
} }
GLIBC_2.2.5 {
__strsep;
}
} }

View File

@ -1087,6 +1087,8 @@ __strtok_r_1c (char *__s, char __sep, char **__nextp)
#if !defined _HAVE_STRING_ARCH_strsep || defined _FORCE_INLINES #if !defined _HAVE_STRING_ARCH_strsep || defined _FORCE_INLINES
# ifndef _HAVE_STRING_ARCH_strsep # ifndef _HAVE_STRING_ARCH_strsep
extern char *__strsep_g (char **__stringp, __const char *__delim);
# define __strsep(s, reject) \ # define __strsep(s, reject) \
__extension__ \ __extension__ \
({ char __r0, __r1, __r2; \ ({ char __r0, __r1, __r2; \
@ -1100,8 +1102,8 @@ __strtok_r_1c (char *__s, char __sep, char **__nextp)
? __strsep_2c (s, __r0, __r1) \ ? __strsep_2c (s, __r0, __r1) \
: (((__const char *) (reject))[3] == '\0' \ : (((__const char *) (reject))[3] == '\0' \
? __strsep_3c (s, __r0, __r1, __r2) \ ? __strsep_3c (s, __r0, __r1, __r2) \
: __strsep (s, reject)))) \ : __strsep_g (s, reject)))) \
: __strsep (s, reject)); }) : __strsep_g (s, reject)); })
# endif # endif
__STRING_INLINE char *__strsep_1c (char **__s, char __reject); __STRING_INLINE char *__strsep_1c (char **__s, char __reject);

View File

@ -34,7 +34,7 @@
# elif defined __WCHAR_TYPE__ # elif defined __WCHAR_TYPE__
typedef __WCHAR_TYPE__ __gwchar_t; typedef __WCHAR_TYPE__ __gwchar_t;
# else # else
# defined __need_wchar_t # define __need_wchar_t
# include <stddef.h> # include <stddef.h>
typedef wchar_t __gwchar_t; typedef wchar_t __gwchar_t;
# endif # endif

View File

@ -66,3 +66,4 @@ __strsep (char **stringp, const char *delim)
return begin; return begin;
} }
weak_alias (__strsep, strsep) weak_alias (__strsep, strsep)
strong_alias (__strsep, __strsep_g)