- We no longer try to rewrite system "locale" directory, no need to by quiet.
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.