From: Florian Krohm Date: Mon, 15 Sep 2014 20:18:39 +0000 (+0000) Subject: Remove a comment that is no longer valid. The real reason we (now) X-Git-Tag: svn/VALGRIND_3_11_0~992 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=16a796694c600a0c36b38be615f062b1199de3cd;p=thirdparty%2Fvalgrind.git Remove a comment that is no longer valid. The real reason we (now) don't provide strtoll etc is that we don't need the flexibility and are too lazy to implement the general case :) But that does not warrant a comment in the code. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14540 --- diff --git a/include/pub_tool_libcbase.h b/include/pub_tool_libcbase.h index 2c35ef2d77..819935fccf 100644 --- a/include/pub_tool_libcbase.h +++ b/include/pub_tool_libcbase.h @@ -54,11 +54,6 @@ extern HChar VG_(tolower) ( HChar c ); // is set to the start of the string. None of them test that the number // fits into 64 bits. // -// Nb: if you're wondering why we don't just have a single VG_(strtoll) which -// takes a base, it's because I wanted it to assert if it was given a bogus -// base (the standard glibc one sets 'errno' in this case). But -// m_libcbase.c doesn't import any code, not even vg_assert. --njn -// // Nb: we also don't provide VG_(atoll*); these functions are worse than // useless because they don't do any error checking and so accept malformed // numbers and non-numbers -- eg. "123xyz" gives 123, and "foo" gives 0!