31 lines
822 B
Text
31 lines
822 B
Text
--- popper.h.orig Mon Jul 30 19:28:19 2001
|
|
+++ popper.h Mon Jul 30 19:30:20 2001
|
|
@@ -31,11 +31,6 @@
|
|
|
|
#ifdef HAVE_SYS_PARAM_H
|
|
#include <sys/param.h>
|
|
-# if (defined(BSD) && (BSD >= 199103))
|
|
-# define HAVE_UNISTD_H
|
|
-# define HAVE_VPRINTF
|
|
-# define BIND43
|
|
-# endif
|
|
#endif
|
|
|
|
#ifdef BSDI
|
|
@@ -60,11 +55,14 @@
|
|
|
|
#define MAXUSERNAMELEN 65
|
|
#define MAXDROPLEN 64
|
|
-#define MAXLINELEN 1024
|
|
+/* This program always assume that fgets return whole line,
|
|
+ so the buffer must be at least one char bigger than sendmail
|
|
+ use, because of >From */
|
|
+#define MAXLINELEN (2048+1)
|
|
#define MAXMSGLINELEN MAXLINELEN
|
|
#define MAXCMDLEN 4
|
|
#define MAXPARMCOUNT 5
|
|
-#define MAXPARMLEN 10
|
|
+#define MAXPARMLEN 32 /* Large enough for 32-byte APOP parm. */
|
|
#define ALLOC_MSGS 20
|
|
|
|
#ifndef OSF1
|