tony2001 Fri Feb 23 16:22:20 2007 UTC Modified files: (Branch: PHP_5_2) /php-src NEWS /php-src/ext/standard file.c Log: MFH: fix #40606 (umask is not being restored when request is finished) http://cvs.php.net/viewvc.cgi/php-src/NEWS?r1=1.2027.2.547.2.558&r2=1.2027.2.547.2.559&diff_format=u Index: php-src/NEWS diff -u php-src/NEWS:1.2027.2.547.2.558 php-src/NEWS:1.2027.2.547.2.559 --- php-src/NEWS:1.2027.2.547.2.558 Fri Feb 23 11:15:08 2007 +++ php-src/NEWS Fri Feb 23 16:22:19 2007 @@ -9,6 +9,8 @@ - Added --ri switch to CLI which allows to check extension information. (Marcus) - Added tidyNode::getParent() method (John, Nuno) - Fixed zend_llist_remove_tail (Michael Wallner, Dmitry) +- Fixed bug #40606 (umask is not being restored when request is finished). + (Tony) - Fixed bug #40598 (libxml segfault). (Rob) - Fixed bug #40578 (imagettftext() multithreading issue). (Tony, Pierre) - Fixed bug #40576 (double values are truncated to 6 decimal digits when http://cvs.php.net/viewvc.cgi/php-src/ext/standard/file.c?r1=1.409.2.6.2.16&r2=1.409.2.6.2.17&diff_format=u Index: php-src/ext/standard/file.c diff -u php-src/ext/standard/file.c:1.409.2.6.2.16 php-src/ext/standard/file.c:1.409.2.6.2.17 --- php-src/ext/standard/file.c:1.409.2.6.2.16 Tue Feb 13 12:56:36 2007 +++ php-src/ext/standard/file.c Fri Feb 23 16:22:20 2007 @@ -21,7 +21,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: file.c,v 1.409.2.6.2.16 2007/02/13 12:56:36 tony2001 Exp $ */ +/* $Id: file.c,v 1.409.2.6.2.17 2007/02/23 16:22:20 tony2001 Exp $ */ /* Synced with php 3.0 revision 1.218 1999-06-16 [ssb] */ @@ -1488,7 +1488,7 @@ oldumask = umask(077); - if (BG(umask) != -1) { + if (BG(umask) == -1) { BG(umask) = oldumask; }
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php