cperciva e4c186657b In the error handling path, don't call close(fd) if the error we're
handling is that fd = open(foo) is -1.  This bug is harmless since
close(-1) just returns an error (which the code ignores).

Found by:	Coverity Prevent(tm)
CID:		1503 (in userland test run)
2007-05-22 04:21:00 +00:00
..
2006-12-23 09:25:23 +00:00
2006-11-02 19:10:05 +00:00
2006-07-09 21:47:37 +00:00
2006-12-18 15:45:01 +00:00
2007-03-04 19:52:07 +00:00
2006-09-17 17:40:07 +00:00
2005-11-17 12:15:23 +00:00
2007-03-04 09:15:12 +00:00
2006-12-27 11:28:00 +00:00
2006-09-17 17:40:07 +00:00
2006-12-27 12:14:56 +00:00
2005-08-07 09:11:38 +00:00
2006-12-14 10:42:46 +00:00