diff mbox series

rt: Fix grammar in <sys/cdefs.h>

Message ID 32cdbe5b-a7be-75ad-6b53-734bb2337126@jguk.org
State Superseded
Delegated to: Arjun Shankar
Headers show
Series rt: Fix grammar in <sys/cdefs.h> | expand

Commit Message

Jonny Grant Oct. 6, 2020, 10:42 p.m. UTC
Hello

Two comments have words in not the right order, please find attached a patch to fix it.

ChangeLog:

2020-10-06  Jonny Grant  <jg@jguk.org>

        * sys/cdefs.h: Fix grammar

Comments

Zack Weinberg Oct. 7, 2020, 12:02 a.m. UTC | #1
On Tue, Oct 6, 2020 at 6:42 PM Jonny Grant <jg@jguk.org> wrote:
> Two comments have words in not the right order, please find attached a patch to fix it.

This patch looks fine to me.

Note that in StdAmEng as I know it, "this works only with" is not
*wrong*, but "this only works with" is more idiomatic, so, I agree
with both changes.

zw
Jonny Grant Oct. 13, 2020, 8:57 p.m. UTC | #2
On 07/10/2020 01:02, Zack Weinberg wrote:
> On Tue, Oct 6, 2020 at 6:42 PM Jonny Grant <jg@jguk.org> wrote:
>> Two comments have words in not the right order, please find attached a patch to fix it.
> 
> This patch looks fine to me.
> 
> Note that in StdAmEng as I know it, "this works only with" is not
> *wrong*, but "this only works with" is more idiomatic, so, I agree
> with both changes.
> 
> zw
> 

Hi Zack,
Thank you. May I ask if you can commit the patch?

Jonny
diff mbox series

Patch

--- cdefs.h.orig	2020-10-06 21:52:30.345175901 +0100
+++ cdefs.h	2020-10-06 23:36:13.604914244 +0100
@@ -25,7 +25,7 @@ 
 
 /* The GNU libc does not support any K&R compilers or the traditional mode
    of ISO C compilers anymore.  Check for some of the combinations not
-   anymore supported.  */
+   supported anymore.  */
 #if defined __GNUC__ && !defined __STDC__
 # error "You need a ISO C conforming compiler to use the glibc headers"
 #endif
@@ -47,7 +47,7 @@ 
 # endif
 
 /* GCC can always grok prototypes.  For C++ programs we add throw()
-   to help it optimize the function calls.  But this works only with
+   to help it optimize the function calls.  But this only works with
    gcc 2.8.x and egcs.  For gcc 3.2 and up we even mark C functions
    as non-throwing using a function attribute since programs can use
    the -fexceptions options for C code as well.  */