bug-bash
[Top][All Lists]
Advanced

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

Recursive "source" bug?


From: mozer
Subject: Recursive "source" bug?
Date: Thu, 14 Jun 2001 10:17:08 +0200

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  -D_FILE_OFFSET_BITS=64  -I. 
-I/usr/include -I/home/swt/doko/export/packages/bash/bash-2.05 
-I/home/swt/doko/export/packages/bash/bash-2.05/include 
-I/home/swt/doko/export/packages/bash/bash-2.05/lib -I/usr/include -g -O2
uname output: Linux clavius 2.4.5 #7 lör maj 26 13:20:28 CEST 2001 i686 unknown
Machine Type: i386-pc-linux-gnu

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

Description:
        A bash script that "sources in" (don't know the corrcet expression, see 
code example bel        ow) itself will segfault. 

Repeat-By:
        The following script (named foo.sh) will segfault:

        #!/bin/bash
        . ./foo.sh
        echo "This will never be printed."

        Execute by
        ./foo.sh




reply via email to

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