--- Simon Cozens <[EMAIL PROTECTED]> wrote:
> On Mon, Sep 17, 2001 at 09:33:56AM +0100, Tom Hughes
> wrote:
> > The attached patch adds string_nprintf, the last
> unimplemented
> > function listed in strings.pod as far as I can see.
> 
> Thanks; but I think I'm going to wait for the portability
> police to
> comment. There's every likelihood we want to write out
> own sprintf-like
> function.

I'm quite sure we will. There are so many unportabilities
in *printf (like, what's the format for an IV? an NV?), as
well lots of potential buffer overruns (not all platforms
have vsnprintf). And besides, we may not want a vsnprintf -
we may want something that autogrows the string. Take a
look at sv_vcatpvf in perl5's sv.c for inspiration.

-- BKS

__________________________________________________
Terrorist Attacks on U.S. - How can you help?
Donate cash, emergency relief information
http://dailynews.yahoo.com/fc/US/Emergency_Information/

Reply via email to