From: Jim Meyering Date: Mon, 14 Jan 2002 09:56:28 +0000 (+0000) Subject: Comment fixes to bring us up to date with respect to POSIX 1003.1-2001. X-Git-Tag: TEXTUTILS-2_0_20~107 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=84f8fd1af67ba29a2ca35d601245d0239d44053e;p=platform%2Fupstream%2Fcoreutils.git Comment fixes to bring us up to date with respect to POSIX 1003.1-2001. In particular, POSIX.2 is now obsolete. --- diff --git a/src/date.c b/src/date.c index 1c7506b..e6e807f 100644 --- a/src/date.c +++ b/src/date.c @@ -327,7 +327,7 @@ main (int argc, char **argv) set_date = 1; break; case 'u': - /* POSIX.2 says that `date -u' is equivalent to setting the TZ + /* POSIX says that `date -u' is equivalent to setting the TZ environment variable, so this option should do nothing other than setting TZ. */ if (putenv ("TZ=UTC0") != 0) @@ -495,7 +495,7 @@ show_date (const char *format, time_t when) char *date_fmt = DATE_FMT_LANGINFO (); /* Do not wrap the following literal format string with _(...). For example, suppose LC_ALL is unset, LC_TIME="POSIX", - and LANG="ko_KR". In that case, POSIX.2 says that LC_TIME + and LANG="ko_KR". In that case, POSIX says that LC_TIME determines the format and contents of date and time strings written by date, which means "date" must generate output using the POSIX locale; but adding _() would cause "date"