From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mark H Weaver Subject: Re: Problems with handicapped 'bash' from glibc package Date: Wed, 12 Feb 2014 21:33:16 +0000 Message-ID: <87ioskm2xv.fsf@netris.org> References: <871tz8oldk.fsf@netris.org> <87ob2c1njb.fsf@gnu.org> <87vbwkmdrc.fsf@netris.org> <20140212193105.GB4340@debian> <87mwhwxe98.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:41367) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WDhRR-00050r-7y for guix-devel@gnu.org; Wed, 12 Feb 2014 16:34:06 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WDhRL-0006ky-M3 for guix-devel@gnu.org; Wed, 12 Feb 2014 16:34:00 -0500 In-Reply-To: <87mwhwxe98.fsf@gnu.org> ("Ludovic \=\?utf-8\?Q\?Court\=C3\=A8s\=22'\?\= \=\?utf-8\?Q\?s\?\= message of "Wed, 12 Feb 2014 21:33:23 +0100") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: Ludovic =?utf-8?Q?Court=C3=A8s?= Cc: guix-devel@gnu.org ludo@gnu.org (Ludovic Court=C3=A8s) writes: > Andreas Enge skribis: > >> On Wed, Feb 12, 2014 at 05:39:35PM +0000, Mark H Weaver wrote: >>> While we're on the subject of 'bash', should we be applying the patches >>> in http://ftp.gnu.org/gnu/bash/bash-4.2-patches/ ? >> >> Is there a chance of convincing the bash people to release bash 4.2.1? >> It seems absurd to off-load the work of applying 45 patches from the last >> three years on the users. > > Yeah, that=E2=80=99s annoying. > > Basically, these patches are the version control system of Bash > (really!). So in my view, if the maintainer doesn=E2=80=99t publish a new > version, then it means that users can live without these patches. > > I haven=E2=80=99t checked what the current patch set is about, though. The patches are bug fixes. Things like: * bash42-003: When using the pattern replacement and pattern removal word expansions, bash miscalculates the possible match length in the presence of an unescaped left bracket without a closing right bracket, resulting in a failure to match the pattern. * bash42-004: When used in contexts where word splitting and quote removal were not performed, such as pattern removal or pattern substitution, empty strings (either literal or resulting from quoted variables that were unset or null) were not matched correctly, resulting in failure. * base42-007: When used in contexts where word splitting and quote removal were not performed, such as case statement word expansion, empty strings (either literal or resulting from quoted variables that were unset or null) were not expanded correctly, resulting in failure. * base42-008: Bash-4.2 does not attempt to save the shell history on receipt of a terminating signal that is handled synchronously. Unfortunately, the `close' button on most X11 terminal emulators sends SIGHUP, which kills the shell. * base42-009: Under certain circumstances, running `fc -l' two times in succession with a relative history offset at the end of the history will result in an incorrect calculation of the last history entry and a seg fault. ...etc. I don't want to run a shell with known bugs. I want these fixes on my system. What do you think? Mark