For bash, I normally build a rescue shell using the option --disable-alias
When testing bash 4.0 with patches 001 through 024 applied, and this configure:
./configure \
--prefix=/usr \
--sysconfdir=/etc \
--libdir=/lib \
--sbindir=/sbin \
--bindir=/bin \
--mandir=/usr/man \
--infod
On 06/02/2009 01:33 PM, Roman Rakus wrote:
When you are sourcing bash script, which contains \0 character, bash
thinks it is end of file.
I have investigated, that `source' loads entire file into memory as
string. Then \0 is end of this string.
One of the possible solution is to left out all \0
/src/bash-4.0/lib/sh/getcwd.c: In function `_path_checkino':
/src/bash-4.0/lib/sh/getcwd.c:80: error: `MP_RMDOT' undeclared (first use in thi
s function)
/src/bash-4.0/lib/sh/getcwd.c:80: error: (Each undeclared identifier is reported
only once
/src/bash-4.0/lib/sh/getcwd.c:80: error: for each fu
I don't have it handy now but I think bash also had a struct timezone
undefined, needed CFLAGS=-D_ALL_SOURCE to get it.
- Jay
From: jay.kr...@cornell.edu
To: bug-bash@gnu.org
Subject: error building bash-4.0 on Interix/SFU/SUA (MP_RMDOT undeclared, just
missing some #includes)
Date: Tu
Villeneuve wrote:
> Fix:
> Do not prepend system paths in front of PATH in the bashbug script.
> Instead, these default paths could be appended to PATH if necessary.
To do otherwise is a potential security hole.
Chet
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
C
Chet Ramey wrote:
> Villeneuve wrote:
>
> > Fix:
> > Do not prepend system paths in front of PATH in the bashbug script.
> > Instead, these default paths could be appended to PATH if necessary.
>
> To do otherwise is a potential security hole.
It seems okay to leave PATH alone to me. Wh
dennis wrote:
> Configuration Information [Automatically generated, do not change]:
> Machine: i486OS: linux-gnuCompiler: gccCompilation CFLAGS:
> -DPROGRAM='bash' -DCONF_HOSTTYPE='i486' -DCONF_OSTYPE='linux-gnu'
> -DCONF_MACHTYPE='i486-pc-linux-gnu' -DCONF_VENDOR='pc'
> -DLOCALEDIR='/usr/share
Bob Proulx wrote:
> Chet Ramey wrote:
>> Villeneuve wrote:
>>
>>> Fix:
>>> Do not prepend system paths in front of PATH in the bashbug script.
>>> Instead, these default paths could be appended to PATH if necessary.
>> To do otherwise is a potential security hole.
>
> It seems okay to leav