commit | 11d2ff5ffac9382be0d6971b8ac84df21eca85df | [log] [tgz] |
---|---|---|
author | Rob Landley <rob@landley.net> | Sat Aug 08 19:21:42 2015 -0500 |
committer | Rob Landley <rob@landley.net> | Sat Aug 08 19:21:42 2015 -0500 |
tree | 3d145fc0f545138ebb1bb299bd88dabfe50dc8a3 | |
parent | 3501e103b3b1f9d79f733976e338d59478d2e6f6 [diff] [blame] |
First pass at proper bunzip2 command line handling.
diff --git a/lib/lib.c b/lib/lib.c index 81c989a..4b87f8c 100644 --- a/lib/lib.c +++ b/lib/lib.c
@@ -575,7 +575,7 @@ { close(fdin); close(fdout); - unlink(*tempname); + if (*tempname) unlink(*tempname); tempfile2zap = (char *)1; free(*tempname); *tempname = NULL;