summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Escalante Urrelo <diegoe@gnome.org>2009-04-22 16:48:08 -0500
committerDmitry Bogatov <KAction@debian.org>2018-12-02 23:47:57 +0000
commit77e4dd4fa3f3caef8411e471141532efc2efc682 (patch)
treec840fd73ce9479694ac515edd576551c2bb92cde
parentadaaef50b3c9fe7f7d7ead18e961a55b8c4192f6 (diff)
[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
-rw-r--r--src/snprintf.c4
1 files changed, 1 insertions, 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 <math.h>
#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;