This is a discussion on Re: [patch 3 of 3] 3.2 test - categorize profiling - Samba ; On Mon, 31 Mar 2008 10:01:09 +1000 David Disseldorp wrote: > do_not_use_printf_star (*Attached*) > - categorize_profiling uses the '*' field width specifier with > printf. Apparently Solaris libc does not support this. David Collier-Brown confirmed the "%*s" printf format specifier ...
On Mon, 31 Mar 2008 10:01:09 +1000
David Disseldorpwrote:
> do_not_use_printf_star (*Attached*)
> - categorize_profiling uses the '*' field width specifier with
> printf. Apparently Solaris libc does not support this.
David Collier-Brown confirmed the "%*s" printf format specifier functions
correctly on Solaris. The patch 'do_not_use_printf_star' should not be
pushed unless it is known to cause problems on other platforms.
For test case, see:
https://bugzilla.samba.org/show_bug.cgi?id=5305#c36
Cheers, Dave