Re: Bug in shell: buffer overflow.

2011-01-01 Thread Stephane CHAZELAS
2010-12-31, 11:33(-07), Bob Proulx: [...] > Your expressions above are overflowing the value of your system's > maximum integer size. You can read the system's maximum integer size > using getconf. > > $ getconf INT_MAX > 2147483647 [...] POSIX requires that arithmetic expansion be using at l

assertion botched

2011-01-01 Thread chloe
Configuration Information [Automatically generated, do not change]: Machine: i486 OS: linux-gnu Compiler: gcc Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='i486' -DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='i486-pc-linux-gnu' -DCONF_VENDOR='pc' -DLOCALEDIR='/usr/share/locale' -DPACKAGE='ba

Re: Bug in shell: buffer overflow.

2011-01-01 Thread Bob Proulx
Stephane CHAZELAS wrote: > Bob Proulx wrote: > [...] > > Your expressions above are overflowing the value of your system's > > maximum integer size. You can read the system's maximum integer size > > using getconf. > > > > $ getconf INT_MAX > > 2147483647 > [...] > > POSIX requires that arith

Re: Bug in shell: buffer overflow.

2011-01-01 Thread Dennis Williamson
On my 32-bit system in Bash: $ printf '%u\n' -1 18446744073709551615 $ echo $((2**63-1)) 9223372036854775807 $ echo $((2**63)) -9223372036854775808 On Sat, Jan 1, 2011 at 11:48 AM, Stephane CHAZELAS wrote: > 2010-12-31, 11:33(-07), Bob Proulx: > [...] >> Your expressions above are overflowing th

Re: assertion botched

2011-01-01 Thread Dennis Williamson
On Mon, Dec 27, 2010 at 6:17 AM, chloe wrote: > Configuration Information [Automatically generated, do not change]: > Machine: i486 > OS: linux-gnu > Compiler: gcc > Compilation CFLAGS:  -DPROGRAM='bash' -DCONF_HOSTTYPE='i486' > -DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='i486-pc-linux-gnu' > -DC

Re: Command substitution (backtick) and tab completion

2011-01-01 Thread Chet Ramey
On 12/31/10 11:01 PM, Sven Mascheck wrote: > On Fri, Dec 31, 2010 at 12:20:38PM -0800, chengiz wrote: >> On Dec 31, 12:20 pm, Sven Mascheck wrote: > >>> (see also http://lists.gnu.org/archive/html/bug-bash/2008-01/msg00049.html) >>> [...] >> >> I dont see how that's related - I dont doubt you tha