projects
/
oweals
/
busybox.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
find:: get rid of nested function (it's a gcc-ism)
[oweals/busybox.git]
/
editors
/
patch_toybox.c
diff --git
a/editors/patch_toybox.c
b/editors/patch_toybox.c
index 04bd98eead9d36db5a8e4bec228d17f5ee5a09de..a60bf070fc4a74db08c76245c0ffb9ebf09a64ec 100644
(file)
--- a/
editors/patch_toybox.c
+++ b/
editors/patch_toybox.c
@@
-559,7
+559,7
@@
int patch_main(int argc UNUSED_PARAM, char **argv)
xmkpath(name, -1);
*s = '/';
}
- TT.filein = xopen
3(name, O_CREAT|O_EXCL|O_RDWR, 0666
);
+ TT.filein = xopen
(name, O_CREAT|O_EXCL|O_RDWR
);
} else {
printf("patching file %s\n", name);
TT.filein = xopen(name, O_RDWR);