mirror of git://sourceware.org/git/glibc.git
Update.
2004-03-24 Ulrich Drepper <drepper@redhat.com> * stdio-common/vfscanf.c [!COMPILE_WSCANF] (TOLOWER): Cast first parameter to unsigned char. * sysdeps/generic/strcasestr.c [_LIBC] (TOLOWER): Likewise.
This commit is contained in:
parent
9ce0ecbe38
commit
68dc4dcbdd
|
|
@ -1,3 +1,9 @@
|
||||||
|
2004-03-24 Ulrich Drepper <drepper@redhat.com>
|
||||||
|
|
||||||
|
* stdio-common/vfscanf.c [!COMPILE_WSCANF] (TOLOWER): Cast first
|
||||||
|
parameter to unsigned char.
|
||||||
|
* sysdeps/generic/strcasestr.c [_LIBC] (TOLOWER): Likewise.
|
||||||
|
|
||||||
2004-03-24 Jakub Jelinek <jakub@redhat.com>
|
2004-03-24 Jakub Jelinek <jakub@redhat.com>
|
||||||
|
|
||||||
* stdlib/strtod_l.c (INTERNAL (__STRTOF)): Clear the rest of retval,
|
* stdlib/strtod_l.c (INTERNAL (__STRTOF)): Clear the rest of retval,
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,8 @@
|
||||||
2004-03-24 Ulrich Drepper <drepper@redhat.com>
|
2004-03-24 Ulrich Drepper <drepper@redhat.com>
|
||||||
|
|
||||||
|
* sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
|
||||||
|
(lll_mutex_cond_trylock): Define as wrapper around __lll_cond_trylock.
|
||||||
|
|
||||||
* sysdeps/unix/sysv/linux/getpid.c (really_getpid): Reorganize
|
* sysdeps/unix/sysv/linux/getpid.c (really_getpid): Reorganize
|
||||||
code to avoid warning.
|
code to avoid warning.
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -101,7 +101,7 @@
|
||||||
#define lll_mutex_trylock(lock) __lll_trylock (&(lock))
|
#define lll_mutex_trylock(lock) __lll_trylock (&(lock))
|
||||||
|
|
||||||
/* Set *futex to 2 if it is 0, atomically. Returns the old value */
|
/* Set *futex to 2 if it is 0, atomically. Returns the old value */
|
||||||
#define lll_mutex_cond_trylock(futex) \
|
#define __lll_cond_trylock(futex) \
|
||||||
({ int __val; \
|
({ int __val; \
|
||||||
__asm __volatile ("1: lwarx %0,0,%2\n" \
|
__asm __volatile ("1: lwarx %0,0,%2\n" \
|
||||||
" cmpwi 0,%0,0\n" \
|
" cmpwi 0,%0,0\n" \
|
||||||
|
|
@ -114,6 +114,7 @@
|
||||||
: "cr0", "memory"); \
|
: "cr0", "memory"); \
|
||||||
__val; \
|
__val; \
|
||||||
})
|
})
|
||||||
|
#define lll_mutex_cond_trylock(lock) __lll_cond_trylock (&(lock))
|
||||||
|
|
||||||
|
|
||||||
extern void __lll_lock_wait (int *futex) attribute_hidden;
|
extern void __lll_lock_wait (int *futex) attribute_hidden;
|
||||||
|
|
|
||||||
|
|
@ -119,7 +119,7 @@
|
||||||
# define ISSPACE(Ch) __isspace_l (Ch, loc)
|
# define ISSPACE(Ch) __isspace_l (Ch, loc)
|
||||||
# define ISDIGIT(Ch) __isdigit_l (Ch, loc)
|
# define ISDIGIT(Ch) __isdigit_l (Ch, loc)
|
||||||
# define ISXDIGIT(Ch) __isxdigit_l (Ch, loc)
|
# define ISXDIGIT(Ch) __isxdigit_l (Ch, loc)
|
||||||
# define TOLOWER(Ch) __tolower_l (Ch, loc)
|
# define TOLOWER(Ch) __tolower_l ((unsigned char) (Ch), loc)
|
||||||
# define ORIENT if (_IO_vtable_offset (s) == 0 \
|
# define ORIENT if (_IO_vtable_offset (s) == 0 \
|
||||||
&& _IO_fwide (s, -1) != -1) \
|
&& _IO_fwide (s, -1) != -1) \
|
||||||
return EOF
|
return EOF
|
||||||
|
|
|
||||||
|
|
@ -38,7 +38,7 @@
|
||||||
|
|
||||||
#ifdef _LIBC
|
#ifdef _LIBC
|
||||||
# include <locale/localeinfo.h>
|
# include <locale/localeinfo.h>
|
||||||
# define TOLOWER(c) __tolower_l (c, loc)
|
# define TOLOWER(c) __tolower_l ((unsigned char) c, loc)
|
||||||
#else
|
#else
|
||||||
# define TOLOWER(c) _tolower (c)
|
# define TOLOWER(c) _tolower (c)
|
||||||
#endif
|
#endif
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue