X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;f=functions%2Finttypes%2Fstrtoimax.c;fp=functions%2Finttypes%2Fstrtoimax.c;h=5bd7ec6daee1b2e4298cec5bf77522b667ad4b11;hb=ad6a5493ae2a129638fa6f43dfcdbfea7fdf60f3;hp=2d0fdf77c27e6500afa4465b36d7fedce88e202a;hpb=92e17e2ca6d941983c337db419e534127ec706ef;p=pdclib.old diff --git a/functions/inttypes/strtoimax.c b/functions/inttypes/strtoimax.c index 2d0fdf7..5bd7ec6 100644 --- a/functions/inttypes/strtoimax.c +++ b/functions/inttypes/strtoimax.c @@ -25,7 +25,6 @@ intmax_t strtoimax( const char * _PDCLIB_restrict nptr, char ** _PDCLIB_restrict } else { - /* FIXME: This breaks on some machines that round negatives wrongly */ rc = (intmax_t)_PDCLIB_strtox_main( &p, (unsigned)base, (uintmax_t)INTMAX_MIN, (uintmax_t)( INTMAX_MIN / -base ), (int)( -( INTMAX_MIN % base ) ), &sign ); } if ( endptr != NULL ) *endptr = ( p != NULL ) ? (char *) p : (char *) nptr;