# HG changeset patch # User Jim Meyering # Date 1302422162 -7200 # Node ID ea9f5df77acddf717ee212a783fe130910c523a7 # Parent 9633c7e65d4028969c6a41f1fdc05e6335239e40 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/ diff --git a/ChangeLog b/ChangeLog --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,9 @@ 2011-04-10 Jim Meyering + 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. diff --git a/lib/strptime.c b/lib/strptime.c --- 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 diff --git a/tests/test-chown.h b/tests/test-chown.h --- 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,