]> granicus.if.org Git - php/commitdiff
TODO: Cleanup elements that have happened, or most likely won't happen. There
authorSterling Hughes <sterling@php.net>
Sun, 1 Dec 2002 22:15:39 +0000 (22:15 +0000)
committerSterling Hughes <sterling@php.net>
Sun, 1 Dec 2002 22:15:39 +0000 (22:15 +0000)
is probably more that should be gone, but its still a move in the right
direction.

Other stuff is ws/formatting changes

TODO
ext/sockets/sockets.c

diff --git a/TODO b/TODO
index f553dd5b0a0f50a7ba75fba5620675fb827af916..6e3726b8a440a15dc8a34d65febea1b39546af0e 100644 (file)
--- a/TODO
+++ b/TODO
@@ -3,9 +3,7 @@ parenthesis means that person has taken on this project.
 
 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 @@ Zend
     * 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 @@ Zend
 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 451b5badcc6c67fd9029bcb8ef63210c01d58377..e574e3450339350cfc64f6095b54ccacee3be1ec 100644 (file)
@@ -797,7 +797,7 @@ PHP_FUNCTION(socket_read)
        }
        
        tmpbuf = erealloc(tmpbuf, retval + 1);
-       tmpbuf[ retval ] = '\0' ;
+       tmpbuf[retval] = '\0' ;
 
        RETURN_STRINGL(tmpbuf, retval, 0);
 }
@@ -1069,7 +1069,8 @@ PHP_FUNCTION(socket_bind)
                        }
                
                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 @@ PHP_FUNCTION(socket_clear_error)
  * 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
  */