RE: fallback vsnprintf prototype incorrect, mbstr.h also needed (OSF/TRU64)

2010-06-09 Thread Chet Ramey
> Oops. I was using unpatched 4.1. I missed/ignored the patches directory.
> Indeed http://ftp.gnu.org/gnu/bash/bash-4.1-patches/bash41-001 is the same.
> Would be nice for most/lazy folks if there was:
>   http://ftp.gnu.org/gnu/bash/bash-4.1p7.tar.gz
> or such.

I don't generally make rollup tarfiles until the release of the next version.

Chet

-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRUc...@case.eduhttp://cnswww.cns.cwru.edu/~chet/



names with certain letters are not recognized as such

2010-06-09 Thread Krzysztof Żelechowski
Configuration Information [Automatically generated, do not change]:
Machine: x86_64
OS: linux-gnu
Compiler: gcc -I/usr/src/packages/BUILD/bash-4.0 -
L/usr/src/packages/BUILD/bash-4.0/../readline-6.0
Compilation CFLAGS:  -DPROGRAM='bash' -DCONF_HOSTTYPE='x86_64' -
DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='x86_64-suse-linux-gnu' -
DCONF_VENDOR='suse' -DLOCALEDIR='/usr/share/locale' -DPACKAGE='bash' -DSHELL -
DHAVE_CONFIG_H   -I.  -I. -I./include -I./lib   -fmessage-length=0 -O2 -Wall -
D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-
tables -g  -D_GNU_SOURCE -DRECYCLES_PIDS -Wall -g -std=gnu89 -Wuninitialized -
Wextra -Wno-unprototyped-calls -Wno-switch-enum -Wno-unused-variable -Wno-
unused-parameter -ftree-loop-linear -pipe -fprofile-use
uname output: Linux ne-1 2.6.31.12-0.2-desktop #1 SMP PREEMPT 2010-03-16 
21:25:39 +0100 x86_64 x86_64 x86_64 GNU/Linux
Machine Type: x86_64-suse-linux-gnu

Bash Version: 4.0
Patch Level: 35
Release Status: release

Description:
The string "uznań" is not recognized as a name, although it contains 
only letters.

Repeat-By:
uznań=1



Re: names with certain letters are not recognized as such

2010-06-09 Thread Mike Frysinger
On Wednesday, June 09, 2010 09:26:04 Krzysztof Żelechowski wrote:
> Description:
> The string "uznań" is not recognized as a name, although it
> contains only letters.
> 
> Repeat-By:
> uznań=1

this is not a bug.  your definition of "only letters" is not the same as what 
the standard says.
http://www.opengroup.org/onlinepubs/9699919799/utilities/V3_chap02.html#tag_18_05
http://www.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap03.html#tag_03_230
http://www.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap06.html#tag_06_01
-mike


signature.asc
Description: This is a digitally signed message part.


Re: names with certain letters are not recognized as such

2010-06-09 Thread Eric Blake
On 06/09/2010 06:59 PM, Mike Frysinger wrote:
> On Wednesday, June 09, 2010 09:26:04 Krzysztof Żelechowski wrote:
>> Description:
>> The string "uznań" is not recognized as a name, although it
>> contains only letters.
>>
>> Repeat-By:
>> uznań=1
> 
> this is not a bug.  your definition of "only letters" is not the same as what 
> the standard says.
> http://www.opengroup.org/onlinepubs/9699919799/utilities/V3_chap02.html#tag_18_05
> http://www.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap03.html#tag_03_230
> http://www.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap06.html#tag_06_01

That said, bash is within its rights to add, as an extension to the
standard, the use of any valid letter within the current locale.  But
someone would have to write a patch to do that, and make sure that such
a patch doesn't adversely affect speed, and that such identifiers don't
break when you switch to another locale where the same byte pattern is
no longer composed of valid letters.

-- 
Eric Blake   ebl...@redhat.com+1-801-349-2682
Libvirt virtualization library http://libvirt.org



signature.asc
Description: OpenPGP digital signature