projects
/
mmh
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Application of patch #5218: patch for bug #9742. Fixes a typo in the
[mmh]
/
sbr
/
path.c
diff --git
a/sbr/path.c
b/sbr/path.c
index
df5d963
..
7475fa0
100644
(file)
--- a/
sbr/path.c
+++ b/
sbr/path.c
@@
-3,6
+3,10
@@
* path.c -- return a pathname
*
* $Id$
* path.c -- return a pathname
*
* $Id$
+ *
+ * This code is Copyright (c) 2002, by the authors of nmh. See the
+ * COPYRIGHT file in the root directory of the nmh distribution for
+ * complete copyright information.
*/
#include <h/mh.h>
*/
#include <h/mh.h>
@@
-22,6
+26,11
@@
static char *pwds;
static char *expath(char *,int);
static void compath(char *);
static char *expath(char *,int);
static void compath(char *);
+char *
+pluspath(char *name)
+{
+ return path(name + 1, *name == '+' ? TFOLDER : TSUBCWF);
+}
char *
path(char *name, int flag)
char *
path(char *name, int flag)