Author: jkupec Date: Thu Jun 26 14:31:22 2008 New Revision: 10469 URL: http://svn.opensuse.org/viewcvs/zypp?rev=10469&view=rev Log: - don't close stderr (#398530) Modified: branches/SuSE-Linux-11_0-Branch/zypper/src/zypp-refresh-wrapper.c Modified: branches/SuSE-Linux-11_0-Branch/zypper/src/zypp-refresh-wrapper.c URL: http://svn.opensuse.org/viewcvs/zypp/branches/SuSE-Linux-11_0-Branch/zypper/src/zypp-refresh-wrapper.c?rev=10469&r1=10468&r2=10469&view=diff ============================================================================== --- branches/SuSE-Linux-11_0-Branch/zypper/src/zypp-refresh-wrapper.c (original) +++ branches/SuSE-Linux-11_0-Branch/zypper/src/zypp-refresh-wrapper.c Thu Jun 26 14:31:22 2008 @@ -34,7 +34,7 @@ /* see http://rechner.lst.de/~okir/blackhats/node35.html */ int fd = getdtablesize(); - while (fd-- > 2) + while (--fd > 2) close(fd); /* cd / to avoid NFS problems */ -- To unsubscribe, e-mail: zypp-commit+unsubscribe@opensuse.org For additional commands, e-mail: zypp-commit+help@opensuse.org