summaryrefslogtreecommitdiff
path: root/comsat/comsat.c
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2010-12-08 20:58:52 +0200
committerSergey Poznyakoff <gray@gnu.org.ua>2010-12-08 21:04:50 +0200
commitaa1caef5a181287fcd68a4ec9a600e4927a40833 (patch)
treed1312900b7c1cd333875ab65d06105f4cc49e0bd /comsat/comsat.c
parent55086f9411acfcf185f8f535b301b52600c48c68 (diff)
downloadmailutils-aa1caef5a181287fcd68a4ec9a600e4927a40833.tar.gz
mailutils-aa1caef5a181287fcd68a4ec9a600e4927a40833.tar.bz2
Minor improvement
* examples/config/dot.biffrc: Update. * comsat/comsat.c (main): In test mode, normalize biffrc names that begin with ./ or ../
Diffstat (limited to 'comsat/comsat.c')
-rw-r--r--comsat/comsat.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/comsat/comsat.c b/comsat/comsat.c
index c143daef5..8d579994e 100644
--- a/comsat/comsat.c
+++ b/comsat/comsat.c
@@ -606,7 +606,8 @@ main (int argc, char **argv)
}
}
- if (biffrc[0] == '.' && biffrc[1] == '/')
+ if (biffrc[0] == '.' && (biffrc[1] == '/' ||
+ (biffrc[1] == '.' && biffrc[2] == '/')))
{
char *cwd = mu_getcwd ();
biffrc = mu_make_file_name (cwd, biffrc);

Return to:

Send suggestions and report system problems to the System administrator.