comparison toys/tee.c @ 395:32c7b6af5b29

Whitespace/wordwrap changes.
author Rob Landley <rob@landley.net>
date Sun, 11 Dec 2011 03:54:58 -0600
parents 52600eee8dd6
children
comparison
equal deleted inserted replaced
394:92ef50262ec7 395:32c7b6af5b29
50 { 50 {
51 if (toys.optflags&2) signal(SIGINT, SIG_IGN); 51 if (toys.optflags&2) signal(SIGINT, SIG_IGN);
52 52
53 // Open output files 53 // Open output files
54 loopfiles_rw(toys.optargs, 54 loopfiles_rw(toys.optargs,
55 O_RDWR|O_CREAT|((toys.optflags&1)?O_APPEND:O_TRUNC), do_tee_open); 55 O_RDWR|O_CREAT|((toys.optflags&1)?O_APPEND:O_TRUNC), 0666, 0,
56 do_tee_open);
56 57
57 for (;;) { 58 for (;;) {
58 struct fd_list *fdl; 59 struct fd_list *fdl;
59 int len; 60 int len;
60 61