From 84f8fd1af67ba29a2ca35d601245d0239d44053e Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Mon, 14 Jan 2002 09:56:28 +0000 Subject: Comment fixes to bring us up to date with respect to POSIX 1003.1-2001. In particular, POSIX.2 is now obsolete. --- src/date.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/date.c') diff --git a/src/date.c b/src/date.c index 1c7506b5c..e6e807f03 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" -- cgit v1.2.3-54-g00ecf