[3077] in Athena Bugs
undelete
daemon@ATHENA.MIT.EDU (Jonathan I. Kamens)
Sun Sep 3 18:03:08 1989
Date: Sun, 3 Sep 89 18:02:46 -0400
From: Jonathan I. Kamens <jik@ATHENA.MIT.EDU>
To: qjb@ATHENA.MIT.EDU
Cc: bugs@ATHENA.MIT.EDU, rel-eng@ATHENA.MIT.EDU
In-Reply-To: <qjb@ATHENA.MIT.EDU>'s message of Sun, 3 Sep 89 17:22:44 -0400 <8909032122.AA24593@SOUP.MIT.EDU>
From: <qjb@ATHENA.MIT.EDU>
Date: Sun, 3 Sep 89 17:22:44 -0400
undelete ../asdf does not work on any machine or any version of
delete I have found. (cd ..;undelete asdf) works fine.
Jay B
Indeed. ./asdf didn't work either. Stupid mistake. Patch is
below.
jik
*************************
*** pattern.c.orig Mon May 8 17:34:39 1989
--- pattern.c Sun Sep 3 17:49:35 1989
***************
*** 211,218 ****
re_comp(first);
for (dp = readdir(dirp); dp != NULL; dp = readdir(dirp)) {
- if (is_dotfile(dp->d_name)) /* skip dot files */
- continue;
if (re_exec(dp->d_name) && *rest) {
strcpy(new, append(base, dp->d_name));
next = find_deleted_matches(new, rest, &num_next);
--- 211,216 ----
***************
*** 265,272 ****
strcpy(first, reg_firstpart(expression, rest));
for (dp = readdir(dirp); dp != NULL; dp = readdir(dirp)) {
- if (is_dotfile(dp->d_name))
- continue;
re_comp(first);
if (re_exec(dp->d_name)) {
if (*rest) {
--- 263,268 ----