]> pd.if.org Git - pdclib/commitdiff
Extended comment - old one left me clueless.
authorsolar <unknown>
Thu, 15 Dec 2005 12:35:57 +0000 (12:35 +0000)
committersolar <unknown>
Thu, 15 Dec 2005 12:35:57 +0000 (12:35 +0000)
functions/_PDCLIB/strtox_main.c

index 57e184555cf1e66f99a58c4561c249289542b300..25aff70300c6c9910656a33f028b0eddddf7e291 100644 (file)
@@ -30,7 +30,7 @@ _PDCLIB_uintmax_t _PDCLIB_strtox_main( const char ** p, int base, _PDCLIB_uintma
         else
         {
             errno = ERANGE;
         else
         {
             errno = ERANGE;
-            /* TODO: Only if endptr != NULL */
+            /* TODO: Only if endptr != NULL - but do we really want *another* parameter? */
             while ( memchr( _PDCLIB_digits, **p, base ) != NULL ) ++(*p);
             /* TODO: This is ugly, but keeps caller from negating the error value */
             *sign = '+';
             while ( memchr( _PDCLIB_digits, **p, base ) != NULL ) ++(*p);
             /* TODO: This is ugly, but keeps caller from negating the error value */
             *sign = '+';