CVS update: php3/functions
| From: | zeev | Date: | Sun, 04 Oct 1998 16:03:30 +0000 |
| Subject: | CVS update: php3/functions | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-1653@lists.php.net to get a copy of this message | ||
Date: Sunday October 4, 1998 @ 12:03
Author: zeev
Update of /repository/php3/functions
In directory asf:/u2/tmp/cvs-serv1937/functions
Modified Files:
string.c
Log Message:
Fix char_to_str()
Index: php3/functions/string.c
diff -c php3/functions/string.c:1.143 php3/functions/string.c:1.144
*** php3/functions/string.c:1.143 Sat Oct 3 20:50:22 1998
--- php3/functions/string.c Sun Oct 4 12:03:29 1998
***************
*** 30,36 ****
*/
! /* $Id: string.c,v 1.143 1998/10/04 00:50:22 zeev Exp $ */
#ifdef THREAD_SAFE
#include "tls.h"
#endif
--- 30,36 ----
*/
! /* $Id: string.c,v 1.144 1998/10/04 16:03:29 zeev Exp $ */
#ifdef THREAD_SAFE
#include "tls.h"
#endif
***************
*** 987,993 ****
static void _php3_char_to_str(char *str,uint len,char from,char *to,int to_len,pval *result)
{
int char_count=0;
! char *source,*target,*tmp,*source_end=source+len;
for (source=str; *source; source++) {
if (*source==from) {
--- 987,993 ----
static void _php3_char_to_str(char *str,uint len,char from,char *to,int to_len,pval *result)
{
int char_count=0;
! char *source,*target,*tmp,*source_end=str+len;
for (source=str; *source; source++) {
if (*source==from) {
--
PHP Development Mailing List http://www.php.net/
To unsubscribe send an empty message to php-dev-unsubscribe@lists.php.net
For help: php-dev-help@lists.php.net