Re: Usage of __P vs PARAMS in histfile.c

2015-04-08 Thread Mike Frysinger
On 08 Apr 2015 14:13, Chet Ramey wrote: > On 4/8/15 11:25 AM, Evan Gates wrote: > > I tried compiling bash with musl-gcc and failed due to the __P macros > > in histfile.c > > > > While digging around it appears that __P is defined in stdc.h, but > > histfile.c indirectly includes rlstdc.h istead.

Re: Usage of __P vs PARAMS in histfile.c

2015-04-08 Thread Chet Ramey
On 4/8/15 11:25 AM, Evan Gates wrote: > I tried compiling bash with musl-gcc and failed due to the __P macros > in histfile.c > > While digging around it appears that __P is defined in stdc.h, but > histfile.c indirectly includes rlstdc.h istead. rlstdc.h defines an > identical macro with the name

Usage of __P vs PARAMS in histfile.c

2015-04-08 Thread Evan Gates
I tried compiling bash with musl-gcc and failed due to the __P macros in histfile.c While digging around it appears that __P is defined in stdc.h, but histfile.c indirectly includes rlstdc.h istead. rlstdc.h defines an identical macro with the name PARAMS instead of __P In my extraordinarily limi

Re: conflict between gcc and bash malloc lib with static link

2015-04-08 Thread Mike Frysinger
On 08 Apr 2015 09:40, Chet Ramey wrote: > I suspect the problem with malloc is that there are one or more additional > symbols in the file (malloc.o) that glibc uses to satisfy some internal > reference, which causes the rest of the symbols from malloc.o to be > loaded, which causes conflicts with

Re: Sourcing a file ending in \ disables aliases for 1 command

2015-04-08 Thread Chet Ramey
On 4/2/15 5:40 PM, Pedro Gimeno wrote: > Bash Version: 4.2 > Patch Level: 37 > Release Status: release > > Description: > If a file with a command that ends in \ is sourced, the next > command issued in the command line does not interpret aliases but > subsequent ones do. It's a minor issue

Re: IFS set to backslash

2015-04-08 Thread Thorsten Glaser
Hi! Thanks for these analysēs! Please steer stuff like this to the mksh list in the future as well (and/or prod me on IRC). TIA! (Sorry for the late reply, I just discovered this in my postponed-msgs eMail folder and finished it to be sendable.) On Wed, 7 Jan 2015, Eduardo A. Bustamante López wr

Re: Bash should look at INSIDE_EMACS not just EMACS

2015-04-08 Thread Chet Ramey
On 3/30/15 5:47 PM, Paul Eggert wrote: > Bash Version: 4.3 > Patch Level: 33 > Release Status: release > > Description: > Currently 'bash' looks at the EMACS environment variable when > deciding whether it is running under Emacs. As described in > the "Interactive Subshell" cha

Re: conflict between gcc and bash malloc lib with static link

2015-04-08 Thread Chet Ramey
On 4/7/15 11:36 AM, thibaut.charpent...@tjlc.fr wrote: > Machine Type: i686-pc-linux-gnu > > Bash Version: 4.3.30 > Release Status: release > > Description: > at link step there is a conflict between gcc library in > lib/gcc/i686-linux-gnu/libc.a > and bash library > lib/mall