https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91625

--- Comment #2 from dave.anglin at bell dot net ---
On 2019-09-01 8:08 p.m., msebor at gcc dot gnu.org wrote:
> What value does the function return at runtime?
By default, snprintf on HP-UX returns a negative value if maxsize is smaller
than the number of characters
formatted excluding the terminating null but.  This changed in UNIX 2003 to the
number of characters
that would have been written.  Only HP-UX 11.31 for HPPA supports the 2003
behavior.  Since the whole
test is to verify the behavior of snprintf (0, 0, "%s", I think we might as
well skip it on hppa*-*-hpux*.

Reply via email to