Simplify gunzip usage even more (doh!).
This commit is contained in:
parent
b3c2b0173a
commit
ef7b28dd0a
@ -4,7 +4,7 @@
|
||||
* This is probably the last program in the `sysinstall' line - the next
|
||||
* generation being essentially a complete rewrite.
|
||||
*
|
||||
* $Id: system.c,v 1.82 1997/07/31 11:08:45 jkh Exp $
|
||||
* $Id: system.c,v 1.83 1998/09/30 11:44:29 jkh Exp $
|
||||
*
|
||||
* Jordan Hubbard
|
||||
*
|
||||
@ -55,7 +55,7 @@ expand(char *fname)
|
||||
|
||||
Mkdir(DOC_TMP_DIR);
|
||||
unlink(DOC_TMP_FILE);
|
||||
if (!file_readable(fname) || vsystem("%s -c %s > %s", gunzip, fname, DOC_TMP_FILE))
|
||||
if (!file_readable(fname) || vsystem("%s < %s > %s", gunzip, fname, DOC_TMP_FILE))
|
||||
return NULL;
|
||||
return DOC_TMP_FILE;
|
||||
}
|
||||
|
@ -4,7 +4,7 @@
|
||||
* This is probably the last program in the `sysinstall' line - the next
|
||||
* generation being essentially a complete rewrite.
|
||||
*
|
||||
* $Id: system.c,v 1.82 1997/07/31 11:08:45 jkh Exp $
|
||||
* $Id: system.c,v 1.83 1998/09/30 11:44:29 jkh Exp $
|
||||
*
|
||||
* Jordan Hubbard
|
||||
*
|
||||
@ -55,7 +55,7 @@ expand(char *fname)
|
||||
|
||||
Mkdir(DOC_TMP_DIR);
|
||||
unlink(DOC_TMP_FILE);
|
||||
if (!file_readable(fname) || vsystem("%s -c %s > %s", gunzip, fname, DOC_TMP_FILE))
|
||||
if (!file_readable(fname) || vsystem("%s < %s > %s", gunzip, fname, DOC_TMP_FILE))
|
||||
return NULL;
|
||||
return DOC_TMP_FILE;
|
||||
}
|
||||
|
@ -4,7 +4,7 @@
|
||||
* This is probably the last program in the `sysinstall' line - the next
|
||||
* generation being essentially a complete rewrite.
|
||||
*
|
||||
* $Id: system.c,v 1.82 1997/07/31 11:08:45 jkh Exp $
|
||||
* $Id: system.c,v 1.83 1998/09/30 11:44:29 jkh Exp $
|
||||
*
|
||||
* Jordan Hubbard
|
||||
*
|
||||
@ -55,7 +55,7 @@ expand(char *fname)
|
||||
|
||||
Mkdir(DOC_TMP_DIR);
|
||||
unlink(DOC_TMP_FILE);
|
||||
if (!file_readable(fname) || vsystem("%s -c %s > %s", gunzip, fname, DOC_TMP_FILE))
|
||||
if (!file_readable(fname) || vsystem("%s < %s > %s", gunzip, fname, DOC_TMP_FILE))
|
||||
return NULL;
|
||||
return DOC_TMP_FILE;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user