[Samba] conflict in lib/snprintf using gcc-2.95.3 on HPUX 11. 00
Yasuma Takeda
yasuma at miraclelinux.com
Fri Feb 8 01:58:33 GMT 2002
Hi,
> Hi Renee,
> Well, I have been pulling 2.2.3, 2.2.3a for the past several weeks, and
> building it on HP-UX 11.0 and 11.i consistently without this issue. I'm not
> using gcc, but the HP-UX Ansi CC, and I am not able to reproduce this issue.
>
In Samba-JP, I heard that the configure produced a core file on HP-UX 11.0
with Ansi CC, and it was caused by the check of vsnprintf.
Because I don't have HP-UX, I can't confirm the problem.
Please check the following patch.
--- configure.in.org Fri Feb 8 18:02:43 2002
+++ configure.in Fri Feb 8 18:03:03 2002
@@ -950,7 +950,7 @@
char buf[5];
va_start(ap, format);
- len = vsnprintf(0, 0, format, ap);
+ len = vsnprintf(buf, 0, format, ap);
va_end(ap);
if (len != 5) exit(1);
Best Regards,
Yasuma Takeda <yasuma at miraclelinux.com>
http://www.miraclelinux.com
http://www.samba.gr.jp(Samba-JP)
More information about the samba-technical
mailing list