diff options
Diffstat (limited to 'mail/mush/patches/patch-ae')
-rw-r--r-- | mail/mush/patches/patch-ae | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/mail/mush/patches/patch-ae b/mail/mush/patches/patch-ae new file mode 100644 index 00000000000..f7c74aa7839 --- /dev/null +++ b/mail/mush/patches/patch-ae @@ -0,0 +1,48 @@ +$NetBSD: patch-ae,v 1.1 1998/09/04 18:33:47 christos Exp $ + +*** old/panels.c Fri Sep 4 11:22:05 1998 +--- panels.c Fri Sep 4 11:21:28 1998 +*************** +*** 31,36 **** +--- 31,37 ---- + save_item, /* saves messages */ + sub_hdr_item[6]; /* display items that just sit there and give help */ + ++ static char gpat[] = "*/{.,..}"; + #ifndef NO_WALK_MENUS + Panel + folder_panel, +*************** +*** 461,467 **** + struct stat s_buf; + char buf[MAXPATHLEN]; + +! if (glob(path, "*/{.,..}")) { + return NULL; + } + +--- 462,468 ---- + struct stat s_buf; + char buf[MAXPATHLEN]; + +! if (glob(path, gpat)) { + return NULL; + } + +*************** +*** 708,714 **** + sprintf(buf, "%s/{.*,*}", path); + if (filexp(buf, &names) > 0) { + for (np = names; np && *np; np++) { +! if (!glob(*np, "*/{.,..}")) + add_path_to_menu(item, *np, n); + } + free_vec(names); +--- 709,715 ---- + sprintf(buf, "%s/{.*,*}", path); + if (filexp(buf, &names) > 0) { + for (np = names; np && *np; np++) { +! if (!glob(*np, gpat)) + add_path_to_menu(item, *np, n); + } + free_vec(names); |