On 2/2/11 6:27 PM, Mike Frysinger wrote: > On Wednesday, February 02, 2011 08:56:24 Chet Ramey wrote: >> The second release candidate of bash-4.2 is now available with the URL >> >> ftp://ftp.cwru.edu/pub/bash/bash-4.2-rc2.tar.gz > > - braces.c:mkseq() is using an intmax_t type for the length in the asprintf > call when it needs to be an int. a quick check of a 32bit system shows that > sizeof(intmax_t) is 8 bytes which means the output most likely will get > screwed up (since it'll be interpreted in the C library as 2 arguments).
Thanks. There was actually an int variable there, already assigned, but I never changed the argument to asprintf. > - lib/glob/smatch.c needs externs.h for mbsmbchar. seems like externs.h > could > do with including bashtypes.h/command.h/general.h too since it needs basic > types from all of those. Or an extern declaration for mbsmbchar, to avoid having to include other files. Chet -- ``The lyf so short, the craft so long to lerne.'' - Chaucer ``Ars longa, vita brevis'' - Hippocrates Chet Ramey, ITS, CWRU c...@case.edu http://cnswww.cns.cwru.edu/~chet/