diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2010-12-08 20:58:52 +0200 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2010-12-08 21:04:50 +0200 |
commit | aa1caef5a181287fcd68a4ec9a600e4927a40833 (patch) | |
tree | d1312900b7c1cd333875ab65d06105f4cc49e0bd /comsat/comsat.c | |
parent | 55086f9411acfcf185f8f535b301b52600c48c68 (diff) | |
download | mailutils-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.c | 3 |
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); |