X-Git-Url: https://git.llucax.com/z.facultad/75.06/jacu.git/blobdiff_plain/d3e4e2b4f686ca773682ae4eec17ff2cab430cfd..6dba279c6a655c3d0d1d5371b58f4df69360cc73:/src/jacu.c 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) {