On Sat, 2012-01-21 at 19:45 -0500, Chet Ramey wrote: > On 1/21/12 11:13 AM, Jonathan Andrews wrote: > > > I found the fix here, but it would be nice if it could work its way into > > the source for the next release. > > > > http://lists.gnu.org/archive/html/bug-bash/2011-09/msg00039.html > > This is patch 18 to bash-4.2. >
Ooops! I had not noticed it even had patches, sorry. It might be worth mentioning the possible existence of patches in README or INSTALL. As is normal for projects I had limited time so I just googled "bash src" and downloaded the newest. I needed a statically linked bash for testing an arm board. I did not expect it to be nearly 3MB though ! It surprises me that a statically linked bash is bigger than the entire busybox binary i've compiled, or my kernel image for that matter. Is this bloat gcc, some failing of the linker or bash itself? Thanks, Jon