[PHP-CVS] cvs: php4 /ext/standard string.c

2003-06-20 Thread Sara Golemon
pollita Fri Jun 20 11:41:43 2003 EDT Modified files: /php4/ext/standard string.c Log: When skipping blank searchvals we should advance the corresponding replace hash as well Index: php4/ext/standard/string.c diff -u php4/ext/standard/string.c:1.390

[PHP-CVS] cvs: php4 /ext/standard string.c

2003-06-10 Thread Ilia Alshanetsky
iliaa Tue Jun 10 22:16:19 2003 EDT Modified files: /php4/ext/standard string.c Log: fixed proto Index: php4/ext/standard/string.c diff -u php4/ext/standard/string.c:1.389 php4/ext/standard/string.c:1.390 --- php4/ext/standard/string.c:1.389Tue Jun 10

[PHP-CVS] cvs: php4 /ext/standard string.c /ext/standard/tests/strings strripos.phpt strrpos.phpt

2003-04-12 Thread Sara Golemon
pollita Sat Apr 12 16:04:06 2003 EDT Added files: /php4/ext/standard/tests/stringsstrripos.phpt strrpos.phpt Modified files: /php4/ext/standard string.c Log: Add tests for strrpos/stripos, and minor fix to maintain BC for condition

[PHP-CVS] cvs: php4 /ext/standard string.c

2003-04-02 Thread Rasmus Lerdorf
rasmus Wed Apr 2 16:33:03 2003 EDT Modified files: /php4/ext/standard string.c Log: MFB: Fix the setlocale() segfault Index: php4/ext/standard/string.c diff -u php4/ext/standard/string.c:1.368 php4/ext/standard/string.c:1.369 ---

[PHP-CVS] cvs: php4 /ext/standard string.c

2003-04-02 Thread Derick Rethans
derick Thu Apr 3 01:21:59 2003 EDT Modified files: /php4/ext/standard string.c Log: - CS Index: php4/ext/standard/string.c diff -u php4/ext/standard/string.c:1.369 php4/ext/standard/string.c:1.370 --- php4/ext/standard/string.c:1.369Wed Apr 2 16:33:02

[PHP-CVS] cvs: php4 /ext/standard string.c

2003-04-01 Thread Moshe Doron
momoTue Apr 1 07:46:02 2003 EDT Modified files: /php4/ext/standard string.c Log: revert last commit for now Index: php4/ext/standard/string.c diff -u php4/ext/standard/string.c:1.366 php4/ext/standard/string.c:1.367 --- php4/ext/standard/string.c:1.366

[PHP-CVS] cvs: php4 /ext/standard string.c

2003-04-01 Thread Ilia Alshanetsky
iliaa Tue Apr 1 19:25:46 2003 EDT Modified files: /php4/ext/standard string.c Log: Fixed possible integer overflow in str_repeat(). Index: php4/ext/standard/string.c diff -u php4/ext/standard/string.c:1.367 php4/ext/standard/string.c:1.368 ---

Re: [PHP-CVS] cvs: php4 /ext/standard string.c

2003-03-31 Thread Jani Taskinen
Please, don't use that @ sign in commit messages...or at least TRY to write something that really means something after it. (Read the NEWS file sometime to see how these should look like..) --Jani On Mon, 31 Mar 2003, Moshe Doron wrote: momo Mon Mar 31

[PHP-CVS] cvs: php4 /ext/standard string.c

2003-03-31 Thread Moshe Doron
momoMon Mar 31 13:56:41 2003 EDT Modified files: /php4/ext/standard string.c Log: fix for 22904 @ now addslashes() do it also on cybase magic mode(moshe). Index: php4/ext/standard/string.c diff -u php4/ext/standard/string.c:1.365

Re: [PHP-CVS] cvs: php4 /ext/standard string.c

2003-03-31 Thread Derick Rethans
On Mon, 31 Mar 2003, Moshe Doron wrote: momo Mon Mar 31 13:56:41 2003 EDT Modified files: /php4/ext/standardstring.c Log: fix for 22904 @ now addslashes() do it also on cybase magic mode(moshe). Please add tests for this too! Derick --

[PHP-CVS] cvs: php4 /ext/standard string.c

2003-03-08 Thread Derick Rethans
derick Sat Mar 8 19:05:49 2003 EDT Modified files: /php4/ext/standard string.c Log: - Fix proto Index: php4/ext/standard/string.c diff -u php4/ext/standard/string.c:1.362 php4/ext/standard/string.c:1.363 --- php4/ext/standard/string.c:1.362Thu Mar 6

[PHP-CVS] cvs: php4 /ext/standard string.c

2003-02-24 Thread Moriyoshi Koizumi
moriyoshi Mon Feb 24 17:19:37 2003 EDT Modified files: /php4/ext/standard string.c Log: Fixed possible buffer overflow of php_strip_tags Index: php4/ext/standard/string.c diff -u php4/ext/standard/string.c:1.360 php4/ext/standard/string.c:1.361 ---

[PHP-CVS] cvs: php4 /ext/standard string.c

2003-02-18 Thread Moriyoshi Koizumi
moriyoshi Tue Feb 18 13:11:35 2003 EDT Modified files: /php4/ext/standard string.c Log: Fixed bug #21708 (ucfirst() trouble again) # this bug is related to bug #21689 Index: php4/ext/standard/string.c diff -u php4/ext/standard/string.c:1.358

[PHP-CVS] cvs: php4 /ext/standard string.c /ext/standard/tests/strings bug22224.phpt

2003-02-14 Thread Moriyoshi Koizumi
moriyoshi Fri Feb 14 13:42:36 2003 EDT Added files: /php4/ext/standard/tests/stringsbug4.phpt Modified files: /php4/ext/standard string.c Log: Fixed bug #4 (implode changes object references in array) Added test case

[PHP-CVS] cvs: php4 /ext/standard string.c

2003-02-14 Thread Moriyoshi Koizumi
moriyoshi Fri Feb 14 13:59:51 2003 EDT Modified files: /php4/ext/standard string.c Log: Fixed a str_replace() bug similar to bug #4 Index: php4/ext/standard/string.c diff -u php4/ext/standard/string.c:1.357 php4/ext/standard/string.c:1.358 ---

[PHP-CVS] cvs: php4 /ext/standard string.c

2003-02-08 Thread Jani Taskinen
sniper Sat Feb 8 10:26:17 2003 EDT Modified files: /php4/ext/standard string.c Log: style ws fixes Index: php4/ext/standard/string.c diff -u php4/ext/standard/string.c:1.354 php4/ext/standard/string.c:1.355 --- php4/ext/standard/string.c:1.354Fri Feb 7

[PHP-CVS] cvs: php4 /ext/standard string.c

2003-01-30 Thread Sara Golemon
pollita Thu Jan 30 15:09:20 2003 EDT Modified files: /php4/ext/standard string.c Log: Unify str_replace and str_ireplace using INTERNAL_FUNCTION_PARAM_PASSTHRU -- reduce codebase/maintenance complexity Index: php4/ext/standard/string.c diff -u

Re: [PHP-CVS] cvs: php4 /ext/standard string.c

2003-01-27 Thread Jani Taskinen
MFH?? --Jani On Fri, 24 Jan 2003, Andrey Hristov wrote: andrey Fri Jan 24 08:18:09 2003 EDT Modified files: /php4/ext/standard string.c Log: Resolving problem on OSF1 and probably other 64 bit platforms. Thanks for the feedback of Magnus

[PHP-CVS] cvs: php4 /ext/standard string.c

2003-01-24 Thread Andrey Hristov
andrey Fri Jan 24 07:20:00 2003 EDT Modified files: /php4/ext/standard string.c Log: Adding cast. Index: php4/ext/standard/string.c diff -u php4/ext/standard/string.c:1.349 php4/ext/standard/string.c:1.350 --- php4/ext/standard/string.c:1.349Tue Jan 21

[PHP-CVS] cvs: php4 /ext/standard string.c

2003-01-24 Thread Andrey Hristov
andrey Fri Jan 24 08:18:09 2003 EDT Modified files: /php4/ext/standard string.c Log: Resolving problem on OSF1 and probably other 64 bit platforms. Thanks for the feedback of Magnus (novell kiruna se). Index: php4/ext/standard/string.c diff -u

[PHP-CVS] cvs: php4 /ext/standard string.c /ext/standard/tests/strings bug21744.phpt

2003-01-19 Thread Moriyoshi Koizumi
moriyoshi Sun Jan 19 06:32:55 2003 EDT Added files: /php4/ext/standard/tests/stringsbug21744.phpt Modified files: /php4/ext/standard string.c Log: Fixed bug #21744(21741) Added test case for the bug Index:

[PHP-CVS] cvs: php4 /ext/standard string.c

2003-01-11 Thread Ilia Alshanetsky
iliaa Sat Jan 11 12:52:39 2003 EDT Modified files: /php4/ext/standard string.c Log: Added stripos() strripos() functions. Added 3rd parameter (offset) to strrpos(). Index: php4/ext/standard/string.c diff -u php4/ext/standard/string.c:1.343

[PHP-CVS] cvs: php4 /ext/standard string.c

2003-01-04 Thread Ilia Alshanetsky
iliaa Sat Jan 4 23:29:14 2003 EDT Modified files: /php4/ext/standard string.c Log: Fixed a memory leak in setlocale() localeconv(). Index: php4/ext/standard/string.c diff -u php4/ext/standard/string.c:1.341 php4/ext/standard/string.c:1.342 ---

[PHP-CVS] cvs: php4 /ext/standard string.c

2002-12-31 Thread Rasmus Lerdorf
rasmus Tue Dec 31 10:18:53 2002 EDT Modified files: /php4/ext/standard string.c Log: Fix for bug #21311 Index: php4/ext/standard/string.c diff -u php4/ext/standard/string.c:1.338 php4/ext/standard/string.c:1.339 --- php4/ext/standard/string.c:1.338Thu

[PHP-CVS] cvs: php4 /ext/standard string.c /ext/standard/tests/strings bug20927.phpt

2002-12-12 Thread Ilia Alshanetsky
iliaa Thu Dec 12 08:38:19 2002 EDT Modified files: /php4/ext/standard string.c /php4/ext/standard/tests/stringsbug20927.phpt Log: Fixed bug #20927 and updated the test case for the bug. Index: php4/ext/standard/string.c diff -u

Re: [PHP-CVS] cvs: php4 /ext/standard string.c

2002-11-12 Thread Marcus Börger
I do not get those so i do not fix them. At 05:17 09.11.2002, Maxim Maletsky wrote: Actually, i was just about to mention one thing - in math.c on line 779 (I think) it warn of an unasigned comparison compilation. I was about to work out a patch and submit it as I got no karma for that part.

Re: [PHP-CVS] cvs: php4 /ext/standard string.c

2002-11-12 Thread Maxim Maletsky
I get it if compile with VC++. line 779 unsigned mismatch --- Maxim Maletsky [EMAIL PROTECTED] On Sat, 09 Nov 2002 11:05:15 +0100 [EMAIL PROTECTED] (Marcus Börger) wrote: I do not get those so i do not fix them. At 05:17 09.11.2002, Maxim Maletsky wrote: Actually, i was just about to

Re: [PHP-CVS] cvs: php4 /ext/standard string.c

2002-11-08 Thread Maxim Maletsky
Actually, i was just about to mention one thing - in math.c on line 779 (I think) it warn of an unasigned comparison compilation. I was about to work out a patch and submit it as I got no karma for that part. Why don't you take over it once you're there :) -- Maxim Maletsky [EMAIL PROTECTED]

[PHP-CVS] cvs: php4 /ext/standard string.c

2002-11-05 Thread Moriyoshi Koizumi
moriyoshi Tue Nov 5 08:52:11 2002 EDT Modified files: /php4/ext/standard string.c Log: style fix Index: php4/ext/standard/string.c diff -u php4/ext/standard/string.c:1.332 php4/ext/standard/string.c:1.333 --- php4/ext/standard/string.c:1.332Sat

Re: [PHP-CVS] cvs: php4 /ext/standard string.c

2002-11-02 Thread Andi Gutmans
I know but in the fopen wrappers I normalize paths to the default slash. I think all of PHP should behave in the same way. Andi At 09:11 AM 11/1/2002 -0500, Ilia A. wrote: Windows can interpret / as well as \, makes no difference to it. In fact when we resolve paths on Windows, we already use /

[PHP-CVS] cvs: php4 /ext/standard string.c

2002-11-02 Thread Ilia Alshanetsky
iliaa Sat Nov 2 13:54:31 2002 EDT Modified files: /php4/ext/standard string.c Log: Revert previous dirname() patch. Index: php4/ext/standard/string.c diff -u php4/ext/standard/string.c:1.331 php4/ext/standard/string.c:1.332 ---

Re: [PHP-CVS] cvs: php4 /ext/standard string.c

2002-11-02 Thread Ilia A.
Fair enough, I'll revert the patch. We are still left with a problem of pathes on windows not using / consistently however. Ilia On November 2, 2002 01:11 pm, Andi Gutmans wrote: I know but in the fopen wrappers I normalize paths to the default slash. I think all of PHP should behave in the

Re: [PHP-CVS] cvs: php4 /ext/standard string.c

2002-11-01 Thread Andi Gutmans
I'm not sure this is the right thing to do. UNIX and Windows are diffferent and that's what DEFAULT_SLASH is for. Andi At 12:53 AM 11/1/2002 +, Ilia Alshanetsky wrote: iliaa Thu Oct 31 19:53:28 2002 EDT Modified files: /php4/ext/standard string.c Log: Fixed bug #18710.

Re: [PHP-CVS] cvs: php4 /ext/standard string.c

2002-11-01 Thread Ilia A.
Windows can interpret / as well as \, makes no difference to it. In fact when we resolve paths on Windows, we already use / and not \. Ilia On November 1, 2002 03:01 am, Andi Gutmans wrote: I'm not sure this is the right thing to do. UNIX and Windows are diffferent and that's what

[PHP-CVS] cvs: php4 /ext/standard string.c

2002-10-30 Thread Moriyoshi Koizumi
moriyoshi Wed Oct 30 06:42:51 2002 EDT Modified files: /php4/ext/standard string.c Log: Fixed bug #20169 Index: php4/ext/standard/string.c diff -u php4/ext/standard/string.c:1.329 php4/ext/standard/string.c:1.330 --- php4/ext/standard/string.c:1.329

[PHP-CVS] cvs: php4 /ext/standard string.c

2002-10-10 Thread Andrey Hristov
andrey Thu Oct 10 14:41:25 2002 EDT Modified files: /php4/ext/standard string.c Log: ws fixes Index: php4/ext/standard/string.c diff -u php4/ext/standard/string.c:1.320 php4/ext/standard/string.c:1.321 --- php4/ext/standard/string.c:1.320Thu Oct 10

Re: [PHP-CVS] cvs: php4 /ext/standard string.c

2002-10-09 Thread Andrey Hristov
] To: Andrey Hristov [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Tuesday, October 08, 2002 7:20 PM Subject: Re: [PHP-CVS] cvs: php4 /ext/standard string.c On Tue, Oct 08, 2002 at 09:52:59AM -, Andrey Hristov wrote: andrey Tue Oct 8 05:52:59 2002 EDT Modified files: /php4/ext/standard

[PHP-CVS] cvs: php4 /ext/standard string.c

2002-10-09 Thread Andrey Hristov
andrey Wed Oct 9 06:33:22 2002 EDT Modified files: /php4/ext/standard string.c Log: Returning to the old behavior of str_shuffle() a bit. Now the passed string is left unmodified and the shuffled string is returned. Index: php4/ext/standard/string.c

[PHP-CVS] cvs: php4 /ext/standard string.c

2002-10-08 Thread Andrey Hristov
andrey Tue Oct 8 05:52:59 2002 EDT Modified files: /php4/ext/standard string.c Log: Now str_shuffle() has the randomization characteristics of shuffle(). str_shuffle() won't return anymore the randomized string and thus will be consistent with shuffle().

Re: [PHP-CVS] cvs: php4 /ext/standard string.c

2002-10-08 Thread Sander Roobol
On Tue, Oct 08, 2002 at 09:52:59AM -, Andrey Hristov wrote: andreyTue Oct 8 05:52:59 2002 EDT Modified files: /php4/ext/standardstring.c Log: Now str_shuffle() has the randomization characteristics of shuffle(). str_shuffle() won't

Re: [PHP-CVS] cvs: php4 /ext/standard string.c

2002-10-08 Thread Derick Rethans
On Tue, 8 Oct 2002, Sander Roobol wrote: On Tue, Oct 08, 2002 at 09:52:59AM -, Andrey Hristov wrote: andrey Tue Oct 8 05:52:59 2002 EDT Modified files: /php4/ext/standard string.c Log: Now str_shuffle() has the randomization

[PHP-CVS] cvs: php4 /ext/standard string.c

2002-10-06 Thread Sander Roobol
sander Sun Oct 6 07:28:12 2002 EDT Modified files: /php4/ext/standard string.c Log: Fixed segfault and memory leak in the new implementation of implode() Index: php4/ext/standard/string.c diff -u php4/ext/standard/string.c:1.313

[PHP-CVS] cvs: php4 /ext/standard string.c

2002-10-04 Thread Sterling Hughes
sterlingFri Oct 4 16:44:19 2002 EDT Modified files: /php4/ext/standard string.c Log: have implode use the smart_str_*() functions, this should speed things up quite a bit... Index: php4/ext/standard/string.c diff -u

[PHP-CVS] cvs: php4 /ext/standard string.c

2002-10-02 Thread Yasuo Ohgaki
yohgaki Thu Oct 3 00:56:55 2002 EDT Modified files: /php4/ext/standard string.c Log: Forgot 1 byte for \0 Index: php4/ext/standard/string.c diff -u php4/ext/standard/string.c:1.305 php4/ext/standard/string.c:1.306 --- php4/ext/standard/string.c:1.305

[PHP-CVS] cvs: php4 /ext/standard string.c

2002-09-26 Thread Sebastian Bergmann
sebastian Thu Sep 26 15:18:36 2002 EDT Modified files: /php4/ext/standard string.c Log: Fix warning. Index: php4/ext/standard/string.c diff -u php4/ext/standard/string.c:1.299 php4/ext/standard/string.c:1.300 --- php4/ext/standard/string.c:1.299

[PHP-CVS] cvs: php4 /ext/standard string.c

2002-09-25 Thread Andrey Hristov
andrey Wed Sep 25 15:06:30 2002 EDT Modified files: /php4/ext/standard string.c Log: Added common handler for strspn() and strcspn(). Almost of the code is identical. Modified to accept up to 4 params. Last 2 optional start len. They are analogic to start

[PHP-CVS] cvs: php4 /ext/standard string.c

2002-09-23 Thread Sebastian Bergmann
sebastian Mon Sep 23 10:20:03 2002 EDT Modified files: /php4/ext/standard string.c Log: Fix warning. Index: php4/ext/standard/string.c diff -u php4/ext/standard/string.c:1.296 php4/ext/standard/string.c:1.297 --- php4/ext/standard/string.c:1.296

[PHP-CVS] cvs: php4 /ext/standard string.c

2002-09-20 Thread Ilia Alshanetsky
iliaa Fri Sep 20 07:48:48 2002 EDT Modified files: /php4/ext/standard string.c Log: Fixed bugs #12989 and #12120 Index: php4/ext/standard/string.c diff -u php4/ext/standard/string.c:1.294 php4/ext/standard/string.c:1.295 ---