diff options
Diffstat (limited to 'sys-libs/glibc/files/2.3.2/glibc-2.3.2-gcc33-sscanf.patch')
-rw-r--r-- | sys-libs/glibc/files/2.3.2/glibc-2.3.2-gcc33-sscanf.patch | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/sys-libs/glibc/files/2.3.2/glibc-2.3.2-gcc33-sscanf.patch b/sys-libs/glibc/files/2.3.2/glibc-2.3.2-gcc33-sscanf.patch new file mode 100644 index 000000000000..523b036d9a7d --- /dev/null +++ b/sys-libs/glibc/files/2.3.2/glibc-2.3.2-gcc33-sscanf.patch @@ -0,0 +1,21 @@ +--- stdio-common/sscanf.c.~1.8.~ 2003-01-16 11:25:20.000000000 +0100 ++++ stdio-common/sscanf.c 2003-03-05 12:07:34.000000000 +0100 +@@ -1,4 +1,4 @@ +-/* Copyright (C) 1991,95,96,98,2002 Free Software Foundation, Inc. ++/* Copyright (C) 1991,95,96,98,2002, 2003 Free Software Foundation, Inc. + This file is part of the GNU C Library. + + The GNU C Library is free software; you can redistribute it and/or +@@ -27,9 +27,7 @@ + /* Read formatted input from S, according to the format string FORMAT. */ + /* VARARGS2 */ + int +-sscanf (s, format) +- const char *s; +- const char *format; ++sscanf (const char *s, const char *format, ...) + { + va_list arg; + int done; + + |