[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: bash 3.2 breaks firehol
From: |
Chet Ramey |
Subject: |
Re: bash 3.2 breaks firehol |
Date: |
Sun, 25 Mar 2007 21:05:29 -0400 |
User-agent: |
Thunderbird 1.5.0.10 (Macintosh/20070221) |
wolfgang@rohdewald.de wrote:
> Machine Type: i486-pc-linux-gnu
>
> Bash Version: 3.2
> Patch Level: XX
> Release Status: release
>
> Description:
> I dont know the patch level because I downgraded to 3.1 patchlevel 17
> which works. I dont
> want to reinstall 3.2 again because that would annihilate my firewall.
> For details, please see
>
> http://sourceforge.net/tracker/index.php?func=detail&aid=1607442&group_id=58425&atid=487692
>
I took at look at the bug report on sourceforge. I'm not sure I understand
it. From what I gather, the original poster seems to expect these two
statements to display identical output:
printf " %q\n" a b c "d e f g"
printf " %b\n" a b c "d e f g"
I'm not sure why, since the two conversions are defined to do very
different things. Bash-3.1.17 behaves the same as bash-3.2.15 here.
There are differences in behavior between bash-3.1.17 and bash-3.2. One
of them may be causing problems with firehol. This isn't it, though. I
think it might be the fact that bash-3.2 fixed a bug in bash-3.1 that
caused it to not quote null arguments given to the %q conversion
specifier, but I can't really be sure.
Chet
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
Live Strong. No day but today.
Chet Ramey, ITS, CWRU chet@case.edu http://cnswww.cns.cwru.edu/~chet/