From aab0963999b40fac0b8df76a889097e8bd703e1f Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Fri, 20 Oct 2000 06:16:38 +0000 Subject: [PATCH] Update. 2000-10-19 Ulrich Drepper * locales/iso14651_t1: Handle Macedonian correctly. Patch by Damjan . --- include/string.h | 6 ++++++ localedata/ChangeLog | 5 +++++ sysdeps/unix/sysv/linux/alpha/semctl.c | 8 ++++---- sysdeps/unix/sysv/linux/powerpc/syscalls.list | 1 + 4 files changed, 16 insertions(+), 4 deletions(-) diff --git a/include/string.h b/include/string.h index 9ccea02ad3..d27a8ebfa2 100644 --- a/include/string.h +++ b/include/string.h @@ -17,6 +17,12 @@ extern int __strncasecmp (__const char *__s1, __const char *__s2, size_t __n) __attribute_pure__; +extern int __strcasecmp (__const char *__s1, __const char *__s2) + __attribute_pure__; + +extern char *__strcasestr (__const char *__haystack, __const char *__needle) + __attribute_pure__; + extern char *__strdup (__const char *__string) __attribute_malloc__; extern char *__strndup (__const char *__string, size_t __n) diff --git a/localedata/ChangeLog b/localedata/ChangeLog index 041a576443..1249dd4348 100644 --- a/localedata/ChangeLog +++ b/localedata/ChangeLog @@ -1,3 +1,8 @@ +2000-10-19 Ulrich Drepper + + * locales/iso14651_t1: Handle Macedonian correctly. + Patch by Damjan . + 2000-10-06 Ulrich Drepper * locales/iso14651_t1: Add currency symbols. diff --git a/sysdeps/unix/sysv/linux/alpha/semctl.c b/sysdeps/unix/sysv/linux/alpha/semctl.c index 48bc2d45cf..ea1a1e4d71 100644 --- a/sysdeps/unix/sysv/linux/alpha/semctl.c +++ b/sysdeps/unix/sysv/linux/alpha/semctl.c @@ -73,7 +73,7 @@ __new_semctl (int semid, int semnum, int cmd, ...) #if __ASSUME_32BITUIDS > 0 return INLINE_SYSCALL (semctl, 4, semid, semnum, cmd | __IPC_64, - CHECK_SEMCTL (&arg, semid, cmd | __IPC_64)); + CHECK_SEMCTL (&arg, semid, cmd | __IPC_64)->array); #else switch (cmd) { case SEM_STAT: @@ -82,7 +82,7 @@ __new_semctl (int semid, int semnum, int cmd, ...) break; default: return INLINE_SYSCALL (semctl, 4, semid, semnum, cmd, - CHECK_SEMCTL (&arg, semid, cmd)); + CHECK_SEMCTL (&arg, semid, cmd)->array); } { @@ -93,7 +93,7 @@ __new_semctl (int semid, int semnum, int cmd, ...) /* Unfortunately there is no way how to find out for sure whether we should use old or new semctl. */ result = INLINE_SYSCALL (semctl, 4, semid, semnum, cmd | __IPC_64, - CHECK_SEMCTL (&arg, semid, cmd | __IPC_64)); + CHECK_SEMCTL (&arg, semid, cmd | __IPC_64)->array); if (result != -1 || errno != EINVAL) return result; @@ -113,7 +113,7 @@ __new_semctl (int semid, int semnum, int cmd, ...) } } result = INLINE_SYSCALL (semctl, 4, semid, semnum, cmd, - CHECK_SEMCTL (&arg, semid, cmd)); + CHECK_SEMCTL (&arg, semid, cmd)->array); if (result != -1 && cmd != IPC_SET) { memset(buf, 0, sizeof(*buf)); diff --git a/sysdeps/unix/sysv/linux/powerpc/syscalls.list b/sysdeps/unix/sysv/linux/powerpc/syscalls.list index b047feb195..7532b9c8fe 100644 --- a/sysdeps/unix/sysv/linux/powerpc/syscalls.list +++ b/sysdeps/unix/sysv/linux/powerpc/syscalls.list @@ -13,6 +13,7 @@ rt_sigqueueinfo - rt_sigqueueinfo i:iip __syscall_rt_sigqueueinfo rt_sigsuspend - rt_sigsuspend i:pi __syscall_rt_sigsuspend rt_sigtimedwait - rt_sigtimedwait i:pppi __syscall_rt_sigtimedwait s_fcntl fcntl fcntl i:iiF __syscall_fcntl +s_fcntl64 fcntl64 fcntl64 i:iiF __syscall_fcntl64 s_fstat64 fxstat64 fstat64 i:ip __syscall_fstat64 s_ftruncate64 ftruncate64 ftruncate64 i:iii __syscall_ftruncate64 s_getcwd getcwd getcwd i:pi __syscall_getcwd -- 2.43.5