]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Remove a comment that is no longer valid. The real reason we (now)
authorFlorian Krohm <florian@eich-krohm.de>
Mon, 15 Sep 2014 20:18:39 +0000 (20:18 +0000)
committerFlorian Krohm <florian@eich-krohm.de>
Mon, 15 Sep 2014 20:18:39 +0000 (20:18 +0000)
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

include/pub_tool_libcbase.h

index 2c35ef2d770fdadefd5e571bd36f81c1b5c15ed6..819935fccfd6f910262b4658c098f936b8342e9f 100644 (file)
@@ -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!