X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;f=sbr%2Fpath.c;h=7475fa081b01113df129ef65af21979316aa68ab;hb=7edb0cbc236244d996d1e2ae1d58d0e9f7d98062;hp=df5d963b9e44f8c405aefed5e75c3707390227af;hpb=1691e80890e5d8ba258c51c214a3e91880e1db2b;p=mmh diff --git a/sbr/path.c b/sbr/path.c index df5d963..7475fa0 100644 --- a/sbr/path.c +++ b/sbr/path.c @@ -3,6 +3,10 @@ * 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 @@ -22,6 +26,11 @@ static char *pwds; 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)