diff options
| author | Randy Dunlap <rdunlap@infradead.org> | 2018-01-20 15:48:58 -0800 |
|---|---|---|
| committer | Luc Van Oostenryck <luc.vanoostenryck@gmail.com> | 2018-01-21 05:43:44 +0100 |
| commit | 8e647c22c54c8aac5765c4205fc84ddd430b2858 (patch) | |
| tree | dc08861f0329eaf37f2aa9679eb7d54fceeb160a | |
| parent | 1277d44553d34510a333632add6e75c759bd6dbd (diff) | |
| download | sparse-dev-8e647c22c54c8aac5765c4205fc84ddd430b2858.tar.gz | |
sparse: minor manpage corrections
Fix some man page typos, punctuation, and grammar.
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc: Josh Triplett <josh@joshtriplett.org>
Reviewed-by: Josh Triplett <josh@joshtriplett.org>
Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@gmail.com>
| -rw-r--r-- | sparse.1 | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -62,7 +62,7 @@ arithmetic operations other than bitwise operations, and on any conversion of one restricted type into another, except via a cast that includes \fB__attribute__((force))\fR. -__bitwise ends up being a "stronger integer separation". That one +__bitwise ends up being a "stronger integer separation", one that doesn't allow you to mix with non-bitwise integers, so now it's much harder to lose the type by mistake. @@ -210,7 +210,7 @@ Sparse issues these warnings by default. To turn them off, use .B \-Winit\-cstring Warn about initialization of a char array with a too long constant C string. -If the size of the char array and the length of the string is the same, +If the size of the char array and the length of the string are the same, there is no space for the last nul char of the string in the array: .nf @@ -354,7 +354,7 @@ Warn about preprocessor conditionals that use the value of an undefined preprocessor symbol. Standard C (C99 6.10.1) permits using the value of an undefined preprocessor -symbol in preprocessor conditionals, and specifies it has have a value of 0. +symbol in preprocessor conditionals, and specifies it has a value of 0. However, this behavior can lead to subtle errors. Sparse does not issue these warnings by default. |
