bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

segfault at (( array[0] ++ )) after stating "syntax error..."


From: jens . schicke
Subject: segfault at (( array[0] ++ )) after stating "syntax error..."
Date: Thu, 11 Mar 2004 16:01:28 +0100

Configuration Information [Automatically generated, do not change]:
Machine: i386
OS: linux-gnu
Compiler: gcc
Compilation CFLAGS:  -DPROGRAM='bash' -DCONF_HOSTTYPE='i386' 
-DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='i386-pc-linux-gnu' 
-DCONF_VENDOR='pc' -DSHELL -DHAVE_CONFIG_H  -I.  -I../bash -I../bash/include 
-I../bash/lib  -g -O2
uname output: Linux linux-ws 2.6.3 #3 Fri Mar 5 13:05:21 CET 2004 i686 GNU/Linux
Machine Type: i386-pc-linux-gnu

Bash Version: 2.05b
Patch Level: 0
Release Status: release

Description:
        Segfault (see Repeat-By)
        expr.c: 1068: expression == NULL

Repeat-By:
        # bash
        # (( array[0] ++ ))
        bash: array[0] ++ : syntax error: operand expected (error token is " ")
        Segmentation Fault




reply via email to

[Prev in Thread] Current Thread [Next in Thread]