Author: jkupec Date: Thu Jun 26 14:55:20 2008 New Revision: 10471 URL: http://svn.opensuse.org/viewcvs/zypp?rev=10471&view=rev Log: - don't close stderr (#398530) Modified: trunk/zypper/src/zypp-refresh-wrapper.c Modified: trunk/zypper/src/zypp-refresh-wrapper.c URL: http://svn.opensuse.org/viewcvs/zypp/trunk/zypper/src/zypp-refresh-wrapper.c?rev=10471&r1=10470&r2=10471&view=diff ============================================================================== --- trunk/zypper/src/zypp-refresh-wrapper.c (original) +++ trunk/zypper/src/zypp-refresh-wrapper.c Thu Jun 26 14:55:20 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