CVS update: php3/functions
| From: | jah | Date: | Mon, 04 Jan 1999 01:26:31 +0000 |
| Subject: | CVS update: php3/functions | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-3231@lists.php.net to get a copy of this message | ||
Date: Sunday January 3, 1999 @ 20:26
Author: jah
Update of /repository/php3/functions
In directory asf:/u/temp/cvs-serv24901/functions
Modified Files:
db.c
Log Message:
Removed those convert_to_long()s I added and fix a typo.
Index: php3/functions/db.c
diff -c php3/functions/db.c:1.81 php3/functions/db.c:1.82
*** php3/functions/db.c:1.81 Sun Jan 3 20:12:59 1999
--- php3/functions/db.c Sun Jan 3 20:26:27 1999
***************
*** 28,34 ****
+----------------------------------------------------------------------+
*/
! /* $Id: db.c,v 1.81 1999/01/04 01:12:59 jah Exp $ */
#define IS_EXT_MODULE
#if COMPILE_DL
#ifdef PHP_31
--- 28,34 ----
+----------------------------------------------------------------------+
*/
! /* $Id: db.c,v 1.82 1999/01/04 01:26:27 jah Exp $ */
#define IS_EXT_MODULE
#if COMPILE_DL
#ifdef PHP_31
***************
*** 507,513 ****
if (ARG_COUNT(ht)!=3||getParameters(ht,3,&id,&key,&value) == FAILURE) {
WRONG_PARAM_COUNT;
}
- convert_to_long(id);
convert_to_string(key);
convert_to_string(value);
--- 507,512 ----
***************
*** 564,570 ****
if (ARG_COUNT(ht)!=3||getParameters(ht,3,&id,&key,&value) == FAILURE) {
WRONG_PARAM_COUNT;
}
- convert_to_long(id);
convert_to_string(key);
convert_to_string(value);
--- 563,568 ----
***************
*** 624,630 ****
if (ARG_COUNT(ht)!=2||getParameters(ht,2,&id,&key)==FAILURE) {
WRONG_PARAM_COUNT;
}
- convert_to_long(id);
convert_to_string(key);
info = _php3_finddbm(id,list);
--- 622,627 ----
***************
*** 701,707 ****
if (ARG_COUNT(ht)!=2||getParameters(ht,2,&id,&key)==FAILURE) {
WRONG_PARAM_COUNT;
}
- convert_to_long(id);
convert_to_string(key);
info = _php3_finddbm(id,list);
--- 698,703 ----
***************
*** 748,754 ****
if (ARG_COUNT(ht)!=2||getParameters(ht,2,&id,&key)==FAILURE) {
WRONG_PARAM_COUNT;
}
- convert_to_long(id);
convert_to_string(key);
info = _php3_finddbm(id,list);
--- 744,749 ----
***************
*** 783,789 ****
return(ret);
}
! /* {{{ proto string dbmfirstkey(int dm_identifier)
*/
void php3_dbmfirstkey(INTERNAL_FUNCTION_PARAMETERS)
{
--- 778,784 ----
return(ret);
}
! /* {{{ proto string dbmfirstkey(int dbm_identifier)
*/
void php3_dbmfirstkey(INTERNAL_FUNCTION_PARAMETERS)
{
***************
*** 794,800 ****
if (ARG_COUNT(ht)!=1||getParameters(ht,1,&id)==FAILURE) {
WRONG_PARAM_COUNT;
}
- convert_to_long(id);
info = _php3_finddbm(id,list);
if (!info) {
--- 789,794 ----
***************
*** 855,861 ****
if (ARG_COUNT(ht)!=2||getParameters(ht,2,&id,&key)==FAILURE) {
WRONG_PARAM_COUNT;
}
- convert_to_long(id);
convert_to_string(key);
info = _php3_finddbm(id,list);
--- 849,854 ----
--
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