about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@suse.de>2000-08-09 09:31:00 +0000
committerAndreas Schwab <schwab@suse.de>2000-08-09 09:31:00 +0000
commit1000d1e5bb16b0997a650f84c0605e1d2dc5f878 (patch)
tree0e1375c2036835b91723117b25d64e791b2f8e1a
parentbce0e5172b7dba29922f9af730c63229d96013e0 (diff)
downloadglibc-1000d1e5bb16b0997a650f84c0605e1d2dc5f878.tar.gz
glibc-1000d1e5bb16b0997a650f84c0605e1d2dc5f878.tar.xz
glibc-1000d1e5bb16b0997a650f84c0605e1d2dc5f878.zip
* stdio-common/vfprintf.c (vfprintf): Also set `is_long' if the
	long long modifier is seen.
-rw-r--r--ChangeLog3
-rw-r--r--stdio-common/vfprintf.c1
2 files changed, 4 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index f12214d527..7d8343fcd8 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2000-08-09  Andreas Schwab  <schwab@suse.de>
 
+	* stdio-common/vfprintf.c (vfprintf): Also set `is_long' if the
+	long long modifier is seen.
+
 	* elf/nodelete.c (do_test): Remove reference to undefined member
 	sa_restorer.
 	* rt/tst-aio4.c (do_test): Likewise.
diff --git a/stdio-common/vfprintf.c b/stdio-common/vfprintf.c
index c67af60988..216ab291fa 100644
--- a/stdio-common/vfprintf.c
+++ b/stdio-common/vfprintf.c
@@ -1471,6 +1471,7 @@ vfprintf (FILE *s, const CHAR_T *format, va_list ap)
 	 allowed to follow.  */
     LABEL (mod_longlong):
       is_long_double = 1;
+      is_long = 1;
       JUMP (*++f, step4_jumps);
 
     LABEL (mod_size_t):