develooper Front page | perl.perl5.porters | Postings from November 2003

Re: [perl #24463] DBI tests fail with perl 5.8. 2 and -Duseithreads -Dusemultiplicity -Duse64bitint

Thread Previous
From:
Rafael Garcia-Suarez
Date:
November 14, 2003 02:05
Subject:
Re: [perl #24463] DBI tests fail with perl 5.8. 2 and -Duseithreads -Dusemultiplicity -Duse64bitint
Message ID:
20031114110331.36bb3b62.rgarciasuarez@free.fr
Nick Ing-Simmons wrote:
> >Anyway, it could be usable for this purpose, but when not under ithreads
> >is does a newSVpvn.
> 
> Well printf-oids need to allocate space somehow - or use big fixed 
> sized buffer.

Like the 1ko buffer it's using currently :

#ifdef USE_ITHREADS
        /* Use fixed buffer as sv_catpvf etc. needs SVs */
        char buffer[1024];

I'm not very comfortable with the idea of using fixed size buffers, though.

> >Then we could replace all "DEBUG_XXX(PerlIO_printf(Perl_debug_log,...))"
> >by "DEBUG_XXX(PerlIO_debug(...))"
> 
> 

Thread Previous


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About