Re: envvar's leaking into open()

2008-11-26 Thread Roman Rakus
Chet Ramey wrote: [EMAIL PROTECTED] wrote: hello, i made some observation by chance. bash 3.2 seems to leak environment variables into open() syscalls (older bash 2.0 does not show this behaviour) Bash isn't doing the opens -- they're coming from the libc locale code. Bash isn

Re: envvar's leaking into open()

2008-11-25 Thread Chet Ramey
[EMAIL PROTECTED] wrote: > hello, > > i made some observation by chance. > > bash 3.2 seems to leak environment variables into open() syscalls (older bash > 2.0 does not show this behaviour) Bash isn't doing the opens -- they're coming from the libc locale code. -- ``The lyf so short, the c

Re: envvar's leaking into open()

2008-11-25 Thread devzero
i forgot to tell that it doesn`t happen with every locale. you have to set it like this to reproduce: vmhost:/usr/src/packages/SOURCES/bash-3.2 # locale LANG= LC_CTYPE=de_DE.UTF-8 LC_NUMERIC="POSIX" LC_TIME="POSIX" LC_COLLATE="POSIX" LC_MONETARY="POSIX" LC_MESSAGES="POSIX" LC_PAPER="POSIX" LC_NAM