Re: [perl #17876] [PTACH] Parrot_snprintf writes 1 char too much

2002-10-13 Thread Leopold Toetsch
Tom Hughes wrote: > In message <[EMAIL PROTECTED]> > Leopold Toetsch (via RT) <[EMAIL PROTECTED]> wrote: > It's probably best to do whatever C99 does, which I think is the same > as what glibc does, namely to return the amount of space that would be > needed to avoid truncation if the

Re: [perl #17876] [PTACH] Parrot_snprintf writes 1 char too much

2002-10-12 Thread Tom Hughes
In message <[EMAIL PROTECTED]> Leopold Toetsch (via RT) <[EMAIL PROTECTED]> wrote: > I didn't look, if this is really intended, but I wouldn't like to behave > Parrot_snprintf different then snprintf(3). > > It would also be nice, if we could have a return value, consistent with > glib