projects
/
mmh
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1691e80
)
Properly deal with relative folder names. Problem noted by Jerry Peek
author
Dan Harkless
<dan@harkless.org>
Thu, 13 May 1999 01:03:23 +0000
(
01:03
+0000)
committer
Dan Harkless
<dan@harkless.org>
Thu, 13 May 1999 01:03:23 +0000
(
01:03
+0000)
<jpeek@jpeek.com>
uip/flist.c
patch
|
blob
|
history
diff --git
a/uip/flist.c
b/uip/flist.c
index
0e2b161
..
bced89f
100644
(file)
--- a/
uip/flist.c
+++ b/
uip/flist.c
@@
-232,9
+232,11
@@
main(int argc, char **argv)
(size_t) (maxfolders * sizeof(*foldersToDo)))))
adios (NULL, "unable to reallocate folder name storage");
}
- if (*cp == '+')
- ++cp;
- foldersToDo[numfolders++] = cp;
+ if (*cp == '+' || *cp == '@') {
+ foldersToDo[numfolders++] =
+ path (cp + 1, *cp == '+' ? TFOLDER : TSUBCWF);
+ } else
+ foldersToDo[numfolders++] = cp;
}
}