From 24561fa7da57b0b6459e1d2ac661e94417bc725d Mon Sep 17 00:00:00 2001 From: solar Date: Sat, 11 Dec 2010 09:14:39 +0000 Subject: [PATCH] We will cross that bridge when we come to it. git-svn-id: https://srv7.svn-repos.de/dev34/pdclib/trunk@489 546481bc-9713-0410-bf18-d3337bbf4a3e --- functions/inttypes/strtoimax.c | 1 - functions/stdlib/strtol.c | 1 - functions/stdlib/strtoll.c | 1 - 3 files changed, 3 deletions(-) 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; diff --git a/functions/stdlib/strtol.c b/functions/stdlib/strtol.c index dce035e..367b678 100644 --- a/functions/stdlib/strtol.c +++ b/functions/stdlib/strtol.c @@ -25,7 +25,6 @@ long int strtol( const char * s, char ** endptr, int base ) } else { - /* FIXME: This breaks on some machines that round negatives wrongly */ rc = (long int)_PDCLIB_strtox_main( &p, (unsigned)base, (uintmax_t)LONG_MIN, (uintmax_t)( LONG_MIN / -base ), (int)( -( LONG_MIN % base ) ), &sign ); } if ( endptr != NULL ) *endptr = ( p != NULL ) ? (char *) p : (char *) s; diff --git a/functions/stdlib/strtoll.c b/functions/stdlib/strtoll.c index 41640a1..bc952c7 100644 --- a/functions/stdlib/strtoll.c +++ b/functions/stdlib/strtoll.c @@ -25,7 +25,6 @@ long long int strtoll( const char * s, char ** endptr, int base ) } else { - /* FIXME: This breaks on some machines that round negatives wrongly */ rc = (long long int)_PDCLIB_strtox_main( &p, (unsigned)base, (uintmax_t)LLONG_MIN, (uintmax_t)( LLONG_MIN / -base ), (int)( -( LLONG_MIN % base ) ), &sign ); } if ( endptr != NULL ) *endptr = ( p != NULL ) ? (char *) p : (char *) s; -- 2.30.2