=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/compress/main.c,v retrieving revision 1.12 retrieving revision 1.13 diff -u -r1.12 -r1.13 --- src/usr.bin/compress/main.c 1999/09/26 17:35:49 1.12 +++ src/usr.bin/compress/main.c 2000/03/10 06:53:51 1.13 @@ -1,4 +1,4 @@ -/* $OpenBSD: main.c,v 1.12 1999/09/26 17:35:49 mickey Exp $ */ +/* $OpenBSD: main.c,v 1.13 2000/03/10 06:53:51 d Exp $ */ /*- * Copyright (c) 1992, 1993 @@ -41,7 +41,7 @@ #if 0 static char sccsid[] = "@(#)compress.c 8.2 (Berkeley) 1/7/94"; #else -static char rcsid[] = "$OpenBSD: main.c,v 1.12 1999/09/26 17:35:49 mickey Exp $"; +static char rcsid[] = "$OpenBSD: main.c,v 1.13 2000/03/10 06:53:51 d Exp $"; #endif #endif /* not lint */ @@ -432,6 +432,7 @@ if (!pipin && (method = check_method(ifd, out)) == NULL) { if (verbose >= 0) warnx("%s: unrecognized file format", in); + close (ifd); return -1; }