summaryrefslogtreecommitdiff
path: root/mail/mh/files/patch-ab
diff options
context:
space:
mode:
authorPaul Traina <pst@FreeBSD.org>1994-10-04 23:32:54 +0000
committerPaul Traina <pst@FreeBSD.org>1994-10-04 23:32:54 +0000
commit47ed59f7d12eda197b1a83bd4c996aa9ad28ff79 (patch)
tree4eba445d32be2f92f62ebb07b229d07ff599d7b7 /mail/mh/files/patch-ab
parentAdd an install prefix for packages, so that they're built by default (diff)
MH 6.8.3 port
Notes
Notes: svn path=/head/; revision=177
Diffstat (limited to 'mail/mh/files/patch-ab')
-rw-r--r--mail/mh/files/patch-ab16
1 files changed, 16 insertions, 0 deletions
diff --git a/mail/mh/files/patch-ab b/mail/mh/files/patch-ab
new file mode 100644
index 000000000000..b5d02ae2d62c
--- /dev/null
+++ b/mail/mh/files/patch-ab
@@ -0,0 +1,16 @@
+*** folder.c.orig Tue Nov 30 20:01:36 1993
+--- uip/folder.c Fri Jul 1 13:11:16 1994
+***************
+*** 551,556 ****
+--- 551,561 ----
+
+ base = strcmp (name, "./") ? name : name + 2;/* hack */
+
++ /* short-cut to see if directory has any sub-directories */
++
++ if (stat (name, &st) != NOTOK && st.st_nlink == 2)
++ return;
++
+ if ((dd = opendir (name)) == NULL) {
+ admonish (name, "unable to read directory ");
+ return;