cvs: /php4/ext/standard assert.c php_assert.h /php4 internal_functions.c.in internal_functions_win32.c /php4/ext/standard Makefile.am
| From: | Thies C. Arntzen | Date: | Tue, 07 Dec 1999 11:37:31 +0000 |
| Subject: | cvs: /php4/ext/standard assert.c php_assert.h /php4 internal_functions.c.in internal_functions_win32.c /php4/ext/standard Makefile.am | ||
| Groups: | php.version4 | ||
| Request: | Send a blank email to php-version4+get-7584@lists.php.net to get a copy of this message | ||
thies Tue Dec 7 06:37:31 1999 EDT
Added files:
/php4/ext/standard assert.c php_assert.h
Modified files:
/php4 internal_functions.c.in internal_functions_win32.c
/php4/ext/standard Makefile.am
Log:
new assert() module. (Not yet finished!)
Index: php4/internal_functions.c.in
diff -u php4/internal_functions.c.in:1.9 php4/internal_functions.c.in:1.10
--- php4/internal_functions.c.in:1.9 Sat Nov 13 15:47:33 1999
+++ php4/internal_functions.c.in Tue Dec 7 06:37:29 1999
@@ -1,27 +1,16 @@
-/*
+/*
+----------------------------------------------------------------------+
- | PHP HTML Embedded Scripting Language Version 3.0 |
+ | PHP version 4.0 |
+----------------------------------------------------------------------+
- | Copyright (c) 1997,1998 PHP Development Team (See Credits file) |
+ | Copyright (c) 1997, 1998, 1999 The PHP Group |
+----------------------------------------------------------------------+
- | This program is free software; you can redistribute it and/or modify |
- | it under the terms of one of the following licenses: |
- | |
- | A) the GNU General Public License as published by the Free Software |
- | Foundation; either version 2 of the License, or (at your option) |
- | any later version. |
- | |
- | B) the PHP License as published by the PHP Development Team and |
- | included in the distribution in the file: LICENSE |
- | |
- | This program is distributed in the hope that it will be useful, |
- | but WITHOUT ANY WARRANTY; without even the implied warranty of |
- | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
- | GNU General Public License for more details. |
- | |
- | You should have received a copy of both licenses referred to here. |
- | If you did not, or have any questions about PHP licensing, please |
- | contact core@php.net. |
+ | This source file is subject to version 2.0 of the PHP license, |
+ | that is bundled with this package in the file LICENSE, and is |
+ | available at through the world-wide-web at |
+ | http://www.php.net/license/2_0.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 |
+ | license@php.net so we can mail you a copy immediately. |
+----------------------------------------------------------------------+
| Authors: Andi Gutmans <andi@zend.com> |
| Zeev Suraski <zeev@zend.com> |
@@ -29,9 +18,8 @@
*/
-/* $Id: internal_functions.c.in,v 1.9 1999/11/13 20:47:33 andrei Exp $ */
+/* $Id: internal_functions.c.in,v 1.10 1999/12/07 11:37:29 thies Exp $ */
-
#include "php.h"
#include "modules.h"
#include "internal_functions_registry.h"
@@ -67,6 +55,7 @@
phpext_metaphone_ptr,
phpext_output_ptr,
phpext_array_ptr,
+ phpext_assert_ptr,
@EXT_MODULE_PTRS@
};
Index: php4/internal_functions_win32.c
diff -u php4/internal_functions_win32.c:1.18 php4/internal_functions_win32.c:1.19
--- php4/internal_functions_win32.c:1.18 Sat Dec 4 14:15:41 1999
+++ php4/internal_functions_win32.c Tue Dec 7 06:37:29 1999
@@ -18,7 +18,7 @@
*/
-/* $Id: internal_functions_win32.c,v 1.18 1999/12/04 19:15:41 sas Exp $ */
+/* $Id: internal_functions_win32.c,v 1.19 1999/12/07 11:37:29 thies Exp $ */
#include "php.h"
@@ -47,6 +47,7 @@
#include "ext/standard/php_lcg.h"
#include "ext/standard/php_output.h"
#include "ext/standard/php_array.h"
+#include "ext/standard/php_assert.h"
#include "ext/COM/php_COM.h"
#include "ext/standard/reg.h"
#include "ext/pcre/php_pcre.h"
@@ -84,7 +85,8 @@
phpext_lcg_ptr,
phpext_session_ptr,
phpext_output_ptr,
- phpext_array_ptr
+ phpext_array_ptr,
+ phpext_assert_ptr
};
Index: php4/ext/standard/Makefile.am
diff -u php4/ext/standard/Makefile.am:1.18 php4/ext/standard/Makefile.am:1.19
--- php4/ext/standard/Makefile.am:1.18 Sat Nov 13 15:31:54 1999
+++ php4/ext/standard/Makefile.am Tue Dec 7 06:37:30 1999
@@ -6,7 +6,7 @@
formatted_print.c fsock.c head.c html.c image.c info.c iptc.c lcg.c \
link.c mail.c math.c md5.c metaphone.c microtime.c pack.c pageinfo.c \
parsedate.y post.c quot_print.c rand.c reg.c soundex.c string.c \
- syslog.c type.c uniqid.c url.c url_scanner.c var.c output.c
+ syslog.c type.c uniqid.c url.c url_scanner.c var.c output.c assert.c
$(srcdir)/url_scanner.c: $(srcdir)/url_scanner.re
-re2c $< > $@.new && mv $@.new $@