/[pkgs]/devel/coreutils/coreutils-4.5.3-langinfo.patch
ViewVC logotype

Contents of /devel/coreutils/coreutils-4.5.3-langinfo.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download) (as text)
Sat Sep 12 09:28:48 2009 UTC (2 months, 1 week ago) by ovasik
Branch: MAIN
CVS Tags: coreutils-7_6-4_fc12, coreutils-7_6-5_fc12, coreutils-7_6-7_fc13, coreutils-7_6-2_fc12, coreutils-8_0-1_fc13, F-12-split, coreutils-7_6-3_fc12, coreutils-8_0-2_fc13, coreutils-7_6-6_fc13, coreutils-7_6-6_fc12, coreutils-7_6-1_fc12, HEAD
Changes since 1.2: +11 -11 lines
File MIME type: text/x-patch
new upstream bugfix release 7.6, removed applied patches,defuzzed the rest
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

admin@fedoraproject.org
ViewVC Help
Powered by ViewVC 1.1.2