diff options
author | Steve Price <steve@FreeBSD.org> | 1998-07-20 03:18:03 +0000 |
---|---|---|
committer | Steve Price <steve@FreeBSD.org> | 1998-07-20 03:18:03 +0000 |
commit | 7f3715f1943ae2bb211814d48c2d6480140acae6 (patch) | |
tree | dd5388cdbf831daeb8a5214511a445f47da8c0b1 /editors/gxedit/files/patch-aa | |
parent | This builds now with the latest round of commits. (diff) |
Update to version 1.07.
PR: 7267
Submitted by: Mikhail Teterin <mi@aldan.algebra.com>
Diffstat (limited to 'editors/gxedit/files/patch-aa')
-rw-r--r-- | editors/gxedit/files/patch-aa | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/editors/gxedit/files/patch-aa b/editors/gxedit/files/patch-aa new file mode 100644 index 000000000000..da3e5c388082 --- /dev/null +++ b/editors/gxedit/files/patch-aa @@ -0,0 +1,22 @@ +--- gxedit.c.orig Mon Jul 13 02:01:18 1998 ++++ gxedit.c Mon Jul 13 02:03:55 1998 +@@ -2097,2 +2097,9 @@ + ++static const char * mail_spool_fmt = ++#ifdef __FreeBSD__ ++ "/var/mail/%s"; ++#else ++ "/var/spool/mail/%s"; ++#endif ++ + int CB_open_mail_ok(GtkWidget *gtklist, gpointer func_data) +@@ -2103,3 +2110,3 @@ + modified = 0; +- sprintf(line, "/var/spool/mail/%s", login); ++ sprintf(line, mail_spool_fmt, login); + fd = fopen(line, "r"); +@@ -2162,3 +2169,3 @@ + } +- sprintf(line, "/var/spool/mail/%s", login); ++ sprintf(line, mail_spool_fmt, login); + fd = fopen(line, "r"); |