Author: njn Date: 2008-03-03 02:15:03 +0000 (Mon, 03 Mar 2008) New Revision: 7543
Log: update comments Modified: trunk/coregrind/m_libcbase.c trunk/include/pub_tool_libcbase.h Modified: trunk/coregrind/m_libcbase.c =================================================================== --- trunk/coregrind/m_libcbase.c 2008-03-03 02:13:16 UTC (rev 7542) +++ trunk/coregrind/m_libcbase.c 2008-03-03 02:15:03 UTC (rev 7543) @@ -730,7 +730,7 @@ } -// Generic shell sort. Like stdlib.h's qsort(). +// Generic quick sort. void VG_(ssort)( void* base, SizeT nmemb, SizeT size, Int (*compar)(void*, void*) ) { Modified: trunk/include/pub_tool_libcbase.h =================================================================== --- trunk/include/pub_tool_libcbase.h 2008-03-03 02:13:16 UTC (rev 7542) +++ trunk/include/pub_tool_libcbase.h 2008-03-03 02:15:03 UTC (rev 7543) @@ -131,7 +131,8 @@ Misc useful functions ------------------------------------------------------------------ */ -/* Like qsort(), but does shell-sort. The size==1/2/4 cases are specialised. */ +/* Like qsort(). The name VG_(ssort) is for historical reasons -- it used + * to be a shell sort, but is now a quicksort. */ extern void VG_(ssort)( void* base, SizeT nmemb, SizeT size, Int (*compar)(void*, void*) ); ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Valgrind-developers mailing list Valgrind-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/valgrind-developers