Make the return value of close() depend not only on the success of the
authorRafael Garcia-Suarez <rgarciasuarez@gmail.com>
Thu, 10 Mar 2005 17:42:54 +0000 (17:42 +0000)
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>
Thu, 10 Mar 2005 17:42:54 +0000 (17:42 +0000)
commite199e3bef188fd5eadcca420af186241e2773db1
treebe284908c5f675859483d5d54c190c70e20a565e
parent6ed007ae6b14c10b7b8e33947dc7bbed976b6e7c
Make the return value of close() depend not only on the success of the
close itself, but also on whether the output stream had a previous
error. From Jim Meyering <jim@meyering.net>, via Debian.

p4raw-id: //depot/perl@24022
doio.c