From 6dba279c6a655c3d0d1d5371b58f4df69360cc73 Mon Sep 17 00:00:00 2001 From: Ricardo Markiewicz Date: Sun, 20 Jun 2004 19:58:45 +0000 Subject: [PATCH] borro el archivo temporal cuando no lo uso mas. --- src/jacu.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/jacu.c b/src/jacu.c index 711374c..45b314c 100644 --- a/src/jacu.c +++ b/src/jacu.c @@ -71,7 +71,10 @@ int main(int argc, char* argv[]) fclose(fp); fclose(fp_out); bs_destroy(bs); - return shuff_encode_file("tmp.comp",argv[optind+1]); + i = shuff_encode_file("tmp.comp",argv[optind+1]); + /* borro el temporal */ + unlink("tmp.comp"); + return i; } if (dflag == 1) { -- 2.43.0