diff options
author | explorer <explorer> | 1999-01-31 10:47:37 +0000 |
---|---|---|
committer | explorer <explorer> | 1999-01-31 10:47:37 +0000 |
commit | 9aaf532e6cacb4e1c7d8bd13378c29ad59fe75ca (patch) | |
tree | 08998ea9ad1267f9f253d595fb2247a222c4314c /mail | |
parent | d4a096d72a401b9fe09cebf9aa8ef9e8efe590f2 (diff) | |
download | pkgsrc-9aaf532e6cacb4e1c7d8bd13378c29ad59fe75ca.tar.gz |
Teach pine about $MAIL. It will be used if set, so the sysadmin/user
can override where mail is stored.
Diffstat (limited to 'mail')
-rw-r--r-- | mail/pine/patches/patch-am | 16 |
1 files changed, 16 insertions, 0 deletions
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 */ |