From: solar Date: Thu, 15 Dec 2005 12:35:57 +0000 (+0000) Subject: Extended comment - old one left me clueless. X-Git-Tag: v0.4~37 X-Git-Url: https://pd.if.org/git/?p=pdclib;a=commitdiff_plain;h=ca9c9c1d43ea63ec7e820a6c2c5fc213e3c5f840 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 = '+';