cvs: php4 /ext/standard string.c /main main.c
| From: | Andi Gutmans | Date: | Tue, 03 Oct 2000 14:43:04 +0000 |
| Subject: | cvs: php4 /ext/standard string.c /main main.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-1920@lists.php.net to get a copy of this message | ||
andi Tue Oct 3 07:43:04 2000 EDT
Modified files:
/php4/ext/standard string.c
/php4/main main.c
Log:
- Fix VC++ warning
Index: php4/ext/standard/string.c
diff -u php4/ext/standard/string.c:1.159 php4/ext/standard/string.c:1.160
--- php4/ext/standard/string.c:1.159 Wed Sep 27 08:18:00 2000
+++ php4/ext/standard/string.c Tue Oct 3 07:43:03 2000
@@ -18,7 +18,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: string.c,v 1.159 2000/09/27 15:18:00 sas Exp $ */
+/* $Id: string.c,v 1.160 2000/10/03 14:43:03 andi Exp $ */
/* Synced with php 3.0 revision 1.193 1999-06-16 [ssb] */
@@ -697,7 +697,8 @@
}
/* }}} */
-PHPAPI void php_dirname(char *str, int len) {
+PHPAPI void php_dirname(char *str, int len)
+{
register char *c;
c = str + len - 1;
Index: php4/main/main.c
diff -u php4/main/main.c:1.321 php4/main/main.c:1.322
--- php4/main/main.c:1.321 Sat Sep 30 09:11:15 2000
+++ php4/main/main.c Tue Oct 3 07:43:04 2000
@@ -19,7 +19,7 @@
*/
-/* $Id: main.c,v 1.321 2000/09/30 16:11:15 andi Exp $ */
+/* $Id: main.c,v 1.322 2000/10/03 14:43:04 andi Exp $ */
#include <stdio.h>
@@ -44,6 +44,7 @@
#include <locale.h>
#endif
#include "zend.h"
+#include "zend_extensions.h"
#include "php_ini.h"
#include "php_globals.h"
#include "php_main.h"