From f2282d42b49dcae001c269aeed4d9dbf74c5ca63 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Thu, 13 Oct 2011 09:49:28 -0700 Subject: BZ#13291: Manual typo fix for strverscmp. --- manual/string.texi | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'manual') diff --git a/manual/string.texi b/manual/string.texi index 2fe60395eb..f7d4ebea1d 100644 --- a/manual/string.texi +++ b/manual/string.texi @@ -1249,10 +1249,10 @@ strncmp ("hello, world", "hello, stupid world!!!", 5) @comment GNU @deftypefun int strverscmp (const char *@var{s1}, const char *@var{s2}) The @code{strverscmp} function compares the string @var{s1} against -@var{s2}, considering them as holding indices/version numbers. Return -value follows the same conventions as found in the @code{strverscmp} -function. In fact, if @var{s1} and @var{s2} contain no digits, -@code{strverscmp} behaves like @code{strcmp}. +@var{s2}, considering them as holding indices/version numbers. The +return value follows the same conventions as found in the +@code{strcmp} function. In fact, if @var{s1} and @var{s2} contain no +digits, @code{strverscmp} behaves like @code{strcmp}. Basically, we compare strings normally (character by character), until we find a digit in each string - then we enter a special comparison -- cgit 1.4.1