X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;f=functions%2Finttypes%2Fstrtoimax.c;h=5bd7ec6daee1b2e4298cec5bf77522b667ad4b11;hb=dd71cbbfbd68cd8c653277a0c1f70ab2b179421c;hp=2d0fdf77c27e6500afa4465b36d7fedce88e202a;hpb=164e8c095e19af2595865d2713dd4d3d893b71e0;p=pdclib diff --git a/functions/inttypes/strtoimax.c b/functions/inttypes/strtoimax.c old mode 100755 new mode 100644 index 2d0fdf7..5bd7ec6 --- 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;