Trivial changes: whitespace and modes.

Remote whitespace at the ends of lines.
Remove blank lines from the ends of files.
Change modes on source files so that they
are not executable.

Signed-off-by: Dan Cross <cross@gajendra.net>
This commit is contained in:
Dan Cross 2020-01-10 14:44:21 +00:00
parent 77a0a5b519
commit fa325e9b42
1021 changed files with 5688 additions and 6193 deletions

View file

@ -78,7 +78,7 @@ pass(int from, int to)
{
char buf[1024];
int ppid, cpid;
int n, tot = 0;
int n, tot = 0;
while ((n=read(from, buf, sizeof(buf))) > 0) {
if (n==1 && tot==0 && *buf=='\0')

View file

@ -289,7 +289,7 @@ main(int argc, char *argv[]) {
if (statflag) {
fprintf(stderr, "cannot have both -k and -q flags\n");
exit(1);
}
}
killflag = 1;
killarg = optarg;
break;
@ -297,7 +297,7 @@ main(int argc, char *argv[]) {
if (killflag) {
fprintf(stderr, "cannot have both -q and -k flags\n");
exit(1);
}
}
statflag = 1;
break;
case 's':

View file

@ -154,7 +154,7 @@ pass(int inpfd, int outfd, int bsize)
alarm(0);
return(bcnt);
}
/* get whatever stdin has and put it into the temporary file.
* return the file size.
*/