On Mon, Sep 17, 2001 at 10:35:36AM -0400, Dan Sugalski wrote:
> At 04:41 AM 9/17/2001 -0700, Benjamin Stuhl wrote:
> >--- 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.
> 
> Dead on. Anyone care to yank the code out of the perl5 source and weld it in?

I would like to suggest creating a libperl5.c so that the 'borrowed'
code is kept cleanly in its own file or files.  Or how about using the
libperl5.so (or whatever the moral equivalent is)...

-- 
$jhi++; # http://www.iki.fi/jhi/
        # There is this special biologist word we use for 'stable'.
        # It is 'dead'. -- Jack Cohen

Reply via email to