summaryrefslogtreecommitdiff
path: root/irc/tr-ircd/files/patch-src-ircsprintf.c
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2007-02-08 22:32:06 +0000
committerMartin Wilke <miwi@FreeBSD.org>2007-02-08 22:32:06 +0000
commit2ad1ee7e800292f4894cdbb8b9d37510f8653fc9 (patch)
tree93f9920ddbf0ed2f5f76512a6903ed750835f33b /irc/tr-ircd/files/patch-src-ircsprintf.c
parent- Update to 2.11 (diff)
- Update to 5.7.3
- Pass maintainership to submitter Changelog: - no more run as root, uses own user and group by default - RCng startup script (trircd) - fixed build for amd64 - installs bin/tr-ircd instead of bin/ircd (conflict with irc/ircd-hybrid, irc/ptlink-ircd & co.) - does not install bin/md5sum (we have our md5) (conflict with archivers/dpkg and not necessary) - run and log directories can be defined via TRIRCD_RUNDIR and TRIRCD_LOGDIR - configuration directory via TRIRCD_CONFDIR (can be specified on runtime as well) - user and group definable via TRIRCD_USER TRIRCD_GROUP PR: 108835 Submitted by: Martin Matuska <martin@matuska.org>
Notes
Notes: svn path=/head/; revision=184607
Diffstat (limited to 'irc/tr-ircd/files/patch-src-ircsprintf.c')
-rw-r--r--irc/tr-ircd/files/patch-src-ircsprintf.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/irc/tr-ircd/files/patch-src-ircsprintf.c b/irc/tr-ircd/files/patch-src-ircsprintf.c
new file mode 100644
index 000000000000..0e1010ce38ef
--- /dev/null
+++ b/irc/tr-ircd/files/patch-src-ircsprintf.c
@@ -0,0 +1,12 @@
+--- src/ircsprintf.c.orig Tue Feb 6 12:54:02 2007
++++ src/ircsprintf.c Tue Feb 6 12:54:20 2007
+@@ -336,7 +336,8 @@
+ const char *format = pattern;
+ char *buf = str;
+ int len = 0;
+- va_list ap = vl;
++ va_list ap;
++ va_copy(ap,vl);
+
+ while (*format) {
+ switch (*format) {