projects
/
platform
/
upstream
/
toybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
82895f6
)
Whitespace/wordwrap changes.
author
Rob Landley
<rob@landley.net>
Sun, 11 Dec 2011 09:54:58 +0000
(
03:54
-0600)
committer
Rob Landley
<rob@landley.net>
Sun, 11 Dec 2011 09:54:58 +0000
(
03:54
-0600)
toys/mkswap.c
patch
|
blob
|
history
toys/tee.c
patch
|
blob
|
history
diff --git
a/toys/mkswap.c
b/toys/mkswap.c
index
f902efe
..
a847ab8
100644
(file)
--- a/
toys/mkswap.c
+++ b/
toys/mkswap.c
@@
-4,7
+4,7
@@
*
* Copyright 2009 Rob Landley <rob@landley.net>
*
- * Not in SUSv
3
.
+ * Not in SUSv
4
.
USE_MKSWAP(NEWTOY(mkswap, "<1>2", TOYFLAG_SBIN))
diff --git
a/toys/tee.c
b/toys/tee.c
index
8c8f3d5
..
c11fb5c
100644
(file)
--- a/
toys/tee.c
+++ b/
toys/tee.c
@@
-52,7
+52,8
@@
void tee_main(void)
// Open output files
loopfiles_rw(toys.optargs,
- O_RDWR|O_CREAT|((toys.optflags&1)?O_APPEND:O_TRUNC), do_tee_open);
+ O_RDWR|O_CREAT|((toys.optflags&1)?O_APPEND:O_TRUNC), 0666, 0,
+ do_tee_open);
for (;;) {
struct fd_list *fdl;