Author: aurel32 Date: 2011-05-01 15:37:43 +0000 (Sun, 01 May 2011) New Revision: 4630
Added: glibc-package/trunk/debian/patches/any/submitted-fwrite-wur.diff Modified: glibc-package/trunk/debian/changelog glibc-package/trunk/debian/patches/series Log: * Add patches/any/submitted-fwrite-wur.diff to not warn about unused result for fwrite(). Closes: #616627. Modified: glibc-package/trunk/debian/changelog =================================================================== --- glibc-package/trunk/debian/changelog 2011-05-01 15:33:11 UTC (rev 4629) +++ glibc-package/trunk/debian/changelog 2011-05-01 15:37:43 UTC (rev 4630) @@ -157,6 +157,8 @@ misaligned blocks larger than 144 Bytes. * Add patches/any/local-dl-deps.diff to workaround assert triggered by some binaries. Closes: #624515. + * Add patches/any/submitted-fwrite-wur.diff to not warn about unused + result for fwrite(). Closes: #616627. [ Samuel Thibault ] * Add patches/any/cvs-glro_dl_debug_mask.diff to fix build without Added: glibc-package/trunk/debian/patches/any/submitted-fwrite-wur.diff =================================================================== --- glibc-package/trunk/debian/patches/any/submitted-fwrite-wur.diff (rev 0) +++ glibc-package/trunk/debian/patches/any/submitted-fwrite-wur.diff 2011-05-01 15:37:43 UTC (rev 4630) @@ -0,0 +1,24 @@ +http://sourceware.org/bugzilla/show_bug.cgi?id=11959 + +diff --git a/libio/stdio.h b/libio/stdio.h +index 962c287..5092365 100644 +--- a/libio/stdio.h ++++ b/libio/stdio.h +@@ -706,7 +706,7 @@ extern size_t fread (void *__restrict __ptr, size_t __size, + This function is a possible cancellation point and therefore not + marked with __THROW. */ + extern size_t fwrite (__const void *__restrict __ptr, size_t __size, +- size_t __n, FILE *__restrict __s) __wur; ++ size_t __n, FILE *__restrict __s); + __END_NAMESPACE_STD + + #ifdef __USE_GNU +@@ -730,7 +730,7 @@ extern int fputs_unlocked (__const char *__restrict __s, + extern size_t fread_unlocked (void *__restrict __ptr, size_t __size, + size_t __n, FILE *__restrict __stream) __wur; + extern size_t fwrite_unlocked (__const void *__restrict __ptr, size_t __size, +- size_t __n, FILE *__restrict __stream) __wur; ++ size_t __n, FILE *__restrict __stream); + #endif + + Modified: glibc-package/trunk/debian/patches/series =================================================================== --- glibc-package/trunk/debian/patches/series 2011-05-01 15:33:11 UTC (rev 4629) +++ glibc-package/trunk/debian/patches/series 2011-05-01 15:37:43 UTC (rev 4630) @@ -246,3 +246,4 @@ any/local-linuxthreads-deps.diff any/local-ldconfig-multiarch.diff any/cvs-fopen.diff +any/submitted-fwrite-wur.diff -- To UNSUBSCRIBE, email to debian-glibc-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/e1qgyiu-0007gw...@alioth.debian.org