From 77e4dd4fa3f3caef8411e471141532efc2efc682 Mon Sep 17 00:00:00 2001 From: Diego Escalante Urrelo Date: Wed, 22 Apr 2009 16:48:08 -0500 Subject: [PATCH 2/3] Remove unused *printf* variants This were causing the build to fail in some archs. Gbp-Pq: Name 0002-Remove-unused-printf-variants.patch --- src/snprintf.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/snprintf.c b/src/snprintf.c index d2025ee..0b898cd 100644 --- a/src/snprintf.c +++ b/src/snprintf.c @@ -112,8 +112,6 @@ # undef HAVE_SNPRINTF # undef HAVE_VSNPRINTF # undef HAVE_C99_VSNPRINTF -# undef HAVE_ASPRINTF -# undef HAVE_VASPRINTF # include #endif /* TEST_SNPRINTF */ @@ -225,7 +223,7 @@ static size_t dopr(char *buffer, size_t maxlen, const char *format, va_list args size_t currlen; va_list args; - VA_COPY(args, args_in); + *args = *args_in; state = DP_S_DEFAULT; currlen = flags = cflags = min = 0; -- cgit v1.2.3