From b90d1d3303b28109e2a454016f2d16d8fcdae167 Mon Sep 17 00:00:00 2001 From: explorer Date: Sun, 31 Jan 1999 10:47:37 +0000 Subject: Teach pine about $MAIL. It will be used if set, so the sysadmin/user can override where mail is stored. --- mail/pine/patches/patch-am | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 mail/pine/patches/patch-am (limited to 'mail/pine') diff --git a/mail/pine/patches/patch-am b/mail/pine/patches/patch-am new file mode 100644 index 00000000000..95839040409 --- /dev/null +++ b/mail/pine/patches/patch-am @@ -0,0 +1,16 @@ +--- imap/src/osdep/unix/env_unix.c.sma Sun Jan 31 02:25:32 1999 ++++ imap/src/osdep/unix/env_unix.c Sun Jan 31 02:27:14 1999 +@@ -547,6 +547,13 @@ + char *sysinbox () + { + char tmp[MAILTMPLEN]; ++ char *t; ++ ++ if (!sysInbox) { ++ t = getenv("MAIL"); ++ if (t != NULL) ++ sysInbox = cpystr(t); ++ } + if (!sysInbox) { /* initialize if first time */ + sprintf (tmp,"%s/%s",MAILSPOOL,myusername ()); + sysInbox = cpystr (tmp); /* system inbox is from mail spool */ -- cgit v1.2.3