[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

r3125 - in glibc-package/trunk/debian: . patches patches/any



Author: aurel32
Date: 2008-09-09 13:56:06 +0000 (Tue, 09 Sep 2008)
New Revision: 3125

Added:
   glibc-package/trunk/debian/patches/any/cvs-isoc99_vscanf.diff
Modified:
   glibc-package/trunk/debian/changelog
   glibc-package/trunk/debian/patches/series
Log:
  * any/cvs-isoc99_vscanf.diff: new patch from upstream to fix vscanf on
    non-GNU compilers.



Modified: glibc-package/trunk/debian/changelog
===================================================================
--- glibc-package/trunk/debian/changelog	2008-09-06 16:10:21 UTC (rev 3124)
+++ glibc-package/trunk/debian/changelog	2008-09-09 13:56:06 UTC (rev 3125)
@@ -17,6 +17,8 @@
     getcontext(), setcontext(), makecontext() on PARISC.  Closes: #492778.
   * any/local-ip6-localhost.diff: new patch from upstream BTS, to remove the
     ::1 -> 127.0.0.1 mapping.
+  * any/cvs-isoc99_vscanf.diff: new patch from upstream to fix vscanf on
+    non-GNU compilers.
 
   [ Samuel Thibault ]
   * patches/hurd-i386/cvs-lock-memory-clobber.diff: new patch from upstream

Added: glibc-package/trunk/debian/patches/any/cvs-isoc99_vscanf.diff
===================================================================
--- glibc-package/trunk/debian/patches/any/cvs-isoc99_vscanf.diff	                        (rev 0)
+++ glibc-package/trunk/debian/patches/any/cvs-isoc99_vscanf.diff	2008-09-09 13:56:06 UTC (rev 3125)
@@ -0,0 +1,22 @@
+2008-01-07  Ulrich Drepper  <drepper@redhat.com>
+
+	* libio/stdio.h (vscanf): Fix definition for loser compilers.
+
+--- a/libio/stdio.h
++++ b/libio/stdio.h
+@@ -1,5 +1,5 @@
+ /* Define ISO C stdio on top of C++ iostreams.
+-   Copyright (C) 1991,1994-2004,2005,2006,2007 Free Software Foundation, Inc.
++   Copyright (C) 1991, 1994-2007, 2008 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
+@@ -492,7 +492,7 @@ extern int __isoc99_vsscanf (__const char *__restrict __s,
+ 			     __const char *__restrict __format,
+ 			     _G_va_list __arg) __THROW;
+ #   define vfscanf __isoc99_vfscanf
+-#   define vscanf __isoc99_vsscanf
++#   define vscanf __isoc99_vscanf
+ #   define vsscanf __isoc99_vsscanf
+ #  endif
+ # endif

Modified: glibc-package/trunk/debian/patches/series
===================================================================
--- glibc-package/trunk/debian/patches/series	2008-09-06 16:10:21 UTC (rev 3124)
+++ glibc-package/trunk/debian/patches/series	2008-09-09 13:56:06 UTC (rev 3125)
@@ -156,6 +156,7 @@
 any/cvs-getaddrinfo.diff -p1
 any/cvs-iconv-braces.diff
 any/cvs-iconv-iso2022jp-loop-bug.diff
+any/cvs-isoc99_vscanf.diff
 any/cvs-rfc3484.diff -p1
 any/cvs-sched_h.diff -p0
 any/cvs-strtod.diff -p1


Reply to: