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: Greg Wooledge
Subject: Re: can't compile bash 4.1 under Solaris 8/9
Date: Thu, 7 Jan 2010 09:41:06 -0500
User-agent: Mutt/1.4.2.3i

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]