diff options
author | Ulrich Drepper <drepper@redhat.com> | 1998-04-08 23:35:13 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 1998-04-08 23:35:13 +0000 |
commit | 8d88d9f8aa759acc1d0b3919fa6080bb35b0f991 (patch) | |
tree | dfa02b19a5e2b5fe12e9b1c2a6870457682a25d4 /stdlib | |
parent | 2ad4fab214b13af85237b9e836c525e9ce3e7fb6 (diff) | |
download | glibc-8d88d9f8aa759acc1d0b3919fa6080bb35b0f991.tar glibc-8d88d9f8aa759acc1d0b3919fa6080bb35b0f991.tar.gz glibc-8d88d9f8aa759acc1d0b3919fa6080bb35b0f991.tar.bz2 glibc-8d88d9f8aa759acc1d0b3919fa6080bb35b0f991.zip |
Update.
1998-04-08 Ulrich Drepper <drepper@cygnus.com>
* login/utmp_file.c: use __ftruncate not ftruncate.
* sysdeps/unix/common/syscalls.list: Add __ftruncate as real name
for system call and make ftruncate weak alias.
* posix/unistd.h: Add prototype for __ftruncate.
* login/utmp_daemon.c (open_socket): Use __socket not socket.
* nscd/nscd_getpw_r.c (__nscd_getpw_r): use __snprintf and __readv
instead of snprintf and readv.
* nscd/nscd_getgr_r.c (__nscd_getgr_r): Use __snprintf not
snprintf.
* stdlib/strtod.c: Call strtoull/wcstoull's internal functions
directly.
Diffstat (limited to 'stdlib')
-rw-r--r-- | stdlib/strtod.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/stdlib/strtod.c b/stdlib/strtod.c index ad3bcd1117..55feca8555 100644 --- a/stdlib/strtod.c +++ b/stdlib/strtod.c @@ -103,14 +103,14 @@ # define ISXDIGIT(Ch) __iswxdigit_l ((Ch), loc) # define TOLOWER(Ch) __towlower_l ((Ch), loc) # define STRNCASECMP(S1, S2, N) __wcsncasecmp_l ((S1), (S2), (N), loc) -# define STRTOULL(S, E, B) __wcstoull_l ((S), (E), (B), loc) +# define STRTOULL(S, E, B) ____wcstoull_l_internal ((S), (E), (B), 0, loc) # else # define ISSPACE(Ch) iswspace (Ch) # define ISDIGIT(Ch) iswdigit (Ch) # define ISXDIGIT(Ch) iswxdigit (Ch) # define TOLOWER(Ch) towlower (Ch) # define STRNCASECMP(S1, S2, N) __wcsncasecmp ((S1), (S2), (N)) -# define STRTOULL(S, E, B) wcstoull ((S), (E), (B)) +# define STRTOULL(S, E, B) __wcstoull_internal ((S), (E), (B), 0) # endif #else # define STRING_TYPE char @@ -122,14 +122,14 @@ # define ISXDIGIT(Ch) __isxdigit_l ((Ch), loc) # define TOLOWER(Ch) __tolower_l ((Ch), loc) # define STRNCASECMP(S1, S2, N) __strncasecmp_l ((S1), (S2), (N), loc) -# define STRTOULL(S, E, B) __strtoull_l ((S), (E), (B), loc) +# define STRTOULL(S, E, B) ____strtoull_l_internal ((S), (E), (B), 0, loc) # else # define ISSPACE(Ch) isspace (Ch) # define ISDIGIT(Ch) isdigit (Ch) # define ISXDIGIT(Ch) isxdigit (Ch) # define TOLOWER(Ch) tolower (Ch) # define STRNCASECMP(S1, S2, N) __strncasecmp ((S1), (S2), (N)) -# define STRTOULL(S, E, B) strtoull ((S), (E), (B)) +# define STRTOULL(S, E, B) __strtoull_internal ((S), (E), 0, (B)) # endif #endif |