Date: Fri, 1 Dec 2000 16:07:56 -0800 (PST) From: Garance A Drosehn <gad@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/lib/libc/gen getcap.c Message-ID: <200012020007.eB207u381320@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
gad 2000/12/01 16:07:56 PST Modified files: lib/libc/gen getcap.c Log: Fix some error-handling logic so that ferror is called before fclose, instead of immediately after the fclose. The previous logic did work on freebsd, but is somewhat risky practice (and causes trouble when porting to other OS's). PR: bin/22965 Reviewed by: Garrett Wollman Revision Changes Path 1.13 +22 -8 src/lib/libc/gen/getcap.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200012020007.eB207u381320>