From: Jim Meyering Date: Sun, 10 Apr 2011 07:56:02 +0000 (+0200) Subject: maint: remove doubled words in comments, e.g., s/a a/a/ X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f9e83fd48cb5c5a0b5a65751710138d42c814402;p=pspp 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 index c1eede5507..9bf2029e2b 100644 --- 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 index 9e4394b883..6cf44bce42 100644 --- a/lib/strptime.c +++ b/lib/strptime.c @@ -200,7 +200,7 @@ static void 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 index c99ffc1d05..85cbb5afc9 100644 --- a/tests/test-chown.h +++ b/tests/test-chown.h @@ -38,7 +38,7 @@ test_chown (int (*func) (char const *, uid_t, gid_t), bool print) 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,