freebsd-ports/irc/tr-ircd/files/patch-src-ircsprintf.c
Martin Wilke 2ad1ee7e80 - 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>
2007-02-08 22:32:06 +00:00

12 lines
298 B
C

--- 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) {