git://git.jankratochvil.net
/
udpgate.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
ebbe5e4
)
Improved safe errors set during unbundling.
author
short
<>
Fri, 8 Jul 2005 03:15:07 +0000
(
03:15
+0000)
committer
short
<>
Fri, 8 Jul 2005 03:15:07 +0000
(
03:15
+0000)
src/bundle-util.c
patch
|
blob
|
history
diff --git
a/src/bundle-util.c
b/src/bundle-util.c
index
5149abf
..
52a6afc
100644
(file)
--- a/
src/bundle-util.c
+++ b/
src/bundle-util.c
@@
-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;
}