+2005-02-02 Corinna Vinschen <corinna@vinschen.de>
+
+ * pipe.cc (fhandler_pipe::dup): Fix conditionals in case of error.
+
2005-02-02 Corinna Vinschen <corinna@vinschen.de>
* times.cc (utimes): Mark st_ctime for update according to SUSv3.
/* pipe.cc: pipe for Cygwin.
- Copyright 1996, 1998, 1999, 2000, 2001, 2002, 2003, 2004 Red Hat, Inc.
+ Copyright 1996, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
+ 2005 Red Hat, Inc.
This file is part of Cygwin.
goto out;
err:
- if (!ftp->guard)
+ if (ftp->guard)
CloseHandle (ftp->guard);
- if (!ftp->writepipe_exists)
+ if (ftp->writepipe_exists)
CloseHandle (ftp->writepipe_exists);
- if (!ftp->read_state)
+ if (ftp->read_state)
CloseHandle (ftp->read_state);
goto leave;