bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] get-permissions, strftime: fix grammar in comments


From: Paul Eggert
Subject: [PATCH] get-permissions, strftime: fix grammar in comments
Date: Mon, 25 Jan 2016 07:47:08 -0800

* lib/get-permissions.c, lib/strftime.c: Merge into the comments
some grammar fixes Alan Mackenzie made to GNU Emacs.
---
 ChangeLog             | 6 ++++++
 lib/get-permissions.c | 2 +-
 lib/strftime.c        | 2 +-
 3 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 4dce1ff..ced7544 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2016-01-25  Paul Eggert  <address@hidden>
+
+       get-permissions, strftime: fix grammar in comments
+       * lib/get-permissions.c, lib/strftime.c: Merge into the comments
+       some grammar fixes Alan Mackenzie made to GNU Emacs.
+
 2016-01-25  Daiki Ueno  <address@hidden>
 
        gettext: mark as obsolete
diff --git a/lib/get-permissions.c b/lib/get-permissions.c
index 8c70df1..bf40dad 100644
--- a/lib/get-permissions.c
+++ b/lib/get-permissions.c
@@ -102,7 +102,7 @@ get_permissions (const char *name, int desc, mode_t mode,
      There is an API
        pathconf (name, _PC_ACL_ENABLED)
        fpathconf (desc, _PC_ACL_ENABLED)
-     that allows to determine which of the two kinds of ACLs is supported
+     that allows us to determine which of the two kinds of ACLs is supported
      for the given file.  But some file systems may implement this call
      incorrectly, so better not use it.
      When fetching the source ACL, we simply fetch both ACL types.
diff --git a/lib/strftime.c b/lib/strftime.c
index 10d3eb4..4e65190 100644
--- a/lib/strftime.c
+++ b/lib/strftime.c
@@ -641,7 +641,7 @@ strftime_case_ (bool upcase, STREAM_OR_CHAR_T *s,
           break;
         }
 
-      /* As a GNU extension we allow to specify the field width.  */
+      /* As a GNU extension we allow the field width to be specified.  */
       if (ISDIGIT (*f))
         {
           width = 0;
-- 
2.5.0




reply via email to

[Prev in Thread] Current Thread [Next in Thread]