projects
/
platform
/
upstream
/
coreutils.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
69fed0d
)
doc: clarify a comment in system.h
author
Jim Meyering
<meyering@redhat.com>
Fri, 24 Feb 2012 09:02:18 +0000
(10:02 +0100)
committer
Jim Meyering
<meyering@redhat.com>
Fri, 24 Feb 2012 11:22:52 +0000
(12:22 +0100)
* src/system.h (STRNCMP_LIT): Clarify comment.
Suggested by Bruno Haible.
src/system.h
patch
|
blob
|
history
diff --git
a/src/system.h
b/src/system.h
index
c4f262d
..
f312f88
100644
(file)
--- 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)