summaryrefslogtreecommitdiff
path: root/mail/sympa/patches/patch-ae
diff options
context:
space:
mode:
Diffstat (limited to 'mail/sympa/patches/patch-ae')
-rw-r--r--mail/sympa/patches/patch-ae25
1 files changed, 0 insertions, 25 deletions
diff --git a/mail/sympa/patches/patch-ae b/mail/sympa/patches/patch-ae
deleted file mode 100644
index 87dc538c5e8..00000000000
--- a/mail/sympa/patches/patch-ae
+++ /dev/null
@@ -1,25 +0,0 @@
-$NetBSD: patch-ae,v 1.3 2005/02/15 22:45:54 seb Exp $
-
---- src/queue.c.orig 2003-10-07 12:04:47.000000000 +0000
-+++ src/queue.c
-@@ -32,6 +32,11 @@ static char qfile[128];
- static char buf[16384];
- static int i, fd;
-
-+/* For HP-UX */
-+#ifndef EX_CONFIG
-+# define EX_CONFIG 78
-+#endif
-+
- #ifndef CONFIG
- # define CONFIG "/etc/sympa.conf"
- #endif
-@@ -116,7 +121,7 @@ main(int argn, char **argv)
- exit(EX_NOPERM);
- }
- umask(027);
-- sprintf(qfile, "T.%s.%ld.%d", listname, time(NULL), getpid());
-+ snprintf(qfile, sizeof(qfile), "T.%s.%ld.%d", listname, time(NULL), getpid());
- fd = open(qfile, O_CREAT|O_WRONLY, 0600);
- if (fd == -1){
- char* buffer=(char*)malloc(strlen(argv[0])+strlen(queuedir)+80);