linux-sparse.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] doc: correct some spelling
@ 2020-06-14 19:36 Ramsay Jones
  2020-06-14 22:05 ` Luc Van Oostenryck
  0 siblings, 1 reply; 3+ messages in thread
From: Ramsay Jones @ 2020-06-14 19:36 UTC (permalink / raw)
  To: Luc Van Oostenryck; +Cc: Sparse Mailing-list


Signed-off-by: Ramsay Jones <ramsay@ramsayjones.plus.com>
---

Hi Luc,

The only spelling fixes in the manpage are s/exemple/example/,
s/trigered/triggered/ and s/&/and/. I would not normally change
any 'formatting' in sparse.1, but the '{ 0 }' and '{ }' got
split across line-endings, so I removed the spaces.
(other solutions are possible ...)

ATB,
Ramsay Jones

 Documentation/release-notes/v0.6.2.rst |  8 ++++----
 sparse.1                               | 10 +++++-----
 2 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/Documentation/release-notes/v0.6.2.rst b/Documentation/release-notes/v0.6.2.rst
index 0ef67fc5..7439724c 100644
--- a/Documentation/release-notes/v0.6.2.rst
+++ b/Documentation/release-notes/v0.6.2.rst
@@ -10,7 +10,7 @@ V0.6.2
 * add support for _Generic
 
 * fully propagate declarations downward
-  For exemple, it means that code like:
+  For example, it means that code like:
 
         static int foo(void);
         int foo(void) { return 0; }
@@ -21,7 +21,7 @@ V0.6.2
   * allow a single sparse executable to be used for multiple architectures
   * add support for -mcmodel & -f{pic,PIC,pie,PIE}, mainly for RISC-V
   * add new option, --arch=$ARCH, to specify the target architecture
-  * move all arch-specifc code in separated files (target-$ARCH.c) 
+  * move all arch-specific code into separate files (target-$ARCH.c)
   * try to support the various floating-point ABIs on ARM
   * fix wchar_t & wint_t for openbsd
   * add missing predefines for PPC
@@ -72,7 +72,7 @@ V0.6.2
   * define _BIG_ENDIAN when needed
   * remove definition of _STRING_ARCH_unaligned (defined by glibc)
   * removed unneeded predefines for integers (now defined by sparse)
-  * better mult-arch support by using --arch=$ARCH
+  * better multi-arch support by using --arch=$ARCH
 
 * testsuite:
   * avoid standard includes in the tests
@@ -90,7 +90,7 @@ V0.6.2
 
 * misc:
   * add support for '-std=c17/c18'
-  * simplify testng of which version of the standard is used
+  * simplify testing of which version of the standard is used
   * various improvements to the 'dissect' tool
   * simplify the parsing of type specifiers
   * improve diagnostic messages concerning bitfields
diff --git a/sparse.1 b/sparse.1
index bbcffc41..e8994a66 100644
--- a/sparse.1
+++ b/sparse.1
@@ -437,20 +437,20 @@ Sparse does not issue these warnings by default.
 .
 .TP
 .B \-Wuniversal\-initializer
-Do not suppress warnings caused by using '{ 0 }' instead of '{ }' on
+Do not suppress warnings caused by using '{0}' instead of '{}' on
 aggregate types, ignoring its special status as universal initializer.
-The concerned warnings are, for exemple, those trigered by
+The concerned warnings are, for example, those triggered by
 \fB\-Wdesignated\-init\fR or \fB\-Wnon\-pointer\-null\fR.
 
-Sparse does not issue these warnings by default, processing '{ 0 }'
-the same as '{ }'.
+Sparse does not issue these warnings by default, processing '{0}'
+the same as '{}'.
 .
 .SH MISC OPTIONS
 .TP
 .B \-\-arch=\fIARCH\fR
 Specify the target architecture.
 For architectures having both a 32-bit and a 64-bit variant (mips, powerpc,
-riscv & sparc) the architecture name can be suffixed with \fI32\fR or \fI64\fR.
+riscv and sparc) the architecture name can be suffixed with \fI32\fR or \fI64\fR.
 
 The default architecture & size is the one of the machine used to build Sparse.
 .
-- 
2.27.0

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] doc: correct some spelling
  2020-06-14 19:36 [PATCH] doc: correct some spelling Ramsay Jones
@ 2020-06-14 22:05 ` Luc Van Oostenryck
  2020-06-14 23:42   ` Ramsay Jones
  0 siblings, 1 reply; 3+ messages in thread
From: Luc Van Oostenryck @ 2020-06-14 22:05 UTC (permalink / raw)
  To: Ramsay Jones; +Cc: Sparse Mailing-list

On Sun, Jun 14, 2020 at 08:36:38PM +0100, Ramsay Jones wrote:
> Signed-off-by: Ramsay Jones <ramsay@ramsayjones.plus.com>
> 
> The only spelling fixes in the manpage are s/exemple/example/,
> s/trigered/triggered/ and s/&/and/. I would not normally change
> any 'formatting' in sparse.1, but the '{ 0 }' and '{ }' got
> split across line-endings, so I removed the spaces.
> (other solutions are possible ...)

Thank you again for noticing and fixing these typos.

Yes, the formatting is often very bad on the man page
because of bad or missing linebreaks.
I changed this part of your patch to use a non-breakable
space for the '{ 0 }' and '{ }'. They look, I think, better.

-- Luc

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] doc: correct some spelling
  2020-06-14 22:05 ` Luc Van Oostenryck
@ 2020-06-14 23:42   ` Ramsay Jones
  0 siblings, 0 replies; 3+ messages in thread
From: Ramsay Jones @ 2020-06-14 23:42 UTC (permalink / raw)
  To: Luc Van Oostenryck; +Cc: Sparse Mailing-list



On 14/06/2020 23:05, Luc Van Oostenryck wrote:
> On Sun, Jun 14, 2020 at 08:36:38PM +0100, Ramsay Jones wrote:
>> Signed-off-by: Ramsay Jones <ramsay@ramsayjones.plus.com>
>>
>> The only spelling fixes in the manpage are s/exemple/example/,
>> s/trigered/triggered/ and s/&/and/. I would not normally change
>> any 'formatting' in sparse.1, but the '{ 0 }' and '{ }' got
>> split across line-endings, so I removed the spaces.
>> (other solutions are possible ...)
> 
> Thank you again for noticing and fixing these typos.
> 
> Yes, the formatting is often very bad on the man page
> because of bad or missing linebreaks.
> I changed this part of your patch to use a non-breakable
> space for the '{ 0 }' and '{ }'. They look, I think, better.

Yeah, I tried a nbsp too (that was part of my 'other solutions'), and
compared the two outputs; there wasn't much difference in the output
so I went with the 'easier' patch. ;-)

This looks good. (I see you noticed a couple more ...)

ATB,
Ramsay Jones

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-06-14 23:42 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-14 19:36 [PATCH] doc: correct some spelling Ramsay Jones
2020-06-14 22:05 ` Luc Van Oostenryck
2020-06-14 23:42   ` Ramsay Jones

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).