> | Same. As I can't derive it from the manpage, can anyone here say, what
> | snprintf is supposed to do on overflows ? Will it write a trailing \0 ?
> | If not, that should be generated, to avoid the
> >From the OpenBSD implementation's man page:
> 
>      snprintf() and vsnprintf() will write at most size-1 of the characters
>      printed into the output string (the size'th character then gets the ter-
>      minating `\0'); if the return value is greater than or equal to the size
>      argument, the string was too short and some of the printed characters
>      were discarded.

O.K. - this is the reasonable behaviour and I think we should check for it
in the configure process.

If it's not there, we might want to bring along a free implementation
in the long run.


CU, Andy

-- 
= Andreas Beck                    |  Email :  <[EMAIL PROTECTED]>             =

Reply via email to