[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-gnulib] revised xvasprintf module

From: Oskar Liljeblad
Subject: Re: [Bug-gnulib] revised xvasprintf module
Date: Thu, 9 Sep 2004 13:12:43 +0200
User-agent: Mutt/1.5.6+20040818i

On Wednesday, September 08, 2004 at 14:57, Bruno Haible wrote:

> > Here's the revised xvasprintf module.
> Thanks, I've added the new module, with some doc tweaks:
> In most cases, the programmer doesn't want to check the result against NULL.
> He can ensure easily that no EINVAL and no EILSEQ error occurs, but cannot
> protect himself against EOVERFLOW. Therefore I would be in favour of handling
> EOVERFLOW in the xvasprintf() function as well. What do you think?

Sounds all good to me. But how should it be handled - with some xalloc-die
equivalent? Or by truncating the result?


Oskar Liljeblad (address@hidden)

reply via email to

[Prev in Thread] Current Thread [Next in Thread]