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

2004-09-21 Thread changelog
changelog   Tue Sep 21 20:34:10 2004 EDT

  Modified files:  
/php-srcChangeLog 
  Log:
  ChangeLog update
  
http://cvs.php.net/diff.php/php-src/ChangeLog?r1=1.1752r2=1.1753ty=u
Index: php-src/ChangeLog
diff -u php-src/ChangeLog:1.1752 php-src/ChangeLog:1.1753
--- php-src/ChangeLog:1.1752Mon Sep 20 20:34:37 2004
+++ php-src/ChangeLog   Tue Sep 21 20:34:09 2004
@@ -1,3 +1,27 @@
+2004-09-21  Ilia Alshanetsky  [EMAIL PROTECTED]
+
+* (PHP_4_3)
+  configure.in:
+  Fixed minor version #.
+
+2004-09-21  Andi Gutmans  [EMAIL PROTECTED]
+
+* ZendEngine2/zend_execute.c
+  ZendEngine2/zend_execute.h:
+  - Fix for bug #29707
+
+2004-09-21  Uwe Schindler  [EMAIL PROTECTED]
+
+* (PHP_4_3)
+  NEWS
+  sapi/nsapi/nsapi.c:
+  Fixed bug #29805 (HTTP Authentication Issues)
+
+2004-09-21  Frank M. Kromann  [EMAIL PROTECTED]
+
+* ext/standard/php_math.h:
+  Fix win32 build
+
 2004-09-20  Ilia Alshanetsky  [EMAIL PROTECTED]
 
 * (PHP_4_3)
@@ -9920,7 +9944,7 @@
 2004-03-18  Pierre-Alain Joye  [EMAIL PROTECTED]
 
 * ext/gd/tests/bug27582_2.phpt:
-  - Fix the test description and $Id: ChangeLog,v 1.1752 2004/09/21 00:34:37 
changelog Exp $
+  - Fix the test description and $Id: ChangeLog,v 1.1753 2004/09/22 00:34:09 
changelog Exp $
 
 2004-03-18  Derick Rethans  [EMAIL PROTECTED]
 


[PHP-CVS-DAILY] cvs: ZendEngine2 / ChangeLog

2004-09-21 Thread changelog
changelog   Tue Sep 21 20:34:14 2004 EDT

  Modified files:  
/ZendEngine2ChangeLog 
  Log:
  ChangeLog update
  
http://cvs.php.net/diff.php/ZendEngine2/ChangeLog?r1=1.551r2=1.552ty=u
Index: ZendEngine2/ChangeLog
diff -u ZendEngine2/ChangeLog:1.551 ZendEngine2/ChangeLog:1.552
--- ZendEngine2/ChangeLog:1.551 Sun Sep 19 20:34:18 2004
+++ ZendEngine2/ChangeLog   Tue Sep 21 20:34:14 2004
@@ -1,3 +1,9 @@
+2004-09-21  Andi Gutmans  [EMAIL PROTECTED]
+
+* zend_execute.c
+  zend_execute.h:
+  - Fix for bug #29707
+
 2004-09-19  Marcus Boerger  [EMAIL PROTECTED]
 
 * zend_reflection_api.c:
@@ -5688,7 +5694,7 @@
 2003-06-10  Jani Taskinen  [EMAIL PROTECTED]
 
 * zend_multiply.h:
-  - Missing $Id: ChangeLog,v 1.551 2004/09/20 00:34:18 changelog Exp $ tag
+  - Missing $Id: ChangeLog,v 1.552 2004/09/22 00:34:14 changelog Exp $ tag
 
 2003-06-10  James Cox  [EMAIL PROTECTED]
 
@@ -7412,7 +7418,7 @@
   zend_types.h
   zend_variables.c
   zend_variables.h:
-  - Added some missing CVS $Id: ChangeLog,v 1.551 2004/09/20 00:34:18 changelog 
Exp $ tags, headers and footers.
+  - Added some missing CVS $Id: ChangeLog,v 1.552 2004/09/22 00:34:14 changelog 
Exp $ tags, headers and footers.
 
 2003-01-30  Ilia Alshanetsky  [EMAIL PROTECTED]
 


[PHP-CVS] Re: php-src /ext/standard basic_functions.c math.c

2004-09-21 Thread Nuno Lopes
wez Mon Sep 20 18:08:07 2004 EDT
 Modified files:  
   /php-src/ext/standard basic_functions.c math.c 
 Log:
 Enable hypot for all

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


[PHP-CVS] cvs: php-src /ext/standard php_math.h

2004-09-21 Thread Frank M. Kromann
fmk Tue Sep 21 14:09:30 2004 EDT

  Modified files:  
/php-src/ext/standard   php_math.h 
  Log:
  Fix win32 build
  
http://cvs.php.net/diff.php/php-src/ext/standard/php_math.h?r1=1.22r2=1.23ty=u
Index: php-src/ext/standard/php_math.h
diff -u php-src/ext/standard/php_math.h:1.22 php-src/ext/standard/php_math.h:1.23
--- php-src/ext/standard/php_math.h:1.22Mon May 24 13:02:12 2004
+++ php-src/ext/standard/php_math.h Tue Sep 21 14:09:29 2004
@@ -17,7 +17,7 @@
+--+
 */
 
-/* $Id: php_math.h,v 1.22 2004/05/24 17:02:12 iliaa Exp $ */
+/* $Id: php_math.h,v 1.23 2004/09/21 18:09:29 fmk Exp $ */
 
 #ifndef PHP_MATH_H
 #define PHP_MATH_H
@@ -66,9 +66,7 @@
WARNING: these functions are expermental: they could change their names or 
disappear in the next version of PHP!
*/
-#ifdef HAVE_HYPOT
 PHP_FUNCTION(hypot);
-#endif
 PHP_FUNCTION(expm1);
 PHP_FUNCTION(log1p);
 

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



Re: [PHP-CVS] cvs: php-src /ext/standard basic_functions.c math.c

2004-09-21 Thread Andrey Hristov
Wez Furlong wrote:
wez Mon Sep 20 18:08:07 2004 EDT
  Modified files:  
/php-src/ext/standard	basic_functions.c math.c 
  Log:
  Enable hypot for all
  
Do you think it is feasible the fix to be merged in 4_3 and 5_0 ?
Andrey
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Re: [PHP-CVS] cvs: php-src /ext/standard basic_functions.c math.c

2004-09-21 Thread Wez Furlong
Yeah, shouldn't hurt anyone.
Check with Ilia before merging to 4_3 though... :)
--Wez.
Andrey Hristov wrote:
Wez Furlong wrote:
wezMon Sep 20 18:08:07 2004 EDT
  Modified files:  /php-src/ext/standard
basic_functions.c math.c   Log:
  Enable hypot for all
  
Do you think it is feasible the fix to be merged in 4_3 and 5_0 ?
Andrey
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[PHP-CVS] cvs: php-src(PHP_4_3) / NEWS /sapi/nsapi nsapi.c

2004-09-21 Thread Uwe Schindler
thetaphiTue Sep 21 18:00:39 2004 EDT

  Modified files:  (Branch: PHP_4_3)
/php-srcNEWS 
/php-src/sapi/nsapi nsapi.c 
  Log:
  Fixed bug #29805 (HTTP Authentication Issues)
  
  
http://cvs.php.net/diff.php/php-src/NEWS?r1=1.1247.2.730r2=1.1247.2.731ty=u
Index: php-src/NEWS
diff -u php-src/NEWS:1.1247.2.730 php-src/NEWS:1.1247.2.731
--- php-src/NEWS:1.1247.2.730   Mon Sep 20 18:27:55 2004
+++ php-src/NEWSTue Sep 21 18:00:38 2004
@@ -1,5 +1,8 @@
 PHP 4  NEWS
 |||
+?? ??? 2004, Version 4.3.10
+- Fixed bug #29805 (HTTP Authentication Issues). (Uwe Schindler)
+
 22 Sep 2004, Version 4.3.9
 - GPC input processing fixes (Stefano Di Paola, Rasmus, Stefan)
 - Implemented periodic PCRE compiled regexp cache cleanup, to avoid memory 
http://cvs.php.net/diff.php/php-src/sapi/nsapi/nsapi.c?r1=1.28.2.31r2=1.28.2.32ty=u
Index: php-src/sapi/nsapi/nsapi.c
diff -u php-src/sapi/nsapi/nsapi.c:1.28.2.31 php-src/sapi/nsapi/nsapi.c:1.28.2.32
--- php-src/sapi/nsapi/nsapi.c:1.28.2.31Wed Sep 15 17:51:29 2004
+++ php-src/sapi/nsapi/nsapi.c  Tue Sep 21 18:00:39 2004
@@ -17,7 +17,7 @@
+--+
 */
 
-/* $Id: nsapi.c,v 1.28.2.31 2004/09/15 21:51:29 thetaphi Exp $ */
+/* $Id: nsapi.c,v 1.28.2.32 2004/09/21 22:00:39 thetaphi Exp $ */
 
 /*
  * PHP includes
@@ -310,7 +310,7 @@
 PHP_MINFO_FUNCTION(nsapi)
 {
php_info_print_table_start();
-   php_info_print_table_row(2, NSAPI Module Revision, $Revision: 1.28.2.31 $);
+   php_info_print_table_row(2, NSAPI Module Revision, $Revision: 1.28.2.32 $);
php_info_print_table_row(2, Server Software, system_version());
php_info_print_table_row(2, Sub-requests with nsapi_virtual(),
 (nsapi_servact_service)?((zend_ini_long(zlib.output_compression, 
sizeof(zlib.output_compression), 0))?not supported with 
zlib.output_compression:enabled):not supported on this platform );
@@ -934,6 +934,8 @@
SG(sapi_headers).http_response_code = (error_directive) ? rq-status_num : 200;
 
nsapi_php_ini_entries(NSLS_C TSRMLS_CC);
+
+   if (!PG(safe_mode)) php_handle_auth_data(pblock_findval(authorization, 
rq-headers) TSRMLS_CC);
 
file_handle.type = ZEND_HANDLE_FILENAME;
file_handle.filename = SG(request_info).path_translated;

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



[PHP-CVS] cvs: php-src(PHP_4_3) / configure.in

2004-09-21 Thread Ilia Alshanetsky
iliaa   Tue Sep 21 19:38:55 2004 EDT

  Modified files:  (Branch: PHP_4_3)
/php-srcconfigure.in 
  Log:
  Fixed minor version #.
  
  
http://cvs.php.net/diff.php/php-src/configure.in?r1=1.396.2.127r2=1.396.2.128ty=u
Index: php-src/configure.in
diff -u php-src/configure.in:1.396.2.127 php-src/configure.in:1.396.2.128
--- php-src/configure.in:1.396.2.127Mon Sep 20 19:29:48 2004
+++ php-src/configure.inTue Sep 21 19:38:55 2004
@@ -1,4 +1,4 @@
-dnl ## $Id: configure.in,v 1.396.2.127 2004/09/20 23:29:48 iliaa Exp $ -*- sh -*-
+dnl ## $Id: configure.in,v 1.396.2.128 2004/09/21 23:38:55 iliaa Exp $ -*- sh -*-
 dnl ## Process this file with autoconf to produce a configure script.
 
 divert(1)
@@ -40,7 +40,7 @@
 
 MAJOR_VERSION=4
 MINOR_VERSION=3
-RELEASE_VERSION=9
+RELEASE_VERSION=10
 EXTRA_VERSION=-dev
 VERSION=$MAJOR_VERSION.$MINOR_VERSION.$RELEASE_VERSION$EXTRA_VERSION
 

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



[PHP-CVS] cvs: php-src(PHP_4_3) /ext/standard url.c url.h

2004-09-21 Thread Ilia Alshanetsky
iliaa   Tue Sep 21 20:51:51 2004 EDT

  Modified files:  (Branch: PHP_4_3)
/php-src/ext/standard   url.c url.h 
  Log:
  MFH: Fixed bug #29913 (parse_url() is now binary safe). (Ilia)
  
  
http://cvs.php.net/diff.php/php-src/ext/standard/url.c?r1=1.58.2.15r2=1.58.2.16ty=u
Index: php-src/ext/standard/url.c
diff -u php-src/ext/standard/url.c:1.58.2.15 php-src/ext/standard/url.c:1.58.2.16
--- php-src/ext/standard/url.c:1.58.2.15Fri May 28 07:33:42 2004
+++ php-src/ext/standard/url.c  Tue Sep 21 20:51:51 2004
@@ -15,7 +15,7 @@
| Author: Jim Winstead [EMAIL PROTECTED]  |
+--+
  */
-/* $Id: url.c,v 1.58.2.15 2004/05/28 11:33:42 sesser Exp $ */
+/* $Id: url.c,v 1.58.2.16 2004/09/22 00:51:51 iliaa Exp $ */
 
 #include stdlib.h
 #include string.h
@@ -60,15 +60,16 @@
 
 /* {{{ php_replace_controlchars
  */
-PHPAPI char *php_replace_controlchars(char *str)
+PHPAPI char *php_replace_controlchars_ex(char *str, int len)
 {
unsigned char *s = (unsigned char *)str;
+   unsigned char *e = (unsigned char *)str + len;

if (!str) {
return (NULL);
}

-   while (*s) {
+   while (s  e) {

if (iscntrl(*s)) {
*s='_';
@@ -79,11 +80,20 @@
return (str);
 } 
 /* }}} */
- 
+
+PHPAPI char *php_replace_controlchars(char *str)
+{
+   return php_replace_controlchars_ex(str, strlen(str));
+} 
+
+PHPAPI php_url *php_url_parse(char const *str)
+{
+   return php_url_parse_ex(str, strlen(str));
+} 
 
 /* {{{ php_url_parse
  */
-PHPAPI php_url *php_url_parse(char *str)
+PHPAPI php_url *php_url_parse_ex(char const *str, int length)
 {
int length = strlen(str);
char port_buf[6];
@@ -94,7 +104,7 @@
ue = s + length;
 
/* parse scheme */
-   if ((e = strchr(s, ':'))  (e-s)) {
+   if ((e = memchr(s, ':', length))  (e - s)) {
/* 
 * certain schemas like mailto: and zlib: may not have any / after them
 * this check ensures we support those.
@@ -113,14 +123,14 @@
}

ret-scheme = estrndup(s, (e-s));
-   php_replace_controlchars(ret-scheme);
+   php_replace_controlchars_ex(ret-scheme, (e - s));

length -= ++e - s;
s = e;
goto just_path;
} else {
ret-scheme = estrndup(s, (e-s));
-   php_replace_controlchars(ret-scheme);
+   php_replace_controlchars_ex(ret-scheme, (e - s));

if (*(e+2) == '/') {
s = e + 3;
@@ -130,8 +140,8 @@
}
}
} else {
-   s = e + 1;
if (!strncasecmp(file, ret-scheme, sizeof(file))) 
{
+   s = e + 1;
goto nohost;
} else {
length -= ++e - s;
@@ -164,8 +174,8 @@

e = ue;

-   if (!(p = strchr(s, '/'))) {
-   if ((p = strchr(s, '?'))) {
+   if (!(p = memchr(s, '/', (ue - s {
+   if ((p = memchr(s, '?', (ue - s {
e = p;
}
} else {
@@ -177,17 +187,17 @@
if ((pp = memchr(s, ':', (p-s {
if ((pp-s)  0) {
ret-user = estrndup(s, (pp-s));
-   php_replace_controlchars(ret-user);
+   php_replace_controlchars_ex(ret-user, (pp - s));
}   

pp++;
if (p-pp  0) {
ret-pass = estrndup(pp, (p-pp));
-   php_replace_controlchars(ret-pass);
+   php_replace_controlchars_ex(ret-pass, (p-pp));
}   
} else {
ret-user = estrndup(s, (p-s));
-   php_replace_controlchars(ret-user);
+   php_replace_controlchars_ex(ret-user, (p-s));
}

s = p + 1;
@@ -235,7 +245,7 @@
}

ret-host = estrndup(s, (p-s));
-   php_replace_controlchars(ret-host);
+   php_replace_controlchars_ex(ret-host, (p - s));

if (e == ue) {
return ret;
@@ -245,7 +255,7 @@

nohost:

-   if ((p = strchr(s, '?'))) {
+   if ((p = 

[PHP-CVS] cvs: php-src(PHP_5_0) / NEWS /ext/soap php_sdl.c

2004-09-21 Thread Dmitry Stogov
dmitry  Wed Sep 22 01:57:36 2004 EDT

  Modified files:  (Branch: PHP_5_0)
/php-srcNEWS 
/php-src/ext/soap   php_sdl.c 
  Log:
  Fixed bug #30182 (SOAP module processing WSDL file dumps core).
  
  
http://cvs.php.net/diff.php/php-src/NEWS?r1=1.1760.2.76r2=1.1760.2.77ty=u
Index: php-src/NEWS
diff -u php-src/NEWS:1.1760.2.76 php-src/NEWS:1.1760.2.77
--- php-src/NEWS:1.1760.2.76Mon Sep 20 01:14:34 2004
+++ php-src/NEWSWed Sep 22 01:57:36 2004
@@ -14,6 +14,7 @@
 - Renamed SoapClient-__call() to SoapClinet-__soapCall(). (Dmitry)
 - Fixed bug with raw_post_data not getting set (Brian)
 - Fixed a file-descriptor leak with phpinfo() and other 'special' URLs (Zeev)
+- Fixed bug #30182 (SOAP module processing WSDL file dumps core). (Dmitry)
 - Fixed bug #30045 (Cannot pass big integers ( 2147483647) in SOAP requests).
   (Dmitry)
 - Fixed bug #29985 (unserialize()/ __PHP_Incomplete_class does not report 
http://cvs.php.net/diff.php/php-src/ext/soap/php_sdl.c?r1=1.70.2.3r2=1.70.2.4ty=u
Index: php-src/ext/soap/php_sdl.c
diff -u php-src/ext/soap/php_sdl.c:1.70.2.3 php-src/ext/soap/php_sdl.c:1.70.2.4
--- php-src/ext/soap/php_sdl.c:1.70.2.3 Thu Aug 26 14:36:46 2004
+++ php-src/ext/soap/php_sdl.c  Wed Sep 22 01:57:36 2004
@@ -17,7 +17,7 @@
   |  Dmitry Stogov [EMAIL PROTECTED] |
   +--+
 */
-/* $Id: php_sdl.c,v 1.70.2.3 2004/08/26 18:36:46 dmitry Exp $ */
+/* $Id: php_sdl.c,v 1.70.2.4 2004/09/22 05:57:36 dmitry Exp $ */
 
 #include php_soap.h
 #include libxml/uri.h
@@ -2168,13 +2168,14 @@
 {
sdlPtr sdl = NULL;
char* old_error_code = SOAP_GLOBAL(error_code);
+   int uri_len;
 
SOAP_GLOBAL(error_code) = WSDL;
 
-   if (SOAP_GLOBAL(cache_enabled)) {
+   if (SOAP_GLOBAL(cache_enabled)  ((uri_len = strlen(uri))  MAXPATHLEN)) {
char  fn[MAXPATHLEN];
 
-   if (strchr(uri,':') != NULL || IS_ABSOLUTE_PATH(uri,strlen(uri))) {
+   if (strchr(uri,':') != NULL || IS_ABSOLUTE_PATH(uri, uri_len)) {
strcpy(fn, uri);
} else if (VCWD_REALPATH(uri, fn) == NULL) {
sdl = load_wsdl(uri);

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



[PHP-CVS] cvs: php-src /ext/soap php_sdl.c

2004-09-21 Thread Dmitry Stogov
dmitry  Wed Sep 22 01:58:41 2004 EDT

  Modified files:  
/php-src/ext/soap   php_sdl.c 
  Log:
  Fixed bug #30182 (SOAP module processing WSDL file dumps core).
  
  
http://cvs.php.net/diff.php/php-src/ext/soap/php_sdl.c?r1=1.73r2=1.74ty=u
Index: php-src/ext/soap/php_sdl.c
diff -u php-src/ext/soap/php_sdl.c:1.73 php-src/ext/soap/php_sdl.c:1.74
--- php-src/ext/soap/php_sdl.c:1.73 Thu Aug 26 14:43:06 2004
+++ php-src/ext/soap/php_sdl.c  Wed Sep 22 01:58:40 2004
@@ -17,7 +17,7 @@
   |  Dmitry Stogov [EMAIL PROTECTED] |
   +--+
 */
-/* $Id: php_sdl.c,v 1.73 2004/08/26 18:43:06 dmitry Exp $ */
+/* $Id: php_sdl.c,v 1.74 2004/09/22 05:58:40 dmitry Exp $ */
 
 #include php_soap.h
 #include libxml/uri.h
@@ -2168,13 +2168,14 @@
 {
sdlPtr sdl = NULL;
char* old_error_code = SOAP_GLOBAL(error_code);
+   int uri_len;
 
SOAP_GLOBAL(error_code) = WSDL;
 
-   if (SOAP_GLOBAL(cache_enabled)) {
+   if (SOAP_GLOBAL(cache_enabled)  ((uri_len = strlen(uri))  MAXPATHLEN)) {
char  fn[MAXPATHLEN];
 
-   if (strchr(uri,':') != NULL || IS_ABSOLUTE_PATH(uri,strlen(uri))) {
+   if (strchr(uri,':') != NULL || IS_ABSOLUTE_PATH(uri, uri_len)) {
strcpy(fn, uri);
} else if (VCWD_REALPATH(uri, fn) == NULL) {
sdl = load_wsdl(uri);

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