bug-bash
[Top][All Lists]
Advanced

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

[missing #ifdef in 2.05b locale.c]


From: root
Subject: [missing #ifdef in 2.05b locale.c]
Date: Sat, 20 Jul 2002 10:06:14 -0400 (EDT)

Configuration Information [Automatically generated, do not change]:
Machine: i686
OS: linux-gnu
Compiler: gcc
Compilation CFLAGS:  -DPROGRAM='bash' -DCONF_HOSTTYPE='i686' 
-DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='i686-pc-linux-gnu' 
-DCONF_VENDOR='pc' -DSHELL -DHAVE_CONFIG_H  -I.  -I. -I./include -I./lib  -g -O2
uname output: Linux csl2 2.4.19 pre10#1 SMP 20020630:1418 EDT i686 unknown 
unknown GNU/Linux
Machine Type: i686-pc-linux-gnu

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

Description:
        [if HAVE_SETLOCALE isn't defined an error arises at line 193
        of locale.c because there's a setlocale call not surrounded
        by #ifdef]

Repeat-By:
        [compile without HAVE_SETLOCALE defined]

Fix:
        [Surround the one line in set_lang() with #if defined
        HAVE_SETLOCALE ... #else return(0); #endif]



reply via email to

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