Tizen 2.0 Release
[external/tizen-coreutils.git] / packaging / coreutils-4.5.3-langinfo.patch
1 --- coreutils-5.92/src/date.c.langinfo  2005-09-16 09:06:57.000000000 +0100
2 +++ coreutils-5.92/src/date.c   2005-10-24 18:09:16.000000000 +0100
3 @@ -451,14 +451,7 @@
4        format = DATE_FMT_LANGINFO ();
5        if (! *format)
6         {
7 -         /* Do not wrap the following literal format string with _(...).
8 -            For example, suppose LC_ALL is unset, LC_TIME="POSIX",
9 -            and LANG="ko_KR".  In that case, POSIX says that LC_TIME
10 -            determines the format and contents of date and time strings
11 -            written by date, which means "date" must generate output
12 -            using the POSIX locale; but adding _() would cause "date"
13 -            to use a Korean translation of the format.  */
14 -         format = "%a %b %e %H:%M:%S %Z %Y";
15 +         format = dcgettext(NULL, N_("%a %b %e %H:%M:%S %Z %Y"), LC_TIME);
16         }
17      }
18