From 2feb65ca1e1ca6d44e6ad3ca6f73213320205c1e Mon Sep 17 00:00:00 2001 From: Tim Waugh Date: Mon, 8 Aug 2005 11:39:21 +0000 Subject: [PATCH] - Fixed 'LC_ALL=C export LC_ALL' behaviour (bug #165249). --- bash-setlocale.patch | 10 ++++++++++ bash.spec | 5 +++++ 2 files changed, 15 insertions(+) create mode 100644 bash-setlocale.patch diff --git a/bash-setlocale.patch b/bash-setlocale.patch new file mode 100644 index 0000000..f068ec7 --- /dev/null +++ b/bash-setlocale.patch @@ -0,0 +1,10 @@ +--- bash-3.0/builtins/setattr.def.setlocale 2005-08-08 12:22:42.000000000 +0100 ++++ bash-3.0/builtins/setattr.def 2005-08-08 12:25:16.000000000 +0100 +@@ -423,4 +423,7 @@ + + if (var && (exported_p (var) || (attribute & att_exported))) + array_needs_making++; /* XXX */ ++ ++ if (var) ++ stupidly_hack_special_variables (name); + } diff --git a/bash.spec b/bash.spec index f89ffe2..82cea81 100644 --- a/bash.spec +++ b/bash.spec @@ -53,6 +53,7 @@ Patch122: bash-wrap.patch Patch123: bash-crash.patch Patch124: bash-pwd.patch Patch125: bash-afs.patch +Patch126: bash-setlocale.patch Prefix: %{_prefix} Requires: mktemp Obsoletes: bash2 etcskel @@ -120,6 +121,7 @@ popular and powerful, and you'll probably end up using it. %patch123 -p0 -b .crash %patch124 -p1 -b .pwd %patch125 -p1 -b .afs +%patch126 -p1 -b .setlocale echo %{version} > _distribution echo %{release} > _patchlevel @@ -253,6 +255,9 @@ fi %doc doc/*.ps doc/*.0 doc/*.html doc/article.txt %changelog +* Mon Aug 8 2005 Tim Waugh +- Fixed 'LC_ALL=C export LC_ALL' behaviour (bug #165249). + * Thu Jun 23 2005 Tim Waugh - Added ulimit support for RLIMIT_NICE and RLIMIT_RTPRIO (bug #157049).