CVS update: php3/functions

From: Date: Thu, 13 Aug 1998 20:08:05 +0000
Subject: CVS update: php3/functions
Groups: php.dev 
Request: Send a blank email to php-dev+get-162@lists.php.net to get a copy of this message
Date: Thursday August 13, 1998 @ 16:08 Author: danny Update of /repository/php3/functions In directory asf:/tmp/cvs-serv42/functions Modified Files: ifx.ec Log Message: blob bug correction in ifx_result(). Index: php3/functions/ifx.ec diff -c php3/functions/ifx.ec:1.6 php3/functions/ifx.ec:1.7 *** php3/functions/ifx.ec:1.6 Thu Aug 13 14:15:20 1998 --- php3/functions/ifx.ec Thu Aug 13 16:08:05 1998 *************** *** 1429,1434 **** --- 1429,1436 ---- field = NULL; } + if ((blobdir = getenv("php3_blobdir")) == NULL) + blobdir = "."; /* if a fieldindex is given, we need to count the blobs to */ /* get at the right blobindex */ *************** *** 1556,1562 **** } /* return immediately here to prevent the free after the case */ p = locator->loc_buffer; ! return_value->value.str.len = strlen(p); return_value->value.str.val = (char *) safe_estrndup(p, return_value->value.str.len); return_value->type = IS_STRING; --- 1558,1564 ---- } /* return immediately here to prevent the free after the case */ p = locator->loc_buffer; ! return_value->value.str.len = locator->loc_size; return_value->value.str.val = (char *) safe_estrndup(p, return_value->value.str.len); return_value->type = IS_STRING; -- 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 (#162) next »