Author: delphij Date: Tue Dec 26 08:33:02 2017 New Revision: 327192 URL: https://svnweb.freebsd.org/changeset/base/327192
Log: MFC r326791: Close the correct file descriptor. Modified: stable/10/usr.bin/gzip/gzip.c Directory Properties: stable/10/ (props changed) Modified: stable/10/usr.bin/gzip/gzip.c ============================================================================== --- stable/10/usr.bin/gzip/gzip.c Tue Dec 26 08:32:02 2017 (r327191) +++ stable/10/usr.bin/gzip/gzip.c Tue Dec 26 08:33:02 2017 (r327192) @@ -1630,7 +1630,7 @@ file_uncompress(char *file, char *outfile, size_t outs if (fd != -1) close(fd); if (zfd != -1 && zfd != STDOUT_FILENO) - close(fd); + close(zfd); return -1; } _______________________________________________ svn-src-stable-10@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-stable-10 To unsubscribe, send any mail to "svn-src-stable-10-unsubscr...@freebsd.org"