Fixed back proper unbundling error reporting.
authorshort <>
Sat, 9 Jul 2005 03:39:42 +0000 (03:39 +0000)
committershort <>
Sat, 9 Jul 2005 03:39:42 +0000 (03:39 +0000)
 - We no longer try to rewrite system "locale" directory, no need to by quiet.

src/bundle-util.c

index 52a6afc..6376041 100644 (file)
@@ -259,8 +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 && errno!=ENOENT)
-                       g_warning(_("Error opening the file \"%s\" for rewrite: %m"),pathname);
+               g_warning(_("Error opening the file \"%s\" for rewrite: %m"),pathname);
                return FALSE;
                }
        /* Register the file only if it got already created.