void-packages/srcpkgs/cvs/patches/vasnprintf.diff

17 lines
369 B
Diff

--- a/lib/vasnprintf.c 2015-05-16 16:57:13.712246576 +0200
+++ b/lib/vasnprintf.c 2015-05-16 16:57:38.471145720 +0200
@@ -557,13 +557,7 @@
break;
}
*p = dp->conversion;
-#if USE_SNPRINTF
- p[1] = '%';
- p[2] = 'n';
- p[3] = '\0';
-#else
p[1] = '\0';
-#endif
/* Construct the arguments for calling snprintf or sprintf. */
prefix_count = 0;