Improved safe errors set during unbundling.
authorshort <>
Fri, 8 Jul 2005 03:15:07 +0000 (03:15 +0000)
committershort <>
Fri, 8 Jul 2005 03:15:07 +0000 (03:15 +0000)
src/bundle-util.c

index 5149abf..52a6afc 100644 (file)
@@ -259,7 +259,7 @@ struct dir_stack **mkdirs_tail_pointer;
        g_assert(!mkdirs);
 
        if (-1==(fd=open(pathname,O_WRONLY|O_CREAT|O_TRUNC,pathname_mode))) {
-               if (errno!=EACCES)
+               if (errno!=EACCES && errno!=ENOENT)
                        g_warning(_("Error opening the file \"%s\" for rewrite: %m"),pathname);
                return FALSE;
                }