bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: can't compile bash 4.1 under Solaris 8/9


From: Yann Rouillard
Subject: Re: can't compile bash 4.1 under Solaris 8/9
Date: Thu, 07 Jan 2010 17:30:08 +0100
User-agent: Thunderbird 2.0.0.23 (X11/20090817)

Also works perfectly for Solaris. I can now compile bash 4.1 under Solaris 8 or 9.

Thanks for answer.

Yann

Greg Wooledge a écrit :
On Thu, Jan 07, 2010 at 09:03:19AM -0500, Chet Ramey wrote:
*** ../bash-4.1/builtins/printf.def     2009-11-20 15:31:23.000000000 -0500
--- builtins/printf.def 2010-01-07 08:50:06.000000000 -0500
***************
*** 173,177 ****
#if !HAVE_VSNPRINTF
! extern int vsnprintf __P((char *, size_t, const char *, ...)) 
__attribute__((__format__ (printf, 3, 4)));
  #endif
--- 173,177 ---- #if !HAVE_VSNPRINTF
! extern int vsnprintf __P((char *, size_t, const char *, va_list)) 
__attribute__((__format__ (printf, 3, 0)));
  #endif

Looks good.  HP-UX 11.11 had the same problem Yann reported on Solaris
(I hadn't tested on that machine -- oops!), and this patch fixes it there.

HP-UX 10.20 doesn't have a prototype for vsnprintf at all, so there
was never a problem on that machine (it works either with or without
the patch).







reply via email to

[Prev in Thread] Current Thread [Next in Thread]