X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;ds=sidebyside;f=functions%2F_PDCLIB%2Fstrtox_main.c;fp=functions%2F_PDCLIB%2Fstrtox_main.c;h=25aff70300c6c9910656a33f028b0eddddf7e291;hb=5e50b669665ed5d378e8f9a09e1ced3680890337;hp=57e184555cf1e66f99a58c4561c249289542b300;hpb=d2bcf12cb6679d7ab91c8a9f9107c8f8b93be953;p=pdclib.old 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 = '+';