X-Git-Url: https://pd.if.org/git/?p=pdclib;a=blobdiff_plain;f=functions%2Fstdlib%2Fstrtol.c;h=085abbb612c074fcfcdf3595a29a216914718a9a;hp=ff5aa8b0cb791609f0bbe526248fd54d135b0825;hb=45f394553721285e7bc6187419613c33915cce21;hpb=a381f50d5325748b70096ac5f5d3f63ae4f6e18a diff --git a/functions/stdlib/strtol.c b/functions/stdlib/strtol.c index ff5aa8b..085abbb 100644 --- a/functions/stdlib/strtol.c +++ b/functions/stdlib/strtol.c @@ -84,9 +84,9 @@ int main( void ) endptr = NULL; TESTCASE( strtol( overflow, &endptr, 0 ) == 0 ); TESTCASE( endptr == overflow ); - /* These tests assume two-complement, but conversion should work for */ - /* one-complement and signed magnitude just as well. Anyone having a */ - /* platform to test this on? */ + /* TODO: These tests assume two-complement, but conversion should work */ + /* for one-complement and signed magnitude just as well. Anyone having */ + /* a platform to test this on? */ errno = 0; #if LONG_MAX == 0x7fffffffL /* testing "even" overflow, i.e. base is power of two */