From a1303dc8dc57dbcd4605992dc177d11ae4d45aab Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Thu, 6 Apr 2000 05:04:50 +0000 Subject: Update. 2000-04-05 Cristian Gafton * ctype/ctype.h (__isctype_l): Define even if not __OPTIMIZE__ because it is used in generic code. * wctype/wctrans.c: Define __ctype32_toupper and __ctype32_tolower. * wcsmbs/wcwidth.h: Declare __ctype32_b. * intl/gettext.c: Include . * intl/ngettext.c: Likewise. 2000-04-05 Jakub Jelinek * resolv/inet_ntop.c (inet_ntop4, inet_ntop6, inet_ntop): Use socklen_t type for size. * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Rewrite for new init function interface. * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise. * sysdeps/unix/sysv/linux/sparc/bits/setjmp.h: Don't include sys/ucontext.h. (__jmp_buf): Declare the whole type structure here, don't use ucontext. * iconv/skeleton.c (put16u): Fix typo. Reported by Bruno Haible . --- iconv/skeleton.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'iconv') diff --git a/iconv/skeleton.c b/iconv/skeleton.c index 4a1c7554bf..27b1cab234 100644 --- a/iconv/skeleton.c +++ b/iconv/skeleton.c @@ -168,7 +168,7 @@ static int to_object; # define put16u(addr, val) \ ({ uint16_t __val = (val); \ ((unsigned char *) (addr))[1] = __val; \ - ((unsigned char *) (addr))[2] = __val >> 8; \ + ((unsigned char *) (addr))[0] = __val >> 8; \ (void) 0; }) # define put32u(addr, val) \ ({ uint32_t __val = (val); \ -- cgit v1.2.3