summaryrefslogtreecommitdiffabout
authorSergey Poznyakoff <gray@gnu.org>2019-07-20 12:54:30 (GMT)
committer Sergey Poznyakoff <gray@gnu.org>2019-07-20 12:54:30 (GMT)
commit77f10fa54db3a4f0d9c782e8e9dd39051afc19f0 (patch) (side-by-side diff)
tree35144f2fb4481c41e60ede15c6b71fbc7cd02257
parentf338532e1ae9b79c666d2ff66cc8be33ab7e5759 (diff)
downloadwydawca-77f10fa54db3a4f0d9c782e8e9dd39051afc19f0.tar.gz
wydawca-77f10fa54db3a4f0d9c782e8e9dd39051afc19f0.tar.bz2
Bugfix
* src/diskio.c (dir_test_url): Allow for ENOENT.
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--src/diskio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/diskio.c b/src/diskio.c
index 00ac097..7916b3f 100644
--- a/src/diskio.c
+++ b/src/diskio.c
@@ -700,7 +700,7 @@ dir_test_url(wy_url_t url, grecs_locus_t * locus)
_("cannot extract directory part from URL"));
return -1;
}
- if (test_dir(dest_dir, &rc)) {
+ if (test_dir(dest_dir, &rc) && rc != ENOENT) {
if (rc)
grecs_error(locus, rc, _("cannot access %s"),
dest_dir);

Return to:

Send suggestions and report system problems to the System administrator.