bug-bash
[Top][All Lists]
Advanced

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

bash 2.05b bashintl.h produces parse error if !HAVE_SETLOCALE


From: Felix von Leitner
Subject: bash 2.05b bashintl.h produces parse error if !HAVE_SETLOCALE
Date: Fri, 19 Jul 2002 00:56:18 +0200
User-agent: Mutt/1.3.28i

Configuration Information [Automatically generated, do not change]:
Machine: i686
OS: linux-gnulibc1
Compiler: diet -Os gcc -pipe -nostdinc
Compilation CFLAGS:  -DPROGRAM='bash' -DCONF_HOSTTYPE='i686' 
-DCONF_OSTYPE='linux-gnulibc1' -DCONF_MACHTYPE='i686-pc-linux-gnulibc1' 
-DCONF_VENDOR='pc' -DSHELL -DHAVE_CONFIG_H  -I.  -I. -I./include -I./lib  -pipe 
-Os
uname output: Linux hellhound 2.4.19-gentoo-r7 #9 Mon Jul 8 19:45:43 CEST 2002 
i686 AuthenticAMD
Machine Type: i686-pc-linux-gnulibc1

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

Description:
        bash 2.05b configure produces a parse error in locale.c:193 if
        setlocale is not found.

Repeat-By:
        Using the diet libc to compile bash, for example.

Fix:
        In bashintl.h, don't say
            #if !defined (HAVE_SETLOCALE)
            #  define setlocale(cat, loc)
            #endif
        but
            #if !defined (HAVE_SETLOCALE)
            #  define setlocale(cat, loc) 0
            #endif



reply via email to

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