mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-28 00:21:52 +03:00
Update.
2000-05-03 Ulrich Drepper <drepper@redhat.com> * string/bits/string2.h: Declare __strdup and __strndup if necessary. Reported by Bruno Haible. 2000-04-29 Bruno Haible <haible@clisp.cons.org> * manual/arith.texi: Remove @w from @itemize.
This commit is contained in:
@ -1,3 +1,12 @@
|
|||||||
|
2000-05-03 Ulrich Drepper <drepper@redhat.com>
|
||||||
|
|
||||||
|
* string/bits/string2.h: Declare __strdup and __strndup if necessary.
|
||||||
|
Reported by Bruno Haible.
|
||||||
|
|
||||||
|
2000-04-29 Bruno Haible <haible@clisp.cons.org>
|
||||||
|
|
||||||
|
* manual/arith.texi: Remove @w from @itemize.
|
||||||
|
|
||||||
2000-05-02 Andreas Jaeger <aj@suse.de>
|
2000-05-02 Andreas Jaeger <aj@suse.de>
|
||||||
|
|
||||||
* conform/data/tar.h-data: Add some checks for specific values.
|
* conform/data/tar.h-data: Add some checks for specific values.
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
2000-04-29 Bruno Haible <clisp.cons.org>
|
||||||
|
|
||||||
|
* join.c (pthread_exit): Use THREAD_GETMEM_NC instead of THREAD_GETMEM
|
||||||
|
for eventmask larger than 1 word.
|
||||||
|
|
||||||
2000-04-27 Ulrich Drepper <drepper@redhat.com>
|
2000-04-27 Ulrich Drepper <drepper@redhat.com>
|
||||||
|
|
||||||
* Versions [libpthread] (GLIBC_2.2): Add __pthread_initialize_minimal.
|
* Versions [libpthread] (GLIBC_2.2): Add __pthread_initialize_minimal.
|
||||||
|
@ -45,8 +45,8 @@ void pthread_exit(void * retval)
|
|||||||
uint32_t mask = __td_eventmask (TD_DEATH);
|
uint32_t mask = __td_eventmask (TD_DEATH);
|
||||||
|
|
||||||
if ((mask & (__pthread_threads_events.event_bits[idx]
|
if ((mask & (__pthread_threads_events.event_bits[idx]
|
||||||
| THREAD_GETMEM(self,
|
| THREAD_GETMEM_NC(self,
|
||||||
p_eventbuf.eventmask).event_bits[idx]))
|
p_eventbuf.eventmask.event_bits[idx])))
|
||||||
!= 0)
|
!= 0)
|
||||||
{
|
{
|
||||||
/* Yep, we have to signal the death. */
|
/* Yep, we have to signal the death. */
|
||||||
|
@ -1188,6 +1188,7 @@ __strsep_g (char **__s, __const char *__reject)
|
|||||||
|
|
||||||
# ifndef _HAVE_STRING_ARCH_strdup
|
# ifndef _HAVE_STRING_ARCH_strdup
|
||||||
|
|
||||||
|
extern char *__strdup (__const char *__string) __THROW __attribute_malloc__;
|
||||||
# define __strdup(s) \
|
# define __strdup(s) \
|
||||||
(__extension__ (__builtin_constant_p (s) && __string2_1bptr_p (s) \
|
(__extension__ (__builtin_constant_p (s) && __string2_1bptr_p (s) \
|
||||||
? (((__const char *) (s))[0] == '\0' \
|
? (((__const char *) (s))[0] == '\0' \
|
||||||
@ -1206,6 +1207,8 @@ __strsep_g (char **__s, __const char *__reject)
|
|||||||
|
|
||||||
# ifndef _HAVE_STRING_ARCH_strndup
|
# ifndef _HAVE_STRING_ARCH_strndup
|
||||||
|
|
||||||
|
extern char *__strndup (__const char *__string, size_t __n)
|
||||||
|
__THROW __attribute_malloc__;
|
||||||
# define __strndup(s, n) \
|
# define __strndup(s, n) \
|
||||||
(__extension__ (__builtin_constant_p (s) && __string2_1bptr_p (s) \
|
(__extension__ (__builtin_constant_p (s) && __string2_1bptr_p (s) \
|
||||||
? (((__const char *) (s))[0] == '\0' \
|
? (((__const char *) (s))[0] == '\0' \
|
||||||
|
Reference in New Issue
Block a user