helly Sat Jun 14 12:54:18 2003 EDT
Added files:
/php4/ext/db package.xml
Modified files:
/php4/ext/db CREDITS db.c php_db.h
Log:
Update before moving to PECL
Index: php4/ext/db/CREDITS
diff -u php4/ext/db/CREDITS:1.1 php4/ext/db/CREDITS:1.2
--- php4/ext/db/CREDITS:1.1 Mon Nov 20 05:31:16 2000
+++ php4/ext/db/CREDITS Sat Jun 14 12:54:18 2003
@@ -1,2 +1,2 @@
DBM
-Rasmus Lerdorf, Jim Winstead
+Rasmus Lerdorf, Jim Winstead, Marcus Boerger
Index: php4/ext/db/db.c
diff -u php4/ext/db/db.c:1.87 php4/ext/db/db.c:1.88
--- php4/ext/db/db.c:1.87 Tue Jun 10 16:03:26 2003
+++ php4/ext/db/db.c Sat Jun 14 12:54:18 2003
@@ -4,20 +4,21 @@
+----------------------------------------------------------------------+
| Copyright (c) 1997-2003 The PHP Group |
+----------------------------------------------------------------------+
- | This source file is subject to version 3.0 of the PHP license, |
+ | This source file is subject to version 2.02 of the PHP license, |
| that is bundled with this package in the file LICENSE, and is |
- | available through the world-wide-web at the following url: |
- | http://www.php.net/license/3_0.txt. |
+ | available at through the world-wide-web at |
+ | http://www.php.net/license/2_02.txt. |
| If you did not receive a copy of the PHP license and are unable to |
| obtain it through the world-wide-web, please send a note to |
| [EMAIL PROTECTED] so we can mail you a copy immediately. |
+----------------------------------------------------------------------+
| Authors: Rasmus Lerdorf <[EMAIL PROTECTED]> |
| Jim Winstead <[EMAIL PROTECTED]> |
+ | Marcus Boerger <[EMAIL PROTECTED]> |
+----------------------------------------------------------------------+
*/
-/* $Id: db.c,v 1.87 2003/06/10 20:03:26 imajes Exp $ */
+/* $Id: db.c,v 1.88 2003/06/14 16:54:18 helly Exp $ */
#define IS_EXT_MODULE
#ifdef HAVE_CONFIG_H
@@ -185,8 +186,6 @@
/* {{{ proto array db_id_list(void)
Return an associative array id->filename */
-#if HELLY_0
-/* New function not needed yet */
PHP_FUNCTION(db_id_list)
{
ulong numitems, i;
@@ -212,7 +211,6 @@
}
}
/* }}} */
-#endif
/* {{{ php_get_info_db
*/
@@ -1096,7 +1094,7 @@
}
/* }}} */
-/* {{{ latfile_nextkey
+/* {{{ flatfile_nextkey
*/
datum flatfile_nextkey(FILE *dbf) {
datum buf;
@@ -1170,9 +1168,7 @@
PHP_FE(dbmdelete,
NULL)
PHP_FE(dbmfirstkey,
NULL)
PHP_FE(dbmnextkey,
NULL)
-#if HELLY_0
PHP_FE(db_id_list, NULL)
-#endif
{NULL, NULL, NULL}
};
/* }}} */
Index: php4/ext/db/php_db.h
diff -u php4/ext/db/php_db.h:1.20 php4/ext/db/php_db.h:1.21
--- php4/ext/db/php_db.h:1.20 Tue Jun 10 16:03:26 2003
+++ php4/ext/db/php_db.h Sat Jun 14 12:54:18 2003
@@ -14,10 +14,11 @@
+----------------------------------------------------------------------+
| Authors: Rasmus Lerdorf <[EMAIL PROTECTED]> |
| Jim Winstead <[EMAIL PROTECTED]> |
+ | Marcus Boerger <[EMAIL PROTECTED]> |
+----------------------------------------------------------------------+
*/
-/* $Id: php_db.h,v 1.20 2003/06/10 20:03:26 imajes Exp $ */
+/* $Id: php_db.h,v 1.21 2003/06/14 16:54:18 helly Exp $ */
#ifndef PHP_DB_H
@@ -76,5 +77,6 @@
PHP_FUNCTION(dbmdelete);
PHP_FUNCTION(dbmfirstkey);
PHP_FUNCTION(dbmnextkey);
+PHP_FUNCTION(db_id_list);
#endif /* PHP_DB_H */
Index: php4/ext/db/package.xml
+++ php4/ext/db/package.xml
<?xml version="1.0" encoding="ISO-8859-1" ?>
<!DOCTYPE package SYSTEM "../../../php4/pear/package.dtd">
<package>
<name>DBM</name>
<summary>DBM database bindings</summary>
<maintainers>
<maintainer>
<user>rasmus</user>
<name>Rasmus Lerdorf</name>
<email>[EMAIL PROTECTED]</email>
<role>lead</role>
</maintainer>
<maintainer>
<user>jimw</user>
<name>Jim Winstead</name>
<email>[EMAIL PROTECTED]</email>
<role>lead</role>
</maintainer>
<maintainer>
<user>helly</user>
<name>Marcus Börger</name>
<email>[EMAIL PROTECTED]</email>
<role>developer</role>
</maintainer>
</maintainers>
<description>
This deprecated package is replaced by the standard extenstion dba.
</description>
<license>PHP</license>
<release>
<state>deprecated</state>
<version>1.0</version>
<date>2003-06-14</date>
<notes>
</notes>
<filelist>
<file role="src" name="config.m4"/>
<file role="src" name="db.c"/>
<file role="src" name="db.dsp"/>
<file role="src" name="php_db.h"/>
<file role="doc" name="CREDITS"/>
<file role="doc" name="README"/>
<dir name="test">
<file role="test" name="001.phpt"/>
<file role="test" name="002.phpt"/>
<file role="test" name="003.phpt"/>
<file role="test" name="004.phpt"/>
<file role="test" name="005.phpt"/>
<file role="test" name="006.phpt"/>
<file role="test" name="test.inc"/>
</dir>
</filelist>
</release>
</package>
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php