helly           Sat Dec 13 10:00:07 2003 EDT

  Modified files:              
    /php-src    NEWS 
    /php-src/ext/dba    dba.c 
  Log:
  Revert: need a PHP4.3 solution.
  # This solution cannot be backported to PHP 4.3 -- damn!
  
  
Index: php-src/NEWS
diff -u php-src/NEWS:1.1533 php-src/NEWS:1.1534
--- php-src/NEWS:1.1533 Sat Dec 13 09:50:05 2003
+++ php-src/NEWS        Sat Dec 13 10:00:04 2003
@@ -38,7 +38,6 @@
 - Fixed bug #26534 (stream_get_meta_data() -> Access Violation). (Wez)
 - Fixed bug #26528 (HTML entities are not being decoded by 
   xml_parse()/xml_parse_into_struct()). (Ilia)
-- Fixed bug #26304 (Unexpected data loss when opening dba file). (Marcus)
 - Fixed bug #26156 (REPLACE_ZVAL_VALUE works on uninit stack-based zvals).
   (Moriyoshi)
 - Fixed bug #26083 (Non-working write support in ext/dom). (Ilia)
Index: php-src/ext/dba/dba.c
diff -u php-src/ext/dba/dba.c:1.104 php-src/ext/dba/dba.c:1.105
--- php-src/ext/dba/dba.c:1.104 Sat Dec 13 09:50:06 2003
+++ php-src/ext/dba/dba.c       Sat Dec 13 10:00:04 2003
@@ -17,7 +17,7 @@
    +----------------------------------------------------------------------+
  */
 
-/* $Id: dba.c,v 1.104 2003/12/13 14:50:06 helly Exp $ */
+/* $Id: dba.c,v 1.105 2003/12/13 15:00:04 helly Exp $ */
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
@@ -654,7 +654,7 @@
                                /* the create/append check will be done on the lock
                                 * when the lib opens the file it is already created
                                 */
-                               file_mode = "a+b";
+                               file_mode = "w+b";
                                lock_file_mode = "a+b";
                        }
                        break;

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to