sterling Sun Dec 1 17:15:41 2002 EDT
Modified files:
/php4 TODO
/php4/ext/bz2 bz2.c
/php4/ext/sockets sockets.c
Log:
TODO: Cleanup elements that have happened, or most likely won't happen. There
is probably more that should be gone, but its still a move in the right
direction.
Other stuff is ws/formatting changes
Index: php4/TODO
diff -u php4/TODO:1.136 php4/TODO:1.137
--- php4/TODO:1.136 Wed Nov 13 04:11:19 2002
+++ php4/TODO Sun Dec 1 17:15:37 2002
@@ -3,9 +3,7 @@
Zend
----
- For PHP 4.3.0:
- * Allow foreach ($array as $k => &$val) syntax. right now we cannot
- traverse an array without copying each element.
+ For PHP 5.0.0:
* Allow foreach ($array as $k => list($a, $b)) syntax for multi
dimensional arrays.
* Look at replacing c-lib call tolower().
@@ -16,8 +14,8 @@
* Add configure test to determine if dlsym() requires underscore and set
DLSYM_NEEDS_UNDERSCORE accordingly. Perl and zsh have it in configure,
for example. (DONE?)
-
- For PHP 5.0.0:
+ * Allow foreach ($array as $k => &$val) syntax. right now we cannot
+ traverse an array without copying each element.
* Native large number support (probably with GNU GMP)
* Const'ify APIs. Right now, many functions leave parameters untouched,
but don't declare those as const. This makes interaction with other
@@ -27,17 +25,8 @@
global
------
For PHP 4.3.0:
- * Add aliases to functions to conform to new naming conventions, e.g.
- str_to_upper().
- * Make all extensions thread-safe.
- * Make everything on the language-level independent of your locale
- settings.
- * Change PHP error messages, so that they point to pages or sections
- in the PHP Manual.
* Make sure that all ZTS globals get destructed. Most ts_allocate_id()
calls should have a dtor entry.
- * Activate all extensions by default that don't rely on external
- dependencies. (eg ftp) (DONE?)
* on some platforms unimplemented function will just do nothing
(e.g. symlink) they should print a warning or not even be defined!
(DONE ?)
Index: php4/ext/bz2/bz2.c
diff -u php4/ext/bz2/bz2.c:1.61 php4/ext/bz2/bz2.c:1.62
--- php4/ext/bz2/bz2.c:1.61 Sat Oct 5 12:26:57 2002
+++ php4/ext/bz2/bz2.c Sun Dec 1 17:15:38 2002
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: bz2.c,v 1.61 2002/10/05 16:26:57 wez Exp $ */
+/* $Id: bz2.c,v 1.62 2002/12/01 22:15:38 sterling Exp $ */
#ifdef HAVE_CONFIG_H
#include "config.h"
@@ -538,6 +538,6 @@
* tab-width: 4
* c-basic-offset: 4
* End:
- * vim600: noet sw=4 ts=4 fdm=marker
- * vim<600: noet sw=4 ts=4
+ * vim600: fdm=marker
+ * vim: noet sw=4 ts=4
*/
Index: php4/ext/sockets/sockets.c
diff -u php4/ext/sockets/sockets.c:1.125 php4/ext/sockets/sockets.c:1.126
--- php4/ext/sockets/sockets.c:1.125 Sun Oct 27 22:05:04 2002
+++ php4/ext/sockets/sockets.c Sun Dec 1 17:15:39 2002
@@ -19,7 +19,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: sockets.c,v 1.125 2002/10/28 03:05:04 sterling Exp $ */
+/* $Id: sockets.c,v 1.126 2002/12/01 22:15:39 sterling Exp $ */
#ifdef HAVE_CONFIG_H
#include "config.h"
@@ -797,7 +797,7 @@
}
tmpbuf = erealloc(tmpbuf, retval + 1);
- tmpbuf[ retval ] = '\0' ;
+ tmpbuf[retval] = '\0' ;
RETURN_STRINGL(tmpbuf, retval, 0);
}
@@ -1069,7 +1069,8 @@
}
default:
- php_error(E_WARNING, "%s() unsupported socket type '%d', must
be AF_UNIX or AF_INET", get_active_function_name(TSRMLS_C), php_sock->type);
+ php_error(E_WARNING, "%s() unsupported socket type '%d', must
+be AF_UNIX or AF_INET",
+ get_active_function_name(TSRMLS_C), php_sock->type);
RETURN_FALSE;
}
@@ -2025,6 +2026,6 @@
* tab-width: 4
* c-basic-offset: 4
* End:
- * vim600: noet sw=4 ts=4 fdm=marker
- * vim<600: noet sw=4 ts=4
+ * vim600: fdm=marker
+ * vim: noet sw=4 ts=4
*/
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php