diff options
author | Adam Weinberger <adamw@FreeBSD.org> | 2014-07-29 17:12:47 +0000 |
---|---|---|
committer | Adam Weinberger <adamw@FreeBSD.org> | 2014-07-29 17:12:47 +0000 |
commit | 08a006d08a4c35d2c3ecc9a3d10cf7fd14661a84 (patch) | |
tree | 0cfc4f0736babb895eb97a65c6defe632a0249c7 /net/qadsl/files/patch-src__log.c | |
parent | editors/fte: update to 20110708 (diff) |
Rename all patches that contain '::' as a path separator, and use
'__' instead.
Notes
Notes:
svn path=/head/; revision=363362
Diffstat (limited to 'net/qadsl/files/patch-src__log.c')
-rw-r--r-- | net/qadsl/files/patch-src__log.c | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/net/qadsl/files/patch-src__log.c b/net/qadsl/files/patch-src__log.c new file mode 100644 index 000000000000..face4f2bb455 --- /dev/null +++ b/net/qadsl/files/patch-src__log.c @@ -0,0 +1,38 @@ +*** src/log.c.orig Thu Jun 10 21:11:46 2004 +--- src/log.c Sat Sep 11 17:42:44 2004 +*************** +*** 21,28 **** + #include "config.h" + #endif + +- #include <alloca.h> + #include <stdio.h> + #include <stdarg.h> + #include <string.h> + #include <syslog.h> +--- 21,28 ---- + #include "config.h" + #endif + + #include <stdio.h> ++ #include <stdlib.h> + #include <stdarg.h> + #include <string.h> + #include <syslog.h> +*************** +*** 100,106 **** + char *str; + va_list ap; + +! str = alloca (MAXDATASIZE); /* XXX - What is this, a hardcoded value?! */ + va_start (ap, fmt); + len = vsnprintf (str, MAXDATASIZE, fmt, ap); + if (len >= 0) +--- 100,106 ---- + char *str; + va_list ap; + +! str = malloc(MAXDATASIZE); /* XXX - What is this, a hardcoded value?! */ + va_start (ap, fmt); + len = vsnprintf (str, MAXDATASIZE, fmt, ap); + if (len >= 0) |