You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

20 lines
519 B

Index: src/augtool.c
--- src/augtool.c.orig 2015-06-02 00:03:07.000000000 +0200
+++ src/augtool.c 2015-12-06 12:39:59.749725305 +0100
@@ -62,7 +62,7 @@
*/
/* Not static, since prototype is in internal.h */
-int xasprintf(char **strp, const char *format, ...) {
+int my_xasprintf(char **strp, const char *format, ...) {
va_list args;
int result;
@@ -73,6 +73,7 @@
*strp = NULL;
return result;
}
+#define xasprintf my_xasprintf
static int child_count(const char *path) {
char *pat = NULL;