severity 494808 important
thanks

-=| gregor herrmann, Tue, Aug 12, 2008 at 04:25:41PM -0300 |=-
> On Tue, 12 Aug 2008 14:02:28 +0200, Paul Slootman wrote:
> 
> > libdbd-xbase-perl seems to have a problem with perl 5.10;
> > a simple no-brainer script as follows spews a warning message:
> 
> Confirmed.
> The two solutions mentioned on
> http://rt.cpan.org/Public/Bug/Display.html?id=29523 both work for me,
> bot I'm not sure either which one to choose.

For reference, the two proposed solutions are:
* to not import anything from IO::File
* to prototype the local O_BINARY properly

I think about a third one - avoid redefining O_BINARY at all and use 
the imported one from IO::File.

Hmm. Looking at the code in XBase::Base.pm, it looks certainly weird 
to import O_BINARY from Fcntl on mswin, and redefine it otherwise.  
Importing always looks allright to me. Oh, and since it will come from 
IO::File anyway, just dropping the BEGIN code should solve it (also 
satisfying author's comment about hating it).


The bug is really annoying - a warning in every program using XBase.  
Bumping severity.

-- 
dam            JabberID: [EMAIL PROTECTED]

Attachment: signature.asc
Description: Digital signature

Reply via email to