summaryrefslogtreecommitdiffstats
path: root/usr.bin/kzip
diff options
context:
space:
mode:
authorrgrimes <rgrimes@FreeBSD.org>1995-05-30 06:41:30 +0000
committerrgrimes <rgrimes@FreeBSD.org>1995-05-30 06:41:30 +0000
commita14d555c873398b14776ca4f2c33f9c69617afb9 (patch)
tree350f6f98843363254f9afe467ae0c92d5a9d7f43 /usr.bin/kzip
parentf3a2b348daf9fa6063c38d2d69563f732a2f80e7 (diff)
downloadFreeBSD-src-a14d555c873398b14776ca4f2c33f9c69617afb9.zip
FreeBSD-src-a14d555c873398b14776ca4f2c33f9c69617afb9.tar.gz
Remove trailing whitespace.
Diffstat (limited to 'usr.bin/kzip')
-rw-r--r--usr.bin/kzip/kzip.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/usr.bin/kzip/kzip.c b/usr.bin/kzip/kzip.c
index fe3cc0a..3115da7 100644
--- a/usr.bin/kzip/kzip.c
+++ b/usr.bin/kzip/kzip.c
@@ -9,7 +9,7 @@
* Copyright (C) 1993 Hannu Savolainen
* Ported to 386bsd by Serge Vakulenko
* based on tools/build.c by Linus Torvalds
- * $Id: kzip.c,v 1.1 1995/04/15 08:18:20 phk Exp $
+ * $Id: kzip.c,v 1.2 1995/04/25 05:27:04 phk Exp $
*
*/
@@ -54,7 +54,7 @@ main(int argc, char **argv)
perror(obj);
return 2;
}
-
+
if (pipe(pipe1) < 0) { perror("pipe()"); return 1; }
if (pipe(pipe2) < 0) { perror("pipe()"); return 1; }
@@ -99,7 +99,7 @@ main(int argc, char **argv)
close(pipe2[0]); close(pipe2[1]);
close(fdi); close(fdo);
- if (waitpid(Pext, &status,0) < 0)
+ if (waitpid(Pext, &status,0) < 0)
{ perror("waitpid(Pextract)"); return 1; }
if(status) {
@@ -107,15 +107,15 @@ main(int argc, char **argv)
return 3;
}
- if (waitpid(Pgzip, &status,0) < 0)
+ if (waitpid(Pgzip, &status,0) < 0)
{ perror("waitpid(Pgzip)"); return 1; }
-
+
if(status) {
fprintf(stderr,"gzip returned %x\n",status);
return 3;
}
- if (waitpid(Ppiggy, &status,0) < 0)
+ if (waitpid(Ppiggy, &status,0) < 0)
{ perror("waitpid(Ppiggy)"); return 1; }
if(status) {
@@ -140,7 +140,7 @@ main(int argc, char **argv)
exit(2);
}
- if (waitpid(Pld, &status,0) < 0)
+ if (waitpid(Pld, &status,0) < 0)
{ perror("waitpid(Pld)"); return 1; }
if(status) {
@@ -152,7 +152,7 @@ main(int argc, char **argv)
exit(0);
}
-int
+int
extract (char *file)
{
int sz;
@@ -184,7 +184,7 @@ extract (char *file)
n = read (0, buf, l);
if (n != l) {
- if (n == -1)
+ if (n == -1)
perror (file);
else
fprintf (stderr, "Unexpected EOF\n");
@@ -206,7 +206,7 @@ struct nlist var_names[2] = { /* Symbol table */
{ { (char*) 16 }, N_EXT|N_TEXT, 0, 0, 0 }, /* _input_len */
};
-int
+int
piggyback(char *file)
{
int n, len;
OpenPOWER on IntegriCloud