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.
Thanks, - Jay ---------------------------------------- > Date: Mon, 7 Jun 2010 08:23:04 -0400 > From: wool...@eeg.ccf.org > To: jay.kr...@cornell.edu > CC: bug-bash@gnu.org > Subject: Re: fallback vsnprintf prototype incorrect, mbstr.h also needed > (OSF/TRU64) > > On Sat, Jun 05, 2010 at 12:10:34PM +0000, Jay K wrote: >> extern int vsnprintf __P((char *, size_t, const char *, ...)) >> __attribute__((__format__ (printf, 3, 4))); >> -----------^ >> cc: Error: ./printf.def, line 175: In this declaration, the type of >> "vsnprintf" is not compatible with the type of a previous declaration of >> "vsnprintf" at line number 212 in file /usr/include/stdio.h. (notcompat) > > You didn't say which version of the bash source you're using. There > was a fix for vsnprintf issues in the first patch for bash 4.1. > See http://ftp.gnu.org/pub/gnu/bash/bash-4.1-patches/ for the patches.