]> granicus.if.org Git - php/commitdiff
Convert C++ style comments to C style comments.
authorJon Parise <jon@php.net>
Mon, 21 Oct 2002 19:12:13 +0000 (19:12 +0000)
committerJon Parise <jon@php.net>
Mon, 21 Oct 2002 19:12:13 +0000 (19:12 +0000)
ext/standard/basic_functions.c

index 177c0766a5b440abcd84541247a9e3ac1c7f99f5..af30c32daf9ab2c71a6fd3e3e96b84243c33d9d5 100644 (file)
@@ -1412,8 +1412,9 @@ PHP_FUNCTION(getopt)
         * Get argv from the global symbol table.  We calculate argc ourselves
         * in order to be on the safe side, even though it is also available
         * from the symbol table.
+        *
+        * TODO: Take from trackbars instead.
         */
-       // TODO take fromm trackvars instead
        if (zend_hash_find(HASH_OF(PG(http_globals)[TRACK_VARS_SERVER]), "argv", sizeof("argv"),
                                           (void **) &args) != FAILURE) {
                int pos = 0;
@@ -1468,7 +1469,7 @@ PHP_FUNCTION(getopt)
                while (zend_hash_get_current_data(Z_ARRVAL_P(p_longopts),
                                                                                  (void **)&arg) == SUCCESS) {
 
-                       // todo check for : and ::, strip'em, efrees ...
+                       /* TODO: check for : and ::, strip'em, efrees ... */
                        p->has_arg = 0;
                        name = estrdup(Z_STRVAL_PP(arg));
                        len = strlen(name);