opnsense-ports/mail/xmailwatcher/files/patch-box.c
Franco Fichtner 8cb1a96ede ports: pull in a snapshot of the FreeBSD ports tree
Taken from:	https://github.com/freebsd/freebsd-ports.git
Commit id:	5070672073b68be364139bc6b3a89100bd17d331
2014-11-09 14:03:21 +01:00

20 lines
459 B
C

--- box.c.orig Sat Feb 3 18:13:00 2001
+++ box.c Sat Feb 3 18:13:50 2001
@@ -31,7 +31,7 @@
#include <unistd.h>
#include <sys/stat.h>
#include <sys/types.h>
-#include <sys/dir.h>
+#include <dirent.h>
#include <X11/Xos.h>
/* MIME processing */
@@ -235,7 +235,7 @@
int n, i, tally;
char oneFrom[160];
char *pos;
- char filename[PATH_MAX];
+ char filename[FILENAME_MAX];
if (flags & BOX_DEBUG) (void) printf("MHparseMailbox(%s)\n", mailbox);