projects
/
oweals
/
busybox.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
dd: speed measurement. optional.
[oweals/busybox.git]
/
coreutils
/
uudecode.c
diff --git
a/coreutils/uudecode.c
b/coreutils/uudecode.c
index 81a86cb1569fd51045a562c389c962ed8c4dee35..0298a4bdb7ae6afb2d5ddf7f2594fec2f624fa5d 100644
(file)
--- a/
coreutils/uudecode.c
+++ b/
coreutils/uudecode.c
@@
-179,7
+179,7
@@
int uudecode_main(int argc UNUSED_PARAM, char **argv)
}
dst_stream = stdout;
if (NOT_LONE_DASH(outname)) {
- dst_stream = xfopen
(outname, "w"
);
+ dst_stream = xfopen
_for_write(outname
);
fchmod(fileno(dst_stream), mode & (S_IRWXU | S_IRWXG | S_IRWXO));
}
free(line);