coreutils/coreutils-4.5.3-langinfo.patch

21 lines
857 B
Diff
Raw Normal View History

2016-12-01 13:26:30 +00:00
diff --git a/src/date.c b/src/date.c
index ddb011e..619a72b 100644
--- a/src/date.c
+++ b/src/date.c
2021-09-26 16:15:09 +00:00
@@ -494,14 +494,7 @@ main (int argc, char **argv)
format = DATE_FMT_LANGINFO ();
if (! *format)
{
- /* Do not wrap the following literal format string with _(...).
2010-10-20 12:03:53 +00:00
- For example, suppose LC_ALL is unset, LC_TIME=POSIX,
- 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"
- to use a Korean translation of the format. */
- format = "%a %b %e %H:%M:%S %Z %Y";
+ format = dcgettext(NULL, N_("%a %b %e %H:%M:%S %Z %Y"), LC_TIME);
}
auto-import changelog data from coreutils-4.5.3-7.src.rpm Mon Dec 09 2002 Tim Waugh <twaugh@redhat.com> 4.5.3-7 - Fix mv (bug #79283). - Add patch27 (nogetline). Sun Dec 01 2002 Tim Powers <timp@redhat.com> 4.5.3-6 - use the su.pamd from sh-utils since it works properly with multilib systems Fri Nov 29 2002 Tim Waugh <twaugh@redhat.com> 4.5.3-5 - Fix test suite quoting problems. Fri Nov 29 2002 Tim Waugh <twaugh@redhat.com> 4.5.3-4 - Fix scriplets. - Fix i18n patch so it doesn't break uniq. - Fix several other patches to either make the test suite pass or not run the relevant tests. - Run 'make check'. - Fix file list. Thu Nov 28 2002 Tim Waugh <twaugh@redhat.com> 4.5.3-3 - Adapted for Red Hat Linux. - Self-host for help2man. - Don't ship readlink just yet (maybe later). - Merge patches from fileutils and sh-utils (textutils ones are already merged it seems). - Keep the binaries where the used to be (in particular, id and stat). Sun Nov 17 2002 Stew Benedict <sbenedict@mandrakesoft.com> 4.5.3-2mdk - LI18NUX/LSB compliance (patch800) - Installed (but unpackaged) file(s) - /usr/share/info/dir Thu Oct 31 2002 Thierry Vignaud <tvignaud@mandrakesoft.com> 4.5.3-1mdk - new release - rediff patch 180 - merge patch 150 into 180 Mon Oct 14 2002 Thierry Vignaud <tvignaud@mandrakesoft.com> 4.5.2-6mdk - move su back to /bin Mon Oct 14 2002 Thierry Vignaud <tvignaud@mandrakesoft.com> 4.5.2-5mdk - patch 0 : lg locale is illegal and must be renamed lug (pablo) Mon Oct 14 2002 Thierry Vignaud <tvignaud@mandrakesoft.com> 4.5.2-4mdk - fix conflict with procps Mon Oct 14 2002 Thierry Vignaud <tvignaud@mandrakesoft.com> 4.5.2-3mdk - patch 105 : fix install -s Mon Oct 14 2002 Thierry Vignaud <tvignaud@mandrakesoft.com> 4.5.2-2mdk - fix build - don't chmode two times su - build with large file support - fix description - various spec cleanups - fix chroot installation - fix missing /bin/env - add old fileutils, sh-utils & textutils ChangeLogs Fri Oct 11 2002 Thierry Vignaud <tvignaud@mandrakesoft.com> 4.5.2-1mdk - initial release (merge fileutils, sh-utils & textutils) - obsoletes/provides: sh-utils/fileutils/textutils - fileutils stuff go in 1xx range - sh-utils stuff go in 7xx range - textutils stuff go in 5xx range - drop obsoletes patches 1, 2, 10 (somes files're gone but we didn't ship most of them) - rediff patches 103, 105, 111, 113, 180, 706 - temporary disable patch 3 & 4 - fix fileutils url
2004-09-09 03:55:45 +00:00
}