mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-10 15:20:10 +00:00
Update.
* stdio-common/vfprintf.c (vfprintf): Don't implement special handling for long long if it is the same as long.
This commit is contained in:
parent
03197d4710
commit
0ae97dea38
@ -1,5 +1,8 @@
|
|||||||
1999-05-25 Ulrich Drepper <drepper@cygnus.com>
|
1999-05-25 Ulrich Drepper <drepper@cygnus.com>
|
||||||
|
|
||||||
|
* stdio-common/vfprintf.c (vfprintf): Don't implement special
|
||||||
|
handling for long long if it is the same as long.
|
||||||
|
|
||||||
* stdlib/strtol.c: Moved to ...
|
* stdlib/strtol.c: Moved to ...
|
||||||
* sysdeps/generic/strtol.c: ...here.
|
* sysdeps/generic/strtol.c: ...here.
|
||||||
* stdlib/strtoul.c: Moved to ...
|
* stdlib/strtoul.c: Moved to ...
|
||||||
|
@ -180,8 +180,12 @@ extern void __funlockfile (FILE *);
|
|||||||
} \
|
} \
|
||||||
while (0)
|
while (0)
|
||||||
|
|
||||||
/* For handling long_double and longlong we use the same flag. */
|
/* For handling long_double and longlong we use the same flag. If
|
||||||
#ifndef is_longlong
|
`long' and `long long' are effectively the same type define it to
|
||||||
|
zero. */
|
||||||
|
#if LONG_MAX == LONG_LONG_MAX
|
||||||
|
# define is_longlong 0
|
||||||
|
#else
|
||||||
# define is_longlong is_long_double
|
# define is_longlong is_long_double
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@ -1228,17 +1232,17 @@ vfprintf (FILE *s, const CHAR_T *format, va_list ap)
|
|||||||
JUMP (*++f, step4_jumps);
|
JUMP (*++f, step4_jumps);
|
||||||
|
|
||||||
LABEL (mod_size_t):
|
LABEL (mod_size_t):
|
||||||
is_longlong = sizeof (size_t) > sizeof (unsigned long int);
|
is_long_double = sizeof (size_t) > sizeof (unsigned long int);
|
||||||
is_long = sizeof (size_t) > sizeof (unsigned int);
|
is_long = sizeof (size_t) > sizeof (unsigned int);
|
||||||
JUMP (*++f, step4_jumps);
|
JUMP (*++f, step4_jumps);
|
||||||
|
|
||||||
LABEL (mod_ptrdiff_t):
|
LABEL (mod_ptrdiff_t):
|
||||||
is_longlong = sizeof (ptrdiff_t) > sizeof (unsigned long int);
|
is_long_double = sizeof (ptrdiff_t) > sizeof (unsigned long int);
|
||||||
is_long = sizeof (ptrdiff_t) > sizeof (unsigned int);
|
is_long = sizeof (ptrdiff_t) > sizeof (unsigned int);
|
||||||
JUMP (*++f, step4_jumps);
|
JUMP (*++f, step4_jumps);
|
||||||
|
|
||||||
LABEL (mod_intmax_t):
|
LABEL (mod_intmax_t):
|
||||||
is_longlong = sizeof (intmax_t) > sizeof (unsigned long int);
|
is_long_double = sizeof (intmax_t) > sizeof (unsigned long int);
|
||||||
is_long = sizeof (intmax_t) > sizeof (unsigned int);
|
is_long = sizeof (intmax_t) > sizeof (unsigned int);
|
||||||
JUMP (*++f, step4_jumps);
|
JUMP (*++f, step4_jumps);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user