[PHP-CVS-DAILY] cvs: php-src / ChangeLog

2008-10-13 Thread changelog
changelog   Tue Oct 14 01:32:11 2008 UTC

  Modified files:  
/php-srcChangeLog 
  Log:
  ChangeLog update
  http://cvs.php.net/viewvc.cgi/php-src/ChangeLog?r1=1.3197r2=1.3198diff_format=u
Index: php-src/ChangeLog
diff -u php-src/ChangeLog:1.3197 php-src/ChangeLog:1.3198
--- php-src/ChangeLog:1.3197Mon Oct 13 01:32:06 2008
+++ php-src/ChangeLog   Tue Oct 14 01:32:10 2008
@@ -1,3 +1,245 @@
+2008-10-13  Felipe Pena  [EMAIL PROTECTED]
+
+* (PHP_5_2)
+  NEWS:
+  - BFN #37100
+
+* (PHP_5_2)
+  ext/pgsql/pgsql.c
+  ext/pgsql/pgsql.c
+  ext/pgsql/tests/bug37100.phpt
+  ext/pgsql/tests/bug37100.phpt:
+  MFH:
+  - Fixed bug #37100 (data is returned truncated with BINARY CURSOR)
+Patch by Tony
+
+* ext/pgsql/pgsql.c
+  ext/pgsql/tests/bug37100.phpt
+  ext/pgsql/tests/bug37100.phpt
+  ext/pgsql/tests/bug37100.phpt:
+  - Fixed bug #37100 (data is returned truncated with BINARY CURSOR)
+Patch by Tony
+
+2008-10-13  Derick Rethans  [EMAIL PROTECTED]
+
+* ext/date/lib/timezonedb.h
+  ext/date/lib/timezonedb.h
+  ext/date/lib/timezonedb.h:
+  - Updated to version 2008.8 (2008h)
+
+2008-10-13  Greg Beaver  [EMAIL PROTECTED]
+
+* ext/phar/tests/stat.phpt:
+  MFB: increase code coverage
+
+* (PHP_5_3)
+  ext/phar/tests/stat.phpt:
+  increase code coverage
+
+* ext/phar/tests/cache_list/copyonwrite10.phar.phpt
+  ext/phar/tests/cache_list/copyonwrite11.phar.phpt
+  ext/phar/tests/cache_list/copyonwrite12.phar.phpt
+  ext/phar/tests/cache_list/copyonwrite13.phar.phpt
+  ext/phar/tests/cache_list/copyonwrite14.phar.phpt
+  ext/phar/tests/cache_list/copyonwrite15.phar.phpt
+  ext/phar/tests/cache_list/copyonwrite16.phar.phpt
+  ext/phar/tests/cache_list/copyonwrite17.phar.phpt
+  ext/phar/tests/cache_list/copyonwrite18.phar.phpt
+  ext/phar/tests/cache_list/copyonwrite19.phar.phpt
+  ext/phar/tests/cache_list/copyonwrite20.phar.phpt
+  ext/phar/tests/cache_list/copyonwrite21.phar.phpt
+  ext/phar/tests/cache_list/copyonwrite22.phar.phpt
+  ext/phar/tests/cache_list/copyonwrite23.phar.phpt
+  ext/phar/tests/cache_list/copyonwrite24.phar.phpt
+  ext/phar/tests/cache_list/copyonwrite4.phar.phpt
+  ext/phar/tests/cache_list/copyonwrite4a.phpt
+  ext/phar/tests/cache_list/copyonwrite5.phar.phpt
+  ext/phar/tests/cache_list/copyonwrite6.phar.phpt
+  ext/phar/tests/cache_list/copyonwrite7.phar.phpt
+  ext/phar/tests/cache_list/copyonwrite8.phar.phpt
+  ext/phar/tests/cache_list/copyonwrite9.phar.phpt
+  ext/phar/tests/cache_list/files/write10.phar
+  ext/phar/tests/cache_list/files/write10.phar.inc
+  ext/phar/tests/cache_list/files/write11.phar
+  ext/phar/tests/cache_list/files/write11.phar.inc
+  ext/phar/tests/cache_list/files/write12.phar
+  ext/phar/tests/cache_list/files/write12.phar.inc
+  ext/phar/tests/cache_list/files/write13.phar
+  ext/phar/tests/cache_list/files/write13.phar.inc
+  ext/phar/tests/cache_list/files/write14.phar
+  ext/phar/tests/cache_list/files/write14.phar.inc
+  ext/phar/tests/cache_list/files/write15.phar
+  ext/phar/tests/cache_list/files/write15.phar.inc
+  ext/phar/tests/cache_list/files/write16.phar
+  ext/phar/tests/cache_list/files/write16.phar.inc
+  ext/phar/tests/cache_list/files/write17.phar
+  ext/phar/tests/cache_list/files/write17.phar.inc
+  ext/phar/tests/cache_list/files/write18.phar
+  ext/phar/tests/cache_list/files/write18.phar.inc
+  ext/phar/tests/cache_list/files/write19.phar
+  ext/phar/tests/cache_list/files/write19.phar.inc
+  ext/phar/tests/cache_list/files/write2.phar.inc
+  ext/phar/tests/cache_list/files/write20.phar
+  ext/phar/tests/cache_list/files/write20.phar.inc
+  ext/phar/tests/cache_list/files/write21.phar
+  ext/phar/tests/cache_list/files/write21.phar.inc
+  ext/phar/tests/cache_list/files/write22.phar
+  ext/phar/tests/cache_list/files/write22.phar.inc
+  ext/phar/tests/cache_list/files/write23.phar
+  ext/phar/tests/cache_list/files/write23.phar.inc
+  ext/phar/tests/cache_list/files/write24.phar
+  ext/phar/tests/cache_list/files/write24.phar.inc
+  ext/phar/tests/cache_list/files/write3.phar
+  ext/phar/tests/cache_list/files/write3.phar.inc
+  ext/phar/tests/cache_list/files/write4.phar
+  ext/phar/tests/cache_list/files/write4.phar.inc
+  ext/phar/tests/cache_list/files/write5.phar
+  ext/phar/tests/cache_list/files/write5.phar.inc
+  ext/phar/tests/cache_list/files/write6.phar
+  ext/phar/tests/cache_list/files/write6.phar.inc
+  ext/phar/tests/cache_list/files/write7.phar
+  ext/phar/tests/cache_list/files/write7.phar.inc
+  ext/phar/tests/cache_list/files/write8.phar
+  ext/phar/tests/cache_list/files/write8.phar.inc
+  

[PHP-CVS] cvs: win-installer / GenPHPInstaller.wxs.php PHPInstallerBase52.wxs PHPInstallerBase53.wxs WebServerConfig53.wxs

2008-10-13 Thread Pierre-Alain Joye
pajoye  Mon Oct 13 09:57:01 2008 UTC

  Modified files:  
/win-installer  GenPHPInstaller.wxs.php PHPInstallerBase52.wxs 
PHPInstallerBase53.wxs WebServerConfig53.wxs 
  Log:
  - disabe apache1 in the installer
  
http://cvs.php.net/viewvc.cgi/win-installer/GenPHPInstaller.wxs.php?r1=1.7r2=1.8diff_format=u
Index: win-installer/GenPHPInstaller.wxs.php
diff -u win-installer/GenPHPInstaller.wxs.php:1.7 
win-installer/GenPHPInstaller.wxs.php:1.8
--- win-installer/GenPHPInstaller.wxs.php:1.7   Thu Sep 11 19:16:37 2008
+++ win-installer/GenPHPInstaller.wxs.php   Mon Oct 13 09:57:01 2008
@@ -45,6 +45,10 @@
 // remove extension info from php.ini-recommended
 $infile = fopen(Files/php.ini-recommended,'r');
 $outfile = fopen(Files/php.ini,'w');
+if (!$outfile || $infile) {
+   echo Cannot open php.ini or php.ini-recommended\n;
+   exit(1);
+}
 while (!feof($infile)) {
 $buffer = fgets($infile);
 if ( stristr($buffer,';extension') === FALSE ) {
http://cvs.php.net/viewvc.cgi/win-installer/PHPInstallerBase52.wxs?r1=1.26r2=1.27diff_format=u
Index: win-installer/PHPInstallerBase52.wxs
diff -u win-installer/PHPInstallerBase52.wxs:1.26 
win-installer/PHPInstallerBase52.wxs:1.27
--- win-installer/PHPInstallerBase52.wxs:1.26   Fri Sep 12 16:03:32 2008
+++ win-installer/PHPInstallerBase52.wxsMon Oct 13 09:57:01 2008
@@ -399,8 +399,10 @@
   Title=$(loc.Featureapache13Title) 
   Description=$(loc.Featureapache13Description) 
   Level=10
+!--
   ComponentRef Id=php5apacheDLL/
   ComponentRef Id=php5apache_hooksDLL/
+--
   ComponentRef Id=phpwinEXE/
   ComponentRef Id=apache13registry/
 /Feature
@@ -420,7 +422,7 @@
   Title=$(loc.Featureapache22Title) 
   Description=$(loc.Featureapache22Description) 
   Level=10
-  ComponentRef Id=php5apache2_2DLL/
+ ComponentRef Id=php5apache2_2DLL/
   ComponentRef Id=php5apache2_2_filterDLL/
   ComponentRef Id=php5apache_hooksDLL/
   ComponentRef Id=phpwinEXE/
http://cvs.php.net/viewvc.cgi/win-installer/PHPInstallerBase53.wxs?r1=1.3r2=1.4diff_format=u
Index: win-installer/PHPInstallerBase53.wxs
diff -u win-installer/PHPInstallerBase53.wxs:1.3 
win-installer/PHPInstallerBase53.wxs:1.4
--- win-installer/PHPInstallerBase53.wxs:1.3Fri Sep 12 16:03:32 2008
+++ win-installer/PHPInstallerBase53.wxsMon Oct 13 09:57:01 2008
@@ -378,8 +378,10 @@
   Title=$(loc.Featureapache13Title) 
   Description=$(loc.Featureapache13Description) 
   Level=10
+!--
   ComponentRef Id=php5apacheDLL/
   ComponentRef Id=php5apache_hooksDLL/
+--
   ComponentRef Id=phpwinEXE/
   ComponentRef Id=apache13registry/
 /Feature
@@ -390,7 +392,7 @@
   Level=10
   ComponentRef Id=php5apache2DLL/
   ComponentRef Id=php5apache2_filterDLL/
-  ComponentRef Id=php5apache_hooksDLL/
+!-- ComponentRef Id=php5apache_hooksDLL/ --
   ComponentRef Id=phpwinEXE/
   ComponentRef Id=apache20registry/
 /Feature
@@ -401,7 +403,7 @@
   Level=10
   ComponentRef Id=php5apache2_2DLL/
   ComponentRef Id=php5apache2_2_filterDLL/
-  ComponentRef Id=php5apache_hooksDLL/
+!--  ComponentRef Id=php5apache_hooksDLL/--
   ComponentRef Id=phpwinEXE/
   ComponentRef Id=apache22registry/
 /Feature
http://cvs.php.net/viewvc.cgi/win-installer/WebServerConfig53.wxs?r1=1.1r2=1.2diff_format=u
Index: win-installer/WebServerConfig53.wxs
diff -u win-installer/WebServerConfig53.wxs:1.1 
win-installer/WebServerConfig53.wxs:1.2
--- win-installer/WebServerConfig53.wxs:1.1 Fri Aug 22 18:51:40 2008
+++ win-installer/WebServerConfig53.wxs Mon Oct 13 09:57:01 2008
@@ -2,9 +2,11 @@
 Wix xmlns='http://schemas.microsoft.com/wix/2003/01/wi'
   Fragment Id='FragmentWebServerConfig'
 DirectoryRef Id='INSTALLDIR'
+!--
   Component Id=php5apacheDLL DiskId=1 
Guid=FEEF42A9-BCCA-44DD-88E5-501D39B87DA0
 File Id=filephp5apacheDLL Name=PHP5AP_1.DLL 
LongName=php5apache.dll Source=Files\php5apache.dll /
   /Component
+--
   Component Id=php5apache2DLL DiskId=1 
Guid=97997967-0ED5-4695-A714-F1333A0FC1B9
 File Id=filephp5apache2DLL Name=PHP5AP_2.DLL 
LongName=php5apache2.dll Source=Files\php5apache2.dll /
   /Component
@@ -17,9 +19,11 @@
   Component Id=php5apache2_2_filterDLL DiskId=1 
Guid=828FA07E-3624-11DC-8CB8-308555D89593
 File Id=filephp5apache2_2_filterDLL Name=PHP5AP_3.DLL 
LongName=php5apache2_2_filter.dll Source=Files\php5apache2_2_filter.dll /
   /Component
+!--
   Component Id=php5apache_hooksDLL DiskId=1 
Guid=C4DB476D-1A0A-4C46-826C-1D3FD4BA45D0
 File Id=filephp5apache_hooksDLL Name=PHP5AP_4.DLL 
LongName=php5apache_hooks.dll Source=Files\php5apache_hooks.dll /
   /Component
+--
   Component Id=php5isapiDLL 

[PHP-CVS] cvs: php-src /ext/pgsql pgsql.c /ext/pgsql/tests bug37100.phpt

2008-10-13 Thread Felipe Pena
felipe  Mon Oct 13 13:41:16 2008 UTC

  Added files: 
/php-src/ext/pgsql/testsbug37100.phpt 

  Modified files:  
/php-src/ext/pgsql  pgsql.c 
  Log:
  - Fixed bug #37100 (data is returned truncated with BINARY CURSOR)
Patch by Tony
  
  
http://cvs.php.net/viewvc.cgi/php-src/ext/pgsql/pgsql.c?r1=1.387r2=1.388diff_format=u
Index: php-src/ext/pgsql/pgsql.c
diff -u php-src/ext/pgsql/pgsql.c:1.387 php-src/ext/pgsql/pgsql.c:1.388
--- php-src/ext/pgsql/pgsql.c:1.387 Wed Oct  8 23:04:58 2008
+++ php-src/ext/pgsql/pgsql.c   Mon Oct 13 13:41:16 2008
@@ -20,7 +20,7 @@
+--+
  */
  
-/* $Id: pgsql.c,v 1.387 2008/10/08 23:04:58 iliaa Exp $ */
+/* $Id: pgsql.c,v 1.388 2008/10/13 13:41:16 felipe Exp $ */
 
 #include stdlib.h
 
@@ -2472,10 +2472,9 @@
if (PQgetisnull(pgsql_result, pgsql_row, field_offset)) {
Z_TYPE_P(return_value) = IS_NULL;
} else {
-   Z_STRVAL_P(return_value) = PQgetvalue(pgsql_result, pgsql_row, 
field_offset);
-   Z_STRLEN_P(return_value) = (Z_STRVAL_P(return_value) ? 
strlen(Z_STRVAL_P(return_value)) : 0);
-   Z_STRVAL_P(return_value) = 
safe_estrndup(Z_STRVAL_P(return_value),Z_STRLEN_P(return_value));
-   Z_TYPE_P(return_value) = IS_STRING;
+   char *value = PQgetvalue(pgsql_result, pgsql_row, field_offset);
+   int value_len = PQgetlength(pgsql_result, pgsql_row, 
field_offset);
+   ZVAL_STRINGL(return_value, value, value_len, 1);
}
 }
 /* }}} */

http://cvs.php.net/viewvc.cgi/php-src/ext/pgsql/tests/bug37100.phpt?view=markuprev=1.1
Index: php-src/ext/pgsql/tests/bug37100.phpt
+++ php-src/ext/pgsql/tests/bug37100.phpt
--TEST--
Bug #37100 (data is returned truncated with BINARY CURSOR)
--SKIPIF--
?php include(skipif.inc); ?
--FILE--
?php

include 'config.inc';

$db = pg_connect($conn_str);

@pg_query('DROP TABLE test_bug');

pg_query('CREATE TABLE test_bug (binfield byteA) ;');
pg_query(INSERT INTO test_bug VALUES (decode('0103AA000812','hex')));


$data = pg_query(SELECT binfield FROM test_bug);
$res = pg_fetch_result($data,0);
var_dump($res);
var_dump(bin2hex(pg_unescape_bytea($res)));

$sql = BEGIN; DECLARE mycursor BINARY CURSOR FOR SELECT binfield FROM 
test_bug; FETCH ALL IN mycursor;;

$data = pg_query($sql);
$res = pg_fetch_result($data,0);

var_dump(strlen($res));
var_dump(bin2hex($res));

pg_close($db);

$db = pg_connect($conn_str);
pg_query('DROP TABLE test_bug');
pg_close($db);


?
--EXPECT--
string(24) \001\003\252\000\010\022
string(12) 0103aa000812
int(6)
string(12) 0103aa000812



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



[PHP-CVS] cvs: php-src(PHP_5_3) /ext/pgsql pgsql.c /ext/pgsql/tests bug37100.phpt

2008-10-13 Thread Felipe Pena
felipe  Mon Oct 13 13:44:32 2008 UTC

  Added files: (Branch: PHP_5_3)
/php-src/ext/pgsql/testsbug37100.phpt 

  Modified files:  
/php-src/ext/pgsql  pgsql.c 
  Log:
  MFH:
  - Fixed bug #37100 (data is returned truncated with BINARY CURSOR)
Patch by Tony
  
  
http://cvs.php.net/viewvc.cgi/php-src/ext/pgsql/pgsql.c?r1=1.331.2.13.2.24.2.16r2=1.331.2.13.2.24.2.17diff_format=u
Index: php-src/ext/pgsql/pgsql.c
diff -u php-src/ext/pgsql/pgsql.c:1.331.2.13.2.24.2.16 
php-src/ext/pgsql/pgsql.c:1.331.2.13.2.24.2.17
--- php-src/ext/pgsql/pgsql.c:1.331.2.13.2.24.2.16  Wed Oct  8 23:04:38 2008
+++ php-src/ext/pgsql/pgsql.c   Mon Oct 13 13:44:32 2008
@@ -20,7 +20,7 @@
+--+
  */
  
-/* $Id: pgsql.c,v 1.331.2.13.2.24.2.16 2008/10/08 23:04:38 iliaa Exp $ */
+/* $Id: pgsql.c,v 1.331.2.13.2.24.2.17 2008/10/13 13:44:32 felipe Exp $ */
 
 #include stdlib.h
 
@@ -2482,10 +2482,9 @@
if (PQgetisnull(pgsql_result, pgsql_row, field_offset)) {
Z_TYPE_P(return_value) = IS_NULL;
} else {
-   Z_STRVAL_P(return_value) = PQgetvalue(pgsql_result, pgsql_row, 
field_offset);
-   Z_STRLEN_P(return_value) = (Z_STRVAL_P(return_value) ? 
strlen(Z_STRVAL_P(return_value)) : 0);
-   Z_STRVAL_P(return_value) = 
safe_estrndup(Z_STRVAL_P(return_value),Z_STRLEN_P(return_value));
-   Z_TYPE_P(return_value) = IS_STRING;
+   char *value = PQgetvalue(pgsql_result, pgsql_row, field_offset);
+   int value_len = PQgetlength(pgsql_result, pgsql_row, 
field_offset);
+   ZVAL_STRINGL(return_value, value, value_len, 1);
}
 }
 /* }}} */

http://cvs.php.net/viewvc.cgi/php-src/ext/pgsql/tests/bug37100.phpt?view=markuprev=1.1
Index: php-src/ext/pgsql/tests/bug37100.phpt
+++ php-src/ext/pgsql/tests/bug37100.phpt
--TEST--
Bug #37100 (data is returned truncated with BINARY CURSOR)
--SKIPIF--
?php include(skipif.inc); ?
--FILE--
?php

include 'config.inc';

$db = pg_connect($conn_str);

@pg_query('DROP TABLE test_bug');

pg_query('CREATE TABLE test_bug (binfield byteA) ;');
pg_query(INSERT INTO test_bug VALUES (decode('0103AA000812','hex')));


$data = pg_query(SELECT binfield FROM test_bug);
$res = pg_fetch_result($data,0);
var_dump($res);
var_dump(bin2hex(pg_unescape_bytea($res)));

$sql = BEGIN; DECLARE mycursor BINARY CURSOR FOR SELECT binfield FROM 
test_bug; FETCH ALL IN mycursor;;

$data = pg_query($sql);
$res = pg_fetch_result($data,0);

var_dump(strlen($res));
var_dump(bin2hex($res));

pg_close($db);

$db = pg_connect($conn_str);
pg_query('DROP TABLE test_bug');
pg_close($db);


?
--EXPECT--
string(24) \001\003\252\000\010\022
string(12) 0103aa000812
int(6)
string(12) 0103aa000812



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



[PHP-CVS] cvs: php-src(PHP_5_2) /ext/pgsql pgsql.c /ext/pgsql/tests bug37100.phpt

2008-10-13 Thread Felipe Pena
felipe  Mon Oct 13 13:46:25 2008 UTC

  Added files: (Branch: PHP_5_2)
/php-src/ext/pgsql/testsbug37100.phpt 

  Modified files:  
/php-src/ext/pgsql  pgsql.c 
  Log:
  MFH:
  - Fixed bug #37100 (data is returned truncated with BINARY CURSOR)
Patch by Tony
  
  
http://cvs.php.net/viewvc.cgi/php-src/ext/pgsql/pgsql.c?r1=1.331.2.13.2.29r2=1.331.2.13.2.30diff_format=u
Index: php-src/ext/pgsql/pgsql.c
diff -u php-src/ext/pgsql/pgsql.c:1.331.2.13.2.29 
php-src/ext/pgsql/pgsql.c:1.331.2.13.2.30
--- php-src/ext/pgsql/pgsql.c:1.331.2.13.2.29   Tue Oct  7 14:35:04 2008
+++ php-src/ext/pgsql/pgsql.c   Mon Oct 13 13:46:25 2008
@@ -20,7 +20,7 @@
+--+
  */
  
-/* $Id: pgsql.c,v 1.331.2.13.2.29 2008/10/07 14:35:04 iliaa Exp $ */
+/* $Id: pgsql.c,v 1.331.2.13.2.30 2008/10/13 13:46:25 felipe Exp $ */
 
 #include stdlib.h
 
@@ -1983,10 +1983,9 @@
if (PQgetisnull(pgsql_result, pgsql_row, field_offset)) {
Z_TYPE_P(return_value) = IS_NULL;
} else {
-   Z_STRVAL_P(return_value) = PQgetvalue(pgsql_result, pgsql_row, 
field_offset);
-   Z_STRLEN_P(return_value) = (Z_STRVAL_P(return_value) ? 
strlen(Z_STRVAL_P(return_value)) : 0);
-   Z_STRVAL_P(return_value) = 
safe_estrndup(Z_STRVAL_P(return_value),Z_STRLEN_P(return_value));
-   Z_TYPE_P(return_value) = IS_STRING;
+   char *value = PQgetvalue(pgsql_result, pgsql_row, field_offset);
+   int value_len = PQgetlength(pgsql_result, pgsql_row, 
field_offset);
+   ZVAL_STRINGL(return_value, value, value_len, 1);
}
 }
 /* }}} */

http://cvs.php.net/viewvc.cgi/php-src/ext/pgsql/tests/bug37100.phpt?view=markuprev=1.1
Index: php-src/ext/pgsql/tests/bug37100.phpt
+++ php-src/ext/pgsql/tests/bug37100.phpt
--TEST--
Bug #37100 (data is returned truncated with BINARY CURSOR)
--SKIPIF--
?php include(skipif.inc); ?
--FILE--
?php

include 'config.inc';

$db = pg_connect($conn_str);

@pg_query('DROP TABLE test_bug');

pg_query('CREATE TABLE test_bug (binfield byteA) ;');
pg_query(INSERT INTO test_bug VALUES (decode('0103AA000812','hex')));


$data = pg_query(SELECT binfield FROM test_bug);
$res = pg_fetch_result($data,0);
var_dump($res);
var_dump(bin2hex(pg_unescape_bytea($res)));

$sql = BEGIN; DECLARE mycursor BINARY CURSOR FOR SELECT binfield FROM 
test_bug; FETCH ALL IN mycursor;;

$data = pg_query($sql);
$res = pg_fetch_result($data,0);

var_dump(strlen($res));
var_dump(bin2hex($res));

pg_close($db);

$db = pg_connect($conn_str);
pg_query('DROP TABLE test_bug');
pg_close($db);


?
--EXPECT--
string(24) \001\003\252\000\010\022
string(12) 0103aa000812
int(6)
string(12) 0103aa000812



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



[PHP-CVS] cvs: php-src(PHP_5_2) / NEWS

2008-10-13 Thread Felipe Pena
felipe  Mon Oct 13 13:47:24 2008 UTC

  Modified files:  (Branch: PHP_5_2)
/php-srcNEWS 
  Log:
  - BFN #37100
  
http://cvs.php.net/viewvc.cgi/php-src/NEWS?r1=1.2027.2.547.2.1254r2=1.2027.2.547.2.1255diff_format=u
Index: php-src/NEWS
diff -u php-src/NEWS:1.2027.2.547.2.1254 php-src/NEWS:1.2027.2.547.2.1255
--- php-src/NEWS:1.2027.2.547.2.1254Sun Oct 12 19:00:58 2008
+++ php-src/NEWSMon Oct 13 13:47:24 2008
@@ -11,6 +11,7 @@
   after end of stream). (Keisial at gmail dot com, Greg)
 - Fixed bug #44251, #41125 (PDO + quote() + prepare() can result in segfault).
   (tsteiner at nerdclub dot net)
+- Fixed bug #37100 (data is returned truncated with BINARY CURSOR). (Tony)
 
 09 Oct 2008, PHP 5.2.7RC1
 - Reverted fix for bug #44197 due to behaviour change in minor version.



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



[PHP-CVS] cvs: php-src(PHP_5_3) /ext/date/lib timezonedb.h

2008-10-13 Thread Derick Rethans
derick  Mon Oct 13 11:45:41 2008 UTC

  Modified files:  (Branch: PHP_5_3)
/php-src/ext/date/lib   timezonedb.h 
  Log:
  - Updated to version 2008.8 (2008h)
  http://cvs.php.net/viewvc.cgi/php-src/ext/date/lib/timezonedb.h?r1=1.4.2.7.2.10.2.12r2=1.4.2.7.2.10.2.13diff_format=u
Index: php-src/ext/date/lib/timezonedb.h
diff -u php-src/ext/date/lib/timezonedb.h:1.4.2.7.2.10.2.12 
php-src/ext/date/lib/timezonedb.h:1.4.2.7.2.10.2.13
--- php-src/ext/date/lib/timezonedb.h:1.4.2.7.2.10.2.12 Mon Oct  6 14:27:41 2008
+++ php-src/ext/date/lib/timezonedb.h   Mon Oct 13 11:45:39 2008
@@ -473,93 +473,93 @@
{ Indian/Mahe   , 0x037968 },
{ Indian/Maldives   , 0x0379BD },
{ Indian/Mauritius  , 0x037A12 },
-   { Indian/Mayotte, 0x037BA5 },
-   { Indian/Reunion, 0x037BFA },
-   { Iran  , 0x037C4F },
-   { Israel, 0x037EBD },
-   { Jamaica   , 0x0381EC },
-   { Japan , 0x0382B1 },
-   { Kwajalein , 0x03833A },
-   { Libya , 0x03839D },
-   { MET   , 0x038497 },
-   { Mexico/BajaNorte  , 0x0387A0 },
-   { Mexico/BajaSur, 0x038B09 },
-   { Mexico/General, 0x038D4E },
-   { MST   , 0x038FAC },
-   { MST7MDT   , 0x038FF0 },
-   { Navajo, 0x039341 },
-   { NZ, 0x0396BA },
-   { NZ-CHAT   , 0x039A38 },
-   { Pacific/Apia  , 0x039D20 },
-   { Pacific/Auckland  , 0x039D87 },
-   { Pacific/Chatham   , 0x03A113 },
-   { Pacific/Easter, 0x03A40A },
-   { Pacific/Efate , 0x03A768 },
-   { Pacific/Enderbury , 0x03A82E },
-   { Pacific/Fakaofo   , 0x03A89C },
-   { Pacific/Fiji  , 0x03A8E0 },
-   { Pacific/Funafuti  , 0x03A956 },
-   { Pacific/Galapagos , 0x03A99A },
-   { Pacific/Gambier   , 0x03AA12 },
-   { Pacific/Guadalcanal   , 0x03AA77 },
-   { Pacific/Guam  , 0x03AACC },
-   { Pacific/Honolulu  , 0x03AB22 },
-   { Pacific/Johnston  , 0x03ABB6 },
-   { Pacific/Kiritimati, 0x03AC08 },
-   { Pacific/Kosrae, 0x03AC73 },
-   { Pacific/Kwajalein , 0x03ACD0 },
-   { Pacific/Majuro, 0x03AD3C },
-   { Pacific/Marquesas , 0x03AD9B },
-   { Pacific/Midway, 0x03AE02 },
-   { Pacific/Nauru , 0x03AE8C },
-   { Pacific/Niue  , 0x03AF04 },
-   { Pacific/Norfolk   , 0x03AF62 },
-   { Pacific/Noumea, 0x03AFB7 },
-   { Pacific/Pago_Pago , 0x03B047 },
-   { Pacific/Palau , 0x03B0D0 },
-   { Pacific/Pitcairn  , 0x03B114 },
-   { Pacific/Ponape, 0x03B169 },
-   { Pacific/Port_Moresby  , 0x03B1BE },
-   { Pacific/Rarotonga , 0x03B202 },
-   { Pacific/Saipan, 0x03B2DE },
-   { Pacific/Samoa , 0x03B341 },
-   { Pacific/Tahiti, 0x03B3CA },
-   { Pacific/Tarawa, 0x03B42F },
-   { Pacific/Tongatapu , 0x03B483 },
-   { Pacific/Truk  , 0x03B50F },
-   { Pacific/Wake  , 0x03B568 },
-   { Pacific/Wallis, 0x03B5B8 },
-   { Pacific/Yap   , 0x03B5FC },
-   { Poland, 0x03B641 },
-   { Portugal  , 0x03BA22 },
-   { PRC   , 0x03BF1E },
-   { PST8PDT   , 0x03BFCF },
-   { ROC   , 0x03C320 },
-   { ROK   , 0x03C438 },
-   { Singapore , 0x03C4DC },
-   { Turkey, 0x03C593 },
-   { UCT   , 0x03C980 },
-   { Universal , 0x03C9C4 },
-   { US/Alaska , 0x03CA08 },
-   { US/Aleutian   , 0x03CD71 },
-   { US/Arizona, 0x03D0D7 },
-   { US/Central, 0x03D165 },
-   { US/East-Indiana   , 0x03DB6F },
-   { US/Eastern 

[PHP-CVS] cvs: php-src /ext/date/lib timezonedb.h

2008-10-13 Thread Derick Rethans
derick  Mon Oct 13 11:45:32 2008 UTC

  Modified files:  
/php-src/ext/date/lib   timezonedb.h 
  Log:
  - Updated to version 2008.8 (2008h)
  http://cvs.php.net/viewvc.cgi/php-src/ext/date/lib/timezonedb.h?r1=1.34r2=1.35diff_format=u
Index: php-src/ext/date/lib/timezonedb.h
diff -u php-src/ext/date/lib/timezonedb.h:1.34 
php-src/ext/date/lib/timezonedb.h:1.35
--- php-src/ext/date/lib/timezonedb.h:1.34  Mon Oct  6 14:27:33 2008
+++ php-src/ext/date/lib/timezonedb.h   Mon Oct 13 11:45:32 2008
@@ -473,93 +473,93 @@
{ Indian/Mahe   , 0x037968 },
{ Indian/Maldives   , 0x0379BD },
{ Indian/Mauritius  , 0x037A12 },
-   { Indian/Mayotte, 0x037BA5 },
-   { Indian/Reunion, 0x037BFA },
-   { Iran  , 0x037C4F },
-   { Israel, 0x037EBD },
-   { Jamaica   , 0x0381EC },
-   { Japan , 0x0382B1 },
-   { Kwajalein , 0x03833A },
-   { Libya , 0x03839D },
-   { MET   , 0x038497 },
-   { Mexico/BajaNorte  , 0x0387A0 },
-   { Mexico/BajaSur, 0x038B09 },
-   { Mexico/General, 0x038D4E },
-   { MST   , 0x038FAC },
-   { MST7MDT   , 0x038FF0 },
-   { Navajo, 0x039341 },
-   { NZ, 0x0396BA },
-   { NZ-CHAT   , 0x039A38 },
-   { Pacific/Apia  , 0x039D20 },
-   { Pacific/Auckland  , 0x039D87 },
-   { Pacific/Chatham   , 0x03A113 },
-   { Pacific/Easter, 0x03A40A },
-   { Pacific/Efate , 0x03A768 },
-   { Pacific/Enderbury , 0x03A82E },
-   { Pacific/Fakaofo   , 0x03A89C },
-   { Pacific/Fiji  , 0x03A8E0 },
-   { Pacific/Funafuti  , 0x03A956 },
-   { Pacific/Galapagos , 0x03A99A },
-   { Pacific/Gambier   , 0x03AA12 },
-   { Pacific/Guadalcanal   , 0x03AA77 },
-   { Pacific/Guam  , 0x03AACC },
-   { Pacific/Honolulu  , 0x03AB22 },
-   { Pacific/Johnston  , 0x03ABB6 },
-   { Pacific/Kiritimati, 0x03AC08 },
-   { Pacific/Kosrae, 0x03AC73 },
-   { Pacific/Kwajalein , 0x03ACD0 },
-   { Pacific/Majuro, 0x03AD3C },
-   { Pacific/Marquesas , 0x03AD9B },
-   { Pacific/Midway, 0x03AE02 },
-   { Pacific/Nauru , 0x03AE8C },
-   { Pacific/Niue  , 0x03AF04 },
-   { Pacific/Norfolk   , 0x03AF62 },
-   { Pacific/Noumea, 0x03AFB7 },
-   { Pacific/Pago_Pago , 0x03B047 },
-   { Pacific/Palau , 0x03B0D0 },
-   { Pacific/Pitcairn  , 0x03B114 },
-   { Pacific/Ponape, 0x03B169 },
-   { Pacific/Port_Moresby  , 0x03B1BE },
-   { Pacific/Rarotonga , 0x03B202 },
-   { Pacific/Saipan, 0x03B2DE },
-   { Pacific/Samoa , 0x03B341 },
-   { Pacific/Tahiti, 0x03B3CA },
-   { Pacific/Tarawa, 0x03B42F },
-   { Pacific/Tongatapu , 0x03B483 },
-   { Pacific/Truk  , 0x03B50F },
-   { Pacific/Wake  , 0x03B568 },
-   { Pacific/Wallis, 0x03B5B8 },
-   { Pacific/Yap   , 0x03B5FC },
-   { Poland, 0x03B641 },
-   { Portugal  , 0x03BA22 },
-   { PRC   , 0x03BF1E },
-   { PST8PDT   , 0x03BFCF },
-   { ROC   , 0x03C320 },
-   { ROK   , 0x03C438 },
-   { Singapore , 0x03C4DC },
-   { Turkey, 0x03C593 },
-   { UCT   , 0x03C980 },
-   { Universal , 0x03C9C4 },
-   { US/Alaska , 0x03CA08 },
-   { US/Aleutian   , 0x03CD71 },
-   { US/Arizona, 0x03D0D7 },
-   { US/Central, 0x03D165 },
-   { US/East-Indiana   , 0x03DB6F },
-   { US/Eastern, 0x03D670 },
-   { US/Hawaii 

[PHP-CVS] cvs: CVSROOT / avail

2008-10-13 Thread Pierre-Alain Joye
pajoye  Mon Oct 13 09:56:44 2008 UTC

  Modified files:  
/CVSROOTavail 
  Log:
  - give myself win-installer karma
  
  
http://cvs.php.net/viewvc.cgi/CVSROOT/avail?r1=1.1451r2=1.1452diff_format=u
Index: CVSROOT/avail
diff -u CVSROOT/avail:1.1451 CVSROOT/avail:1.1452
--- CVSROOT/avail:1.1451Fri Oct  3 07:23:09 2008
+++ CVSROOT/avail   Mon Oct 13 09:56:43 2008
@@ -26,7 +26,7 @@
 avail|shane,wez,edink|fastcgi-isapi
 
 # Win Installer
-avail|edink,jmertic|win-installer
+avail|edink,jmertic,pajoye|win-installer
 
 # Testfest web
 avail|davidc,lsmith,goldoraf|php-testfest-web



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



[PHP-CVS] cvs: php-src(PHP_5_2) /ext/date/lib timezonedb.h

2008-10-13 Thread Derick Rethans
derick  Mon Oct 13 11:45:50 2008 UTC

  Modified files:  (Branch: PHP_5_2)
/php-src/ext/date/lib   timezonedb.h 
  Log:
  - Updated to version 2008.8 (2008h)
  http://cvs.php.net/viewvc.cgi/php-src/ext/date/lib/timezonedb.h?r1=1.4.2.7.2.22r2=1.4.2.7.2.23diff_format=u
Index: php-src/ext/date/lib/timezonedb.h
diff -u php-src/ext/date/lib/timezonedb.h:1.4.2.7.2.22 
php-src/ext/date/lib/timezonedb.h:1.4.2.7.2.23
--- php-src/ext/date/lib/timezonedb.h:1.4.2.7.2.22  Mon Oct  6 14:27:51 2008
+++ php-src/ext/date/lib/timezonedb.h   Mon Oct 13 11:45:48 2008
@@ -473,93 +473,93 @@
{ Indian/Mahe   , 0x037968 },
{ Indian/Maldives   , 0x0379BD },
{ Indian/Mauritius  , 0x037A12 },
-   { Indian/Mayotte, 0x037BA5 },
-   { Indian/Reunion, 0x037BFA },
-   { Iran  , 0x037C4F },
-   { Israel, 0x037EBD },
-   { Jamaica   , 0x0381EC },
-   { Japan , 0x0382B1 },
-   { Kwajalein , 0x03833A },
-   { Libya , 0x03839D },
-   { MET   , 0x038497 },
-   { Mexico/BajaNorte  , 0x0387A0 },
-   { Mexico/BajaSur, 0x038B09 },
-   { Mexico/General, 0x038D4E },
-   { MST   , 0x038FAC },
-   { MST7MDT   , 0x038FF0 },
-   { Navajo, 0x039341 },
-   { NZ, 0x0396BA },
-   { NZ-CHAT   , 0x039A38 },
-   { Pacific/Apia  , 0x039D20 },
-   { Pacific/Auckland  , 0x039D87 },
-   { Pacific/Chatham   , 0x03A113 },
-   { Pacific/Easter, 0x03A40A },
-   { Pacific/Efate , 0x03A768 },
-   { Pacific/Enderbury , 0x03A82E },
-   { Pacific/Fakaofo   , 0x03A89C },
-   { Pacific/Fiji  , 0x03A8E0 },
-   { Pacific/Funafuti  , 0x03A956 },
-   { Pacific/Galapagos , 0x03A99A },
-   { Pacific/Gambier   , 0x03AA12 },
-   { Pacific/Guadalcanal   , 0x03AA77 },
-   { Pacific/Guam  , 0x03AACC },
-   { Pacific/Honolulu  , 0x03AB22 },
-   { Pacific/Johnston  , 0x03ABB6 },
-   { Pacific/Kiritimati, 0x03AC08 },
-   { Pacific/Kosrae, 0x03AC73 },
-   { Pacific/Kwajalein , 0x03ACD0 },
-   { Pacific/Majuro, 0x03AD3C },
-   { Pacific/Marquesas , 0x03AD9B },
-   { Pacific/Midway, 0x03AE02 },
-   { Pacific/Nauru , 0x03AE8C },
-   { Pacific/Niue  , 0x03AF04 },
-   { Pacific/Norfolk   , 0x03AF62 },
-   { Pacific/Noumea, 0x03AFB7 },
-   { Pacific/Pago_Pago , 0x03B047 },
-   { Pacific/Palau , 0x03B0D0 },
-   { Pacific/Pitcairn  , 0x03B114 },
-   { Pacific/Ponape, 0x03B169 },
-   { Pacific/Port_Moresby  , 0x03B1BE },
-   { Pacific/Rarotonga , 0x03B202 },
-   { Pacific/Saipan, 0x03B2DE },
-   { Pacific/Samoa , 0x03B341 },
-   { Pacific/Tahiti, 0x03B3CA },
-   { Pacific/Tarawa, 0x03B42F },
-   { Pacific/Tongatapu , 0x03B483 },
-   { Pacific/Truk  , 0x03B50F },
-   { Pacific/Wake  , 0x03B568 },
-   { Pacific/Wallis, 0x03B5B8 },
-   { Pacific/Yap   , 0x03B5FC },
-   { Poland, 0x03B641 },
-   { Portugal  , 0x03BA22 },
-   { PRC   , 0x03BF1E },
-   { PST8PDT   , 0x03BFCF },
-   { ROC   , 0x03C320 },
-   { ROK   , 0x03C438 },
-   { Singapore , 0x03C4DC },
-   { Turkey, 0x03C593 },
-   { UCT   , 0x03C980 },
-   { Universal , 0x03C9C4 },
-   { US/Alaska , 0x03CA08 },
-   { US/Aleutian   , 0x03CD71 },
-   { US/Arizona, 0x03D0D7 },
-   { US/Central, 0x03D165 },
-   { US/East-Indiana   , 0x03DB6F },
-   { US/Eastern 

[PHP-CVS] cvs: php-src /ext/phar/tests/cache_list copyonwrite25.phar.phpt /ext/phar/tests/cache_list/files write25.phar write25.phar.inc

2008-10-13 Thread Greg Beaver
cellog  Tue Oct 14 00:38:11 2008 UTC

  Modified files:  
/php-src/ext/phar/tests/cache_list  copyonwrite25.phar.phpt 
/php-src/ext/phar/tests/cache_list/fileswrite25.phar 
write25.phar.inc 
  Log:
  MFB: last test for cached phar copy on write (forgot this one yesterday)
  
http://cvs.php.net/viewvc.cgi/php-src/ext/phar/tests/cache_list/copyonwrite25.phar.phpt?r1=1.1r2=1.2diff_format=u
Index: php-src/ext/phar/tests/cache_list/copyonwrite25.phar.phpt
diff -u /dev/null php-src/ext/phar/tests/cache_list/copyonwrite25.phar.phpt:1.2
--- /dev/null   Tue Oct 14 00:38:11 2008
+++ php-src/ext/phar/tests/cache_list/copyonwrite25.phar.phpt   Tue Oct 14 
00:38:11 2008
@@ -0,0 +1,16 @@
+--TEST--
+Phar: copy-on-write test 25 [cache_list]
+--INI--
+default_charset=UTF-8
+phar.cache_list={PWD}/copyonwrite25.phar.php
+phar.readonly=0
+--SKIPIF--
+?php if (!extension_loaded(phar)) die(skip); ?
+?php if (!extension_loaded(zlib)) die(skip no zlib extension); ?
+--FILE_EXTERNAL--
+files/write25.phar
+--EXPECTF--
+bool(false)
+bool(true)
+?php __HALT_COMPILER();
+ok
\ No newline at end of file
http://cvs.php.net/viewvc.cgi/php-src/ext/phar/tests/cache_list/files/write25.phar?r1=1.1r2=1.2diff_format=u
Index: php-src/ext/phar/tests/cache_list/files/write25.phar
http://cvs.php.net/viewvc.cgi/php-src/ext/phar/tests/cache_list/files/write25.phar.inc?r1=1.1r2=1.2diff_format=u
Index: php-src/ext/phar/tests/cache_list/files/write25.phar.inc
diff -u /dev/null php-src/ext/phar/tests/cache_list/files/write25.phar.inc:1.2
--- /dev/null   Tue Oct 14 00:38:11 2008
+++ php-src/ext/phar/tests/cache_list/files/write25.phar.incTue Oct 14 
00:38:11 2008
@@ -0,0 +1,16 @@
+?php
+
+$fname = dirname(__FILE__) . '/write25.phar';
[EMAIL PROTECTED]($fname);
+
+$phar = new Phar($fname);
+$phar-setStub('?php
+$p = new Phar(__FILE__);
+var_dump(isset($p[mounted]));
+Phar::mount(mounted, phar:// . __FILE__ . /test.txt);
+var_dump(isset($p[mounted]));
+echo $p[mounted]-getContent(),\nok\n;
+__HALT_COMPILER();
+?');
+$phar['test.txt'] = ?php __HALT._COMPILER();;
+?



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