From: solar <> Date: Thu, 15 Dec 2005 12:35:57 +0000 (+0000) Subject: Extended comment - old one left me clueless. X-Git-Url: https://pd.if.org/git/?p=pdclib.old;a=commitdiff_plain;h=5e50b669665ed5d378e8f9a09e1ced3680890337 Extended comment - old one left me clueless. --- diff --git a/functions/_PDCLIB/strtox_main.c b/functions/_PDCLIB/strtox_main.c index 57e1845..25aff70 100644 --- a/functions/_PDCLIB/strtox_main.c +++ b/functions/_PDCLIB/strtox_main.c @@ -30,7 +30,7 @@ _PDCLIB_uintmax_t _PDCLIB_strtox_main( const char ** p, int base, _PDCLIB_uintma 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 = '+';