tony2001 Mon Jun 30 10:39:35 2008 UTC
Added files: (Branch: PHP_5_3)
/pecl/sdo/SCA/Bindings/atom Atom1.0.xsd xhtml1-strict.xsd
ServiceRequestHandler.php Proxy.php
.cvsignore xml.xsd AtomDas.php
RequestTester.php SCA_AtomServer.php
SCA_ServiceWrapperAtom.php Atom1.0.xsd
ServiceRequestHandler.php
SCA_AtomServer.php
SCA_ServiceWrapperAtom.php AtomDas.php
RequestTester.php .cvsignore xml.xsd
xhtml1-strict.xsd Proxy.php
Modified files:
/pecl/sdo/SCA/Bindings/atom binding
/php-src/ext/standard string.c
Log:
"l" is long, that's why it is "l", not "i"
http://cvs.php.net/viewvc.cgi/pecl/sdo/SCA/Bindings/atom/binding?r1=&r2=&diff_format=u
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/string.c?r1=1.445.2.14.2.69.2.26&r2=1.445.2.14.2.69.2.27&diff_format=u
Index: php-src/ext/standard/string.c
diff -u php-src/ext/standard/string.c:1.445.2.14.2.69.2.26
php-src/ext/standard/string.c:1.445.2.14.2.69.2.27
--- php-src/ext/standard/string.c:1.445.2.14.2.69.2.26 Mon Jun 30 10:10:44 2008
+++ php-src/ext/standard/string.c Mon Jun 30 10:39:34 2008
@@ -18,7 +18,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: string.c,v 1.445.2.14.2.69.2.26 2008/06/30 10:10:44 tony2001 Exp $ */
+/* $Id: string.c,v 1.445.2.14.2.69.2.27 2008/06/30 10:39:34 tony2001 Exp $ */
/* Synced with php 3.0 revision 1.193 1999-06-16 [ssb] */
@@ -1690,7 +1690,7 @@
char *haystack;
char *found = NULL;
char needle_char[2];
- int offset = 0;
+ long offset = 0;
int haystack_len;
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "sZ|l", &haystack,
&haystack_len, &needle, &offset) == FAILURE) {
@@ -2124,8 +2124,7 @@
PHP_FUNCTION(substr)
{
char *str;
- int l;
- int f;
+ long l, f;
int str_len;
int argc = ZEND_NUM_ARGS();
@@ -4457,7 +4456,7 @@
{
char *input_str; /* Input string */
int input_len;
- int mult; /* Multiplier */
+ long mult; /* Multiplier */
char *result; /* Resulting string */
size_t result_len; /* Length of the resulting
string */
@@ -4509,7 +4508,7 @@
{
char *input;
int chars[256];
- int mymode=0;
+ long mymode=0;
unsigned char *buf;
int len, inx;
char retstr[256];
@@ -4695,8 +4694,7 @@
PHP_FUNCTION(substr_count)
{
char *haystack, *needle;
- int offset = 0;
- int length;
+ long offset = 0, length;
int ac = ZEND_NUM_ARGS();
int count = 0;
int haystack_len, needle_len;
@@ -4763,7 +4761,7 @@
/* Input arguments */
char *input; /* Input string */
int input_len;
- int pad_length; /* Length to pad to */
+ long pad_length; /* Length to pad to */
/* Helper variables */
int num_pad_chars; /* Number of padding characters
(total - input size) */
@@ -4771,7 +4769,7 @@
int result_len = 0; /* Length of the resulting
string */
char *pad_str_val = " "; /* Pointer to padding string */
int pad_str_len = 1; /* Length of the padding string */
- int pad_type_val = STR_PAD_RIGHT; /* The padding type value */
+ long pad_type_val = STR_PAD_RIGHT; /* The padding type value */
int i, left_pad=0, right_pad=0;
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "sl|sl", &input,
&input_len, &pad_length,
http://cvs.php.net/viewvc.cgi/pecl/sdo/SCA/Bindings/atom/Atom1.0.xsd?view=markup&rev=1.1
Index: pecl/sdo/SCA/Bindings/atom/Atom1.0.xsd
+++ pecl/sdo/SCA/Bindings/atom/Atom1.0.xsd
http://cvs.php.net/viewvc.cgi/pecl/sdo/SCA/Bindings/atom/xhtml1-strict.xsd?view=markup&rev=1.1
Index: pecl/sdo/SCA/Bindings/atom/xhtml1-strict.xsd
+++ pecl/sdo/SCA/Bindings/atom/xhtml1-strict.xsd
http://cvs.php.net/viewvc.cgi/pecl/sdo/SCA/Bindings/atom/ServiceRequestHandler.php?view=markup&rev=1.1
Index: pecl/sdo/SCA/Bindings/atom/ServiceRequestHandler.php
+++ pecl/sdo/SCA/Bindings/atom/ServiceRequestHandler.php
http://cvs.php.net/viewvc.cgi/pecl/sdo/SCA/Bindings/atom/Proxy.php?view=markup&rev=1.1
Index: pecl/sdo/SCA/Bindings/atom/Proxy.php
+++ pecl/sdo/SCA/Bindings/atom/Proxy.php
http://cvs.php.net/viewvc.cgi/pecl/sdo/SCA/Bindings/atom/.cvsignore?view=markup&rev=1.1
Index: pecl/sdo/SCA/Bindings/atom/.cvsignore
+++ pecl/sdo/SCA/Bindings/atom/.cvsignore
http://cvs.php.net/viewvc.cgi/pecl/sdo/SCA/Bindings/atom/xml.xsd?view=markup&rev=1.1
Index: pecl/sdo/SCA/Bindings/atom/xml.xsd
+++ pecl/sdo/SCA/Bindings/atom/xml.xsd
http://cvs.php.net/viewvc.cgi/pecl/sdo/SCA/Bindings/atom/AtomDas.php?view=markup&rev=1.1
Index: pecl/sdo/SCA/Bindings/atom/AtomDas.php
+++ pecl/sdo/SCA/Bindings/atom/AtomDas.php
http://cvs.php.net/viewvc.cgi/pecl/sdo/SCA/Bindings/atom/RequestTester.php?view=markup&rev=1.1
Index: pecl/sdo/SCA/Bindings/atom/RequestTester.php
+++ pecl/sdo/SCA/Bindings/atom/RequestTester.php
http://cvs.php.net/viewvc.cgi/pecl/sdo/SCA/Bindings/atom/SCA_AtomServer.php?view=markup&rev=1.1
Index: pecl/sdo/SCA/Bindings/atom/SCA_AtomServer.php
+++ pecl/sdo/SCA/Bindings/atom/SCA_AtomServer.php
http://cvs.php.net/viewvc.cgi/pecl/sdo/SCA/Bindings/atom/SCA_ServiceWrapperAtom.php?view=markup&rev=1.1
Index: pecl/sdo/SCA/Bindings/atom/SCA_ServiceWrapperAtom.php
+++ pecl/sdo/SCA/Bindings/atom/SCA_ServiceWrapperAtom.php
http://cvs.php.net/viewvc.cgi/pecl/sdo/SCA/Bindings/atom/Atom1.0.xsd?view=markup&rev=1.1
Index: pecl/sdo/SCA/Bindings/atom/Atom1.0.xsd
+++ pecl/sdo/SCA/Bindings/atom/Atom1.0.xsd
http://cvs.php.net/viewvc.cgi/pecl/sdo/SCA/Bindings/atom/ServiceRequestHandler.php?view=markup&rev=1.1
Index: pecl/sdo/SCA/Bindings/atom/ServiceRequestHandler.php
+++ pecl/sdo/SCA/Bindings/atom/ServiceRequestHandler.php
http://cvs.php.net/viewvc.cgi/pecl/sdo/SCA/Bindings/atom/SCA_AtomServer.php?view=markup&rev=1.1
Index: pecl/sdo/SCA/Bindings/atom/SCA_AtomServer.php
+++ pecl/sdo/SCA/Bindings/atom/SCA_AtomServer.php
http://cvs.php.net/viewvc.cgi/pecl/sdo/SCA/Bindings/atom/SCA_ServiceWrapperAtom.php?view=markup&rev=1.1
Index: pecl/sdo/SCA/Bindings/atom/SCA_ServiceWrapperAtom.php
+++ pecl/sdo/SCA/Bindings/atom/SCA_ServiceWrapperAtom.php
http://cvs.php.net/viewvc.cgi/pecl/sdo/SCA/Bindings/atom/AtomDas.php?view=markup&rev=1.1
Index: pecl/sdo/SCA/Bindings/atom/AtomDas.php
+++ pecl/sdo/SCA/Bindings/atom/AtomDas.php
http://cvs.php.net/viewvc.cgi/pecl/sdo/SCA/Bindings/atom/RequestTester.php?view=markup&rev=1.1
Index: pecl/sdo/SCA/Bindings/atom/RequestTester.php
+++ pecl/sdo/SCA/Bindings/atom/RequestTester.php
http://cvs.php.net/viewvc.cgi/pecl/sdo/SCA/Bindings/atom/.cvsignore?view=markup&rev=1.1
Index: pecl/sdo/SCA/Bindings/atom/.cvsignore
+++ pecl/sdo/SCA/Bindings/atom/.cvsignore
http://cvs.php.net/viewvc.cgi/pecl/sdo/SCA/Bindings/atom/xml.xsd?view=markup&rev=1.1
Index: pecl/sdo/SCA/Bindings/atom/xml.xsd
+++ pecl/sdo/SCA/Bindings/atom/xml.xsd
http://cvs.php.net/viewvc.cgi/pecl/sdo/SCA/Bindings/atom/xhtml1-strict.xsd?view=markup&rev=1.1
Index: pecl/sdo/SCA/Bindings/atom/xhtml1-strict.xsd
+++ pecl/sdo/SCA/Bindings/atom/xhtml1-strict.xsd
http://cvs.php.net/viewvc.cgi/pecl/sdo/SCA/Bindings/atom/Proxy.php?view=markup&rev=1.1
Index: pecl/sdo/SCA/Bindings/atom/Proxy.php
+++ pecl/sdo/SCA/Bindings/atom/Proxy.php
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php