[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

CVS: cvs.openbsd.org: src

Module name:	src
Changes by:	pedro_(_at_)_cvs_(_dot_)_openbsd_(_dot_)_org	2004/08/06 12:31:11

Modified files:
	lib/libc/gen   : popen.c 

Log message:
in pclose(), only fclose() a stream if it has been opened by popen(), so
that applications doing: 'ok = (pclose(f) != -1) || (fclose(f) == 0)'
can work safely and avoid a double-close of a stream. ok millert@

Visit your host, monkey.org