[EMAIL PROTECTED] wrote: > Bash Version: 3.1 > Patch Level: 0 > Release Status: release > > Description: > A refference to a shell variable doesn't work under specific case. > The result of the following operations isn't shown and prompt doesn't > return when environment variable LANG is Ja_JP on AIX 5.2L > $ i=123456789012l > $ echo ${i%l} > (Pronput doesn't return...) > > Fix: > This problem is avoidable by the modification shown below: > Replace l. 3365 in subst.c ("ret = wcsdup (wparam);") > to the following two lines: > > ret = (wchar_t *) malloc((size_t)(n + 1) * sizeof(wchar_t)); > wcscpy(ret, wparam); > </output>
I assume that this version of AIX has wcsdup(). Does that expansion work when you #undef HAVE_WCSDUP in config.h and use the replacement version in subst.c? Chet -- ``The lyf so short, the craft so long to lerne.'' - Chaucer ( ``Discere est Dolere'' -- chet ) Live Strong. No day but today. Chet Ramey, ITS, CWRU [EMAIL PROTECTED] http://cnswww.cns.cwru.edu/~chet/ _______________________________________________ Bug-bash mailing list Bug-bash@gnu.org http://lists.gnu.org/mailman/listinfo/bug-bash