CVS update: php3/functions

From: Date: Mon, 15 Mar 1999 20:56:07 +0000
Subject: CVS update: php3/functions
Groups: php.dev 
Request: Send a blank email to php-dev+get-4637@lists.php.net to get a copy of this message
Date: Monday March 15, 1999 @ 15:56 Author: rasmus Update of /repository/php3/functions In directory asf:/home/rasmus/php3/functions Modified Files: string.c Log Message: Grrr... I hate when I don't test my fixes thoroughly. Index: php3/functions/string.c diff -c php3/functions/string.c:1.179 php3/functions/string.c:1.180 *** php3/functions/string.c:1.179 Sun Mar 7 16:31:24 1999 --- php3/functions/string.c Mon Mar 15 15:56:07 1999 *************** *** 30,36 **** */ ! /* $Id: string.c,v 1.179 1999/03/07 21:31:24 sas Exp $ */ #ifdef THREAD_SAFE #include "tls.h" #endif --- 30,36 ---- */ ! /* $Id: string.c,v 1.180 1999/03/15 20:56:07 rasmus Exp $ */ #ifdef THREAD_SAFE #include "tls.h" #endif *************** *** 302,308 **** return_value->value.str.val[len] = '\0'; _php3_hash_internal_pointer_reset(arr->value.ht); while (_php3_hash_get_current_data(arr->value.ht, (void **) &tmp) == SUCCESS) { ! if (tmp->type == IS_STRING) { count--; strcat(return_value->value.str.val, tmp->value.str.val); if (count > 0) { --- 302,308 ---- return_value->value.str.val[len] = '\0'; _php3_hash_internal_pointer_reset(arr->value.ht); while (_php3_hash_get_current_data(arr->value.ht, (void **) &tmp) == SUCCESS) { ! if (tmp->type == IS_STRING && tmp->value.str.val != undefined_variable_string) { count--; strcat(return_value->value.str.val, tmp->value.str.val); if (count > 0) { -- 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

« previous php.dev (#4637) next »