we've been using a patch in Gentoo for sometime which adds support
for /etc/inputrc as a fallback after $INPUTRC and ~/.inputrc ... i couldnt
seem to find anything in the archives where someone proposed this be added to
readline, but maybe i just missed it ?
-mike
_
Hi,
On Sat, Feb 04, 2006 at 03:27:19PM -0500, Mike Frysinger wrote:
> we've been using a patch in Gentoo for sometime which adds support
> for /etc/inputrc as a fallback after $INPUTRC and ~/.inputrc ... i couldnt
> seem to find anything in the archives where someone proposed this be added to
>
On Saturday 04 February 2006 18:35, Dmitry V. Levin wrote:
> I believe this idea comes from Debian and is used also in other distros
> including ALT and Owl, see e.g.
> http://cvsweb.openwall.com/cgi/cvsweb.cgi/Owl/packages/bash/readline-5.1-de
>b-alt-inputrc.diff
>
> Yes, it looks not yet submitte
On Friday 03 February 2006 17:50, Jan Niehusmann wrote:
> realloc_jobs_list() in bash 3.1 doesn't zero out the unused entries of
> the jobs[] array, so bash may segfault later when trying to dereference
> these entries.
this has already been reported & fixed, download patch #7 for bash-3.1
-mike
On Sunday 05 February 2006 00:41, Paul Jarc wrote:
> [EMAIL PROTECTED] wrote:
> > [kaneda<-ogorasek]~$if [ ! -a /etc/passwd ] ; then echo si ; fi
>
> -a is used as a binary "and" operator here. The expressions "!" and
> "/etc/passwd" are nonempty strings, so both are considered true, and
> the ove
Hello...
from man bash
-a file
True if file exists.
-e file
True if file exists.
and -a dosnt work good:
[kaneda<-ogorasek]~$if [ ! -a /etc/passwd ] ; then echo si ; fi
si
[kaneda<-ogorasek]~$if [ -a /etc/passwd ] ; then echo si ; fi
si
GNU bash, version 3.00.
realloc_jobs_list() in bash 3.1 doesn't zero out the unused entries of
the jobs[] array, so bash may segfault later when trying to dereference
these entries. A reliable way to reproduce the segfault, at least on
i386 linux, is
% seq 0 1 | while read line; do /bin/echo $line ; done | tail -2
40
Configuration Information [Automatically generated, do not change]:
Machine: i586
OS: linux
Compiler: i586-uhu-linux-gcc
Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='i586'
-DCONF_OSTYPE='linux' -DCONF_MACHTYPE='i586-uhu-linux' -DCONF_VENDOR='uhu'
-DLOCALEDIR='/usr/share/locale' -DPACKAG
[EMAIL PROTECTED] wrote:
> [kaneda<-ogorasek]~$if [ ! -a /etc/passwd ] ; then echo si ; fi
-a is used as a binary "and" operator here. The expressions "!" and
"/etc/passwd" are nonempty strings, so both are considered true, and
the overall result is true.
paul