[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [RP] Debian Bug#112770
From: |
shawn |
Subject: |
Re: [RP] Debian Bug#112770 |
Date: |
Mon Oct 1 22:15:02 2001 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.105 |
Gergely Nagy <address@hidden> writes:
> Greetings!
>
> Could anyone have a look at http://bugs.debian.org/112770 ? I could
> reproduce the bug on a PowerMac 4400, it seems to barf in
> marked_message_printf, the nchars = vsnprintf (..) stuff seems to
> return -1, or something. I didn't debug it too much, due to lack of
> time.
,----[ From the GNU Libc manual ]
| *Attention:* In versions of the GNU C library prior to 2.1 the
| return value is the number of characters stored, not including the
| terminating null; unless there was not enough space in S to store
| the result in which case `-1' is returned. This was changed in
| order to comply with the ISO C99 standard.
`----
I've patched bar.c to handle a -1 (I think) but since my libc doesn't
ever return -1, I couldn't really test it. Get Mr. guy to test it out
of CVS.