Mercurial > hg > octave-jordi > gnulib-hg
changeset 14569:ea9f5df77acd
maint: remove doubled words in comments, e.g., s/a a/a/
* lib/strptime.c (day_of_the_week): s/the the/the/
* tests/test-chown.h (test_chown): s/a a/a/
author | Jim Meyering <meyering@redhat.com> |
---|---|
date | Sun, 10 Apr 2011 09:56:02 +0200 |
parents | 9633c7e65d40 |
children | 4e03d67a86a3 |
files | ChangeLog lib/strptime.c tests/test-chown.h |
diffstat | 3 files changed, 6 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,9 @@ 2011-04-10 Jim Meyering <meyering@redhat.com> + maint: remove doubled words in comments, e.g., s/a a/a/ + * lib/strptime.c (day_of_the_week): s/the the/the/ + * tests/test-chown.h (test_chown): s/a a/a/ + test-chown.h: correct a cast * tests/test-chown.h (test_chown): Cast -1 to gid_t (not uid_t) when the destination is a stat.st_gid.
--- a/lib/strptime.c +++ b/lib/strptime.c @@ -200,7 +200,7 @@ day_of_the_week (struct tm *tm) { /* We know that January 1st 1970 was a Thursday (= 4). Compute the - the difference between this data in the one on TM and so determine + difference between this data in the one on TM and so determine the weekday. */ int corr_year = 1900 + tm->tm_year - (tm->tm_mon < 2); int wday = (-473
--- a/tests/test-chown.h +++ b/tests/test-chown.h @@ -38,7 +38,7 @@ int result; /* Solaris 8 is interesting - if the current process belongs to - multiple groups, the current directory is owned by a a group that + multiple groups, the current directory is owned by a group that the current process belongs to but different than getegid(), and the current directory does not have the S_ISGID bit, then regular files created in the directory belong to the directory's group,