From 7757cc8cf3de8b1515af95709d3c30c88d51f459 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Mon, 25 Jan 2016 07:45:56 -0800 Subject: [PATCH] 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. --- 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 4dce1ff4e5..ced7544d9b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2016-01-25 Paul Eggert + + 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 gettext: mark as obsolete diff --git a/lib/get-permissions.c b/lib/get-permissions.c index 8c70df1984..bf40dad780 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 10d3eb4ef3..4e65190386 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.39.5