This is an automated email from the git hooks/post-receive script. ecsv-guest pushed a commit to branch master in repository mupen64plus-video-glide64.
commit fd544299de65784ea0008897ee2d992fe0935bd7 Author: Sven Eckelmann <[email protected]> Date: Fri Nov 26 11:55:35 2010 +0100 Add quilt patch header for printf_fixup.patch --- debian/patches/printf_fixup.patch | 29 ++++++++++++----------------- 1 file changed, 12 insertions(+), 17 deletions(-) diff --git a/debian/patches/printf_fixup.patch b/debian/patches/printf_fixup.patch index dfd4d5c..6640b5d 100644 --- a/debian/patches/printf_fixup.patch +++ b/debian/patches/printf_fixup.patch @@ -1,12 +1,7 @@ -Description: Add dummy PATH_MAX on systems without it - Posix only defines that PATH_MAX may is defined through limits.h. GNU/Hurd has - removed this definition without violating the standards. - . - Mupen64Plus still relies on it and we work around that problem by defining - PATH_MAX as 4096 in all places it is needed. This is not 100% correct as their - are ways to generate longer paths, but mupen64plus must be heavily refactored - in some places to fix the actual problem. -Bug-Debian: http://bugs.debian.org/588066 +Description: Add printf-format attribute + The compiler needs to get more information for function declaration to + help to find printf specific format attacks. +Forwarded: not-needed Author: Sven Eckelmann <[email protected]> --- @@ -67,14 +62,14 @@ index fc22fbf157b7c9e1507c6a2430268afc71d4c4f8..af6e1bbb8be0772b38eeee282b9ee459 --- a/src/m64p.h +++ b/src/m64p.h @@ -28,7 +28,7 @@ - #include "m64p_vidext.h" - #include <stdio.h> - --void WriteLog(m64p_msg_level level, const char *msg, ...); -+void WriteLog(m64p_msg_level level, const char *msg, ...) __attribute__ ((format (printf, 2, 3))); - - //The Glide API originally used an integer to pick an enumerated resolution. - //To accomodate arbitrary resolutions, pack it into a 32-bit struct + #include "m64p_vidext.h" + #include <stdio.h> + +-void WriteLog(m64p_msg_level level, const char *msg, ...); ++void WriteLog(m64p_msg_level level, const char *msg, ...) __attribute__ ((format (printf, 2, 3))); + + //The Glide API originally used an integer to pick an enumerated resolution. + //To accomodate arbitrary resolutions, pack it into a 32-bit struct diff --git a/src/wrapper/combiner.cpp b/src/wrapper/combiner.cpp index 6f2f189083942180eb331d155ea84494ddbeb84f..484a880f4a0d07dfc55c64200d5487b22b7f90c1 100644 --- a/src/wrapper/combiner.cpp -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/mupen64plus-video-glide64.git _______________________________________________ Pkg-games-commits mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-games-commits

