Dash:
[t2.git] / package / base / libsafe / uclibc.patch.uclibc
blobf3bca03364adcfd8987743a78199a8e8ff79a5bd
1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
3
4 # T2 SDE: package/.../libsafe/uclibc.patch.uclibc
5 # Copyright (C) 2004 - 2016 The T2 SDE Project
6
7 # More information can be found in the files COPYING and README.
8
9 # This patch file is dual-licensed. It is available under the license the
10 # patched project is licensed under, as long as it is an OpenSource license
11 # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
12 # of the GNU General Public License as published by the Free Software
13 # Foundation; either version 2 of the License, or (at your option) any later
14 # version.
15 # --- T2-COPYRIGHT-NOTE-END ---
16 --- libsafe-2.0-16/src/intercept.c.orig 2005-01-22 12:53:10.000000000 -0800
17 +++ libsafe-2.0-16/src/intercept.c      2005-01-22 12:47:15.000000000 -0800
18 @@ -78,8 +78,11 @@
19  typedef char *(*getwd_t) (char *buf);
20  typedef char *(*gets_t) (char *s);
21  typedef char *(*realpath_t) (char *path, char resolved_path[]);
22 -typedef int (*_IO_vfscanf_t) (_IO_FILE *s, const char *format, _IO_va_list
23 -       argptr, int *errp);
24 +typedef int (*_IO_vfscanf_t)
25 + (FILE *s,
26 +   const char *format,
27 +   va_list argptr,
28 +   int *errp);
32 @@ -1443,7 +1446,7 @@
33  }
36 -int _IO_vfscanf (_IO_FILE *s, const char *format, _IO_va_list argptr, int *errp)
37 +int _IO_vfscanf (FILE *s, const char *format, va_list argptr, int *errp)
38  {
39      static _IO_vfscanf_t real_IO_vfscanf = NULL;
40      int res, save_count;