]> sourceware.org Git - glibc.git/commitdiff
Update. cvs/glibc-2_0_101 glibc-2.0.101
authorUlrich Drepper <drepper@redhat.com>
Fri, 13 Nov 1998 15:05:05 +0000 (15:05 +0000)
committerUlrich Drepper <drepper@redhat.com>
Fri, 13 Nov 1998 15:05:05 +0000 (15:05 +0000)
* stdio-common/vfscanf.c: Return EOF for invalid format
characters.

1998-11-13  Philip Blundell  <philb@gnu.org>

* sysdeps/arm/fpu/bits/setjmp.h (__JMP_BUF_SP): Correct value.
Reported by Scott Bambrough.

ChangeLog
stdio-common/vfscanf.c
sysdeps/arm/fpu/bits/setjmp.h

index d1704532a0c555bb5fe687f7546bb806be2da5f7..bdc8530bf47bf4015e5b3cd69cb676dfffa77d25 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,11 +1,19 @@
 1998-11-13  Ulrich Drepper  <drepper@cygnus.com>
 
+       * stdio-common/vfscanf.c: Return EOF for invalid format
+       characters.
+
        * version.h (VERSION): Bump to 2.0.101.
 
        * Makerules (Versions.all): Generate this file from all Versions.def
        files.
        (sysd-versions): Use Versions.all instead of Versions.def.
 
+1998-11-13  Philip Blundell  <philb@gnu.org>
+
+       * sysdeps/arm/fpu/bits/setjmp.h (__JMP_BUF_SP): Correct value.
+       Reported by Scott Bambrough.
+
 1998-11-11  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
 
        * locale/programs/config.h: Define HAVE_STRING_H for xstrdup.c.
index ec4a264d6591288b6ea43c0cb210ca132b4d6f37..d2302dd9a2dcef02e49185058690f901667a9d67 100644 (file)
                          __libc_cleanup_end (0);                             \
                          return EOF;                                         \
                        } while (0)
+# define fmt_error()   do {                                                  \
+                         _IO_funlockfile (s);                                \
+                         __libc_cleanup_end (0);                             \
+                         return EOF;                                         \
+                       } while (0)
 # define ARGCHECK(s, format)                                                 \
   do                                                                         \
     {                                                                        \
                          __set_errno (ENOMEM);                               \
                          return EOF;                                         \
                        } while (0)
+# define fmt_error()   do {                                                  \
+                         funlockfile (s);                                    \
+                         return EOF;                                         \
+                       } while (0)
 # define ARGCHECK(s, format)                                                 \
   do                                                                         \
     {                                                                        \
@@ -1247,6 +1256,10 @@ __vfscanf (FILE *s, const char *format, va_list argptr)
          number_signed = 0;
          read_pointer = 1;
          goto number;
+
+       default:
+         /* If this is an unknown format character punt.  */
+         fmt_error ();
        }
     }
 
index 895356fe0a6d0f5d77bd98666c6df44a99deddd9..a9fb9f32b32ffd169f0986dc7e828f5cd8c51515 100644 (file)
@@ -28,7 +28,7 @@
 typedef int __jmp_buf[22];
 #endif
 
-#define __JMP_BUF_SP           8
+#define __JMP_BUF_SP           20
 
 /* Test if longjmp to JMPBUF would unwind the frame
    containing a local variable at ADDRESS.  */
This page took 0.053191 seconds and 5 git commands to generate.