From: Jim Meyering Date: Fri, 24 Feb 2012 09:02:18 +0000 (+0100) Subject: doc: clarify a comment in system.h X-Git-Tag: v8.16~43 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4624581d53709bc408d5d49e05c04f175bbb62b1;p=thirdparty%2Fcoreutils.git doc: clarify a comment in system.h * src/system.h (STRNCMP_LIT): Clarify comment. Suggested by Bruno Haible. --- diff --git a/src/system.h b/src/system.h index c4f262dbbc..f312f88d04 100644 --- a/src/system.h +++ b/src/system.h @@ -186,7 +186,7 @@ select_plural (uintmax_t n) #define STRPREFIX(a, b) (strncmp(a, b, strlen (b)) == 0) /* Just like strncmp, but the second argument must be a literal string - and you don't specify the length. */ + and you don't specify the length; that comes from the literal. */ #define STRNCMP_LIT(s, literal) \ strncmp (s, "" literal "", sizeof (literal) - 1)