1.1 --- a/patches/glibc/2.3.2/sscanf.patch Tue Aug 14 19:32:22 2007 +0000
1.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
1.3 @@ -1,80 +0,0 @@
1.4 -2003-03-05 Roland McGrath <roland@redhat.com>
1.5 -
1.6 - * stdio-common/sscanf.c: Use prototype defn with ... syntax.
1.7 - * libio/swscanf.c: Likewise.
1.8 - * libio/swprintf.c: Likewise.
1.9 -
1.10 -===================================================================
1.11 -RCS file: /cvs/glibc/libc/stdio-common/sscanf.c,v
1.12 -retrieving revision 1.8
1.13 -retrieving revision 1.9
1.14 -diff -u -r1.8 -r1.9
1.15 ---- libc/stdio-common/sscanf.c 2002/08/10 09:24:42 1.8
1.16 -+++ libc/stdio-common/sscanf.c 2003/03/05 19:58:03 1.9
1.17 -@@ -1,4 +1,4 @@
1.18 --/* Copyright (C) 1991,95,96,98,2002 Free Software Foundation, Inc.
1.19 -+/* Copyright (C) 1991,1995,1996,1998,2002,2003 Free Software Foundation, Inc.
1.20 - This file is part of the GNU C Library.
1.21 -
1.22 - The GNU C Library is free software; you can redistribute it and/or
1.23 -@@ -27,9 +27,7 @@
1.24 - /* Read formatted input from S, according to the format string FORMAT. */
1.25 - /* VARARGS2 */
1.26 - int
1.27 --sscanf (s, format)
1.28 -- const char *s;
1.29 -- const char *format;
1.30 -+sscanf (const char *s, const char *format, ...)
1.31 - {
1.32 - va_list arg;
1.33 - int done;
1.34 -===================================================================
1.35 -RCS file: /cvs/glibc/libc/libio/swprintf.c,v
1.36 -retrieving revision 1.3
1.37 -retrieving revision 1.4
1.38 -diff -u -r1.3 -r1.4
1.39 ---- libc/libio/swprintf.c 2001/07/06 04:55:32 1.3
1.40 -+++ libc/libio/swprintf.c 2003/03/05 19:58:03 1.4
1.41 -@@ -1,4 +1,5 @@
1.42 --/* Copyright (C) 1991,1995,1997,1998,1999,2000 Free Software Foundation, Inc.
1.43 -+/* Copyright (C) 1991,1995,1997,1998,1999,2000,2003
1.44 -+ Free Software Foundation, Inc.
1.45 - This file is part of the GNU C Library.
1.46 -
1.47 - The GNU C Library is free software; you can redistribute it and/or
1.48 -@@ -22,10 +23,7 @@
1.49 - /* Write formatted output into S, according to the format string FORMAT. */
1.50 - /* VARARGS3 */
1.51 - int
1.52 --swprintf (s, n, format)
1.53 -- wchar_t *s;
1.54 -- size_t n;
1.55 -- const wchar_t *format;
1.56 -+swprintf (wchar_t *s, size_t n, const wchar_t *format, ...)
1.57 - {
1.58 - va_list arg;
1.59 - int done;
1.60 -===================================================================
1.61 -RCS file: /cvs/glibc/libc/libio/swscanf.c,v
1.62 -retrieving revision 1.2
1.63 -retrieving revision 1.3
1.64 -diff -u -r1.2 -r1.3
1.65 ---- libc/libio/swscanf.c 2001/07/06 04:55:32 1.2
1.66 -+++ libc/libio/swscanf.c 2003/03/05 19:58:03 1.3
1.67 -@@ -1,4 +1,4 @@
1.68 --/* Copyright (C) 1991, 1995, 1996, 1998, 1999 Free Software Foundation, Inc.
1.69 -+/* Copyright (C) 1991,1995,1996,1998,1999,2003 Free Software Foundation, Inc.
1.70 - This file is part of the GNU C Library.
1.71 -
1.72 - The GNU C Library is free software; you can redistribute it and/or
1.73 -@@ -22,9 +22,7 @@
1.74 - /* Read formatted input from S, according to the format string FORMAT. */
1.75 - /* VARARGS2 */
1.76 - int
1.77 --swscanf (s, format)
1.78 -- const wchar_t *s;
1.79 -- const wchar_t *format;
1.80 -+swscanf (const wchar_t *s, const wchar_t *format, ...)
1.81 - {
1.82 - va_list arg;
1.83 - int done;