diff options
author | Fumitoshi UKAI <ukai@debian.or.jp> | 2003-01-22 16:11:03 +0000 |
---|---|---|
committer | Fumitoshi UKAI <ukai@debian.or.jp> | 2003-01-22 16:11:03 +0000 |
commit | 64672ce9cea6de1c89912f1af79cb20be03b21b3 (patch) | |
tree | 3b11ff00762d838c9b3193babbe534cde50fc8c6 | |
parent | [w3m-dev 03676] cleanup for pipe (diff) | |
download | w3m-64672ce9cea6de1c89912f1af79cb20be03b21b3.tar.gz w3m-64672ce9cea6de1c89912f1af79cb20be03b21b3.zip |
fix indent
-rw-r--r-- | etc.c | 14 | ||||
-rw-r--r-- | file.c | 4 |
2 files changed, 9 insertions, 9 deletions
@@ -1,4 +1,4 @@ -/* $Id: etc.c,v 1.53 2003/01/22 16:10:28 ukai Exp $ */ +/* $Id: etc.c,v 1.54 2003/01/22 16:11:03 ukai Exp $ */ #include "fm.h" #include <pwd.h> #include "myctype.h" @@ -1340,7 +1340,7 @@ setup_child(int child, int i, int f) } pid_t -open_pipe_rw(FILE **fr, FILE **fw) +open_pipe_rw(FILE ** fr, FILE ** fw) { int fdr[2]; int fdw[2]; @@ -1379,16 +1379,16 @@ open_pipe_rw(FILE **fr, FILE **fw) return pid; err2: if (fw) { - close(fdw[0]); - close(fdw[1]); + close(fdw[0]); + close(fdw[1]); } err1: if (fr) { - close(fdr[0]); - close(fdr[1]); + close(fdr[0]); + close(fdr[1]); } err0: - return (pid_t) -1; + return (pid_t) - 1; } void @@ -1,4 +1,4 @@ -/* $Id: file.c,v 1.198 2003/01/22 16:10:28 ukai Exp $ */ +/* $Id: file.c,v 1.199 2003/01/22 16:11:03 ukai Exp $ */ #include "fm.h" #include <sys/types.h> #include "myctype.h" @@ -7765,7 +7765,7 @@ uncompress_stream(URLFile *uf, char **src) /* child */ pid_t pid2; FILE *f2; - dup2(1, 2); /* stderr>&stdout */ + dup2(1, 2); /* stderr>&stdout */ setup_child(TRUE, -1, UFfileno(uf)); pid2 = open_pipe_rw(NULL, &f2); if (pid2 < 0) { |