Update.
* 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.
This commit is contained in:
parent
fb3d8ad658
commit
47b856a9ea
|
@ -1,11 +1,19 @@
|
||||||
1998-11-13 Ulrich Drepper <drepper@cygnus.com>
|
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.
|
* version.h (VERSION): Bump to 2.0.101.
|
||||||
|
|
||||||
* Makerules (Versions.all): Generate this file from all Versions.def
|
* Makerules (Versions.all): Generate this file from all Versions.def
|
||||||
files.
|
files.
|
||||||
(sysd-versions): Use Versions.all instead of Versions.def.
|
(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>
|
1998-11-11 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
|
||||||
|
|
||||||
* locale/programs/config.h: Define HAVE_STRING_H for xstrdup.c.
|
* locale/programs/config.h: Define HAVE_STRING_H for xstrdup.c.
|
||||||
|
|
|
@ -85,6 +85,11 @@
|
||||||
__libc_cleanup_end (0); \
|
__libc_cleanup_end (0); \
|
||||||
return EOF; \
|
return EOF; \
|
||||||
} while (0)
|
} while (0)
|
||||||
|
# define fmt_error() do { \
|
||||||
|
_IO_funlockfile (s); \
|
||||||
|
__libc_cleanup_end (0); \
|
||||||
|
return EOF; \
|
||||||
|
} while (0)
|
||||||
# define ARGCHECK(s, format) \
|
# define ARGCHECK(s, format) \
|
||||||
do \
|
do \
|
||||||
{ \
|
{ \
|
||||||
|
@ -129,6 +134,10 @@
|
||||||
__set_errno (ENOMEM); \
|
__set_errno (ENOMEM); \
|
||||||
return EOF; \
|
return EOF; \
|
||||||
} while (0)
|
} while (0)
|
||||||
|
# define fmt_error() do { \
|
||||||
|
funlockfile (s); \
|
||||||
|
return EOF; \
|
||||||
|
} while (0)
|
||||||
# define ARGCHECK(s, format) \
|
# define ARGCHECK(s, format) \
|
||||||
do \
|
do \
|
||||||
{ \
|
{ \
|
||||||
|
@ -1247,6 +1256,10 @@ __vfscanf (FILE *s, const char *format, va_list argptr)
|
||||||
number_signed = 0;
|
number_signed = 0;
|
||||||
read_pointer = 1;
|
read_pointer = 1;
|
||||||
goto number;
|
goto number;
|
||||||
|
|
||||||
|
default:
|
||||||
|
/* If this is an unknown format character punt. */
|
||||||
|
fmt_error ();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -28,7 +28,7 @@
|
||||||
typedef int __jmp_buf[22];
|
typedef int __jmp_buf[22];
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define __JMP_BUF_SP 8
|
#define __JMP_BUF_SP 20
|
||||||
|
|
||||||
/* Test if longjmp to JMPBUF would unwind the frame
|
/* Test if longjmp to JMPBUF would unwind the frame
|
||||||
containing a local variable at ADDRESS. */
|
containing a local variable at ADDRESS. */
|
||||||
|
|
Loading…
Reference in New Issue