[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
CVS: cvs.openbsd.org: src
- To: source-changes_(_at_)_cvs_(_dot_)_openbsd_(_dot_)_org
- Subject: CVS: cvs.openbsd.org: src
- From: Pedro Martelletto <pedro_(_at_)_cvs_(_dot_)_openbsd_(_dot_)_org>
- Date: Fri, 6 Aug 2004 12:31:12 -0600 (MDT)
CVSROOT: /cvs
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