From: Jonathan McDowell Date: Fri, 17 Dec 2004 10:17:14 +0000 (+0000) Subject: Fix problem with closing stderr in add.c X-Git-Tag: 0.3.2~3 X-Git-Url: http://the.earth.li/gitweb/?a=commitdiff_plain;h=e18b268d5c83bc3ad5d8cec975fa3adbf96ba2ae;hp=e18b268d5c83bc3ad5d8cec975fa3adbf96ba2ae;p=onak.git Fix problem with closing stderr in add.c Fred Strauss reported a problem when we close stderr in add.c; we now do some basic checking to try to ensure it's a valid file ptr before we close it. Also do this for stdout just in case. ---