Skip Menu |

This queue is for tickets about the DBI CPAN distribution.

Report information
The Basics
Id: 74975
Status: resolved
Priority: 0/
Queue: DBI

People
Owner: Nobody in particular
Requestors: mkmetw [...] hotmail.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: 1.618



Subject: DBD::File not working on Win XP
Date: Tue, 14 Feb 2012 03:40:11 +0530
To: <bug-dbi [...] rt.cpan.org>
From: Manoj Kumar <mkmetw [...] hotmail.com>
Hi, When I test DBI 1.617, follwoing tests (which use DBD::Gofer) are failing on Win XP - t/85gofer.t t/zvg_85gofer.t t/zvn_85gofer.t t/zvxgn_85gofer.t These tests fail because of a bug in DBD::File driver. In this driver, you are escaping ; and : charaters, but the escape character itself is not being escaped. Please find attached the patch which corrects the problem. Summary of my perl5 (revision 5 version 14 subversion 2) configuration: Platform: osname=MSWin32, osvers=5.1, archname=MSWin32-x86-multi-thread uname='' config_args='undef' hint=recommended, useposix=true, d_sigaction=undef useithreads=define, usemultiplicity=define useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef use64bitint=undef, use64bitall=undef, uselongdouble=undef usemymalloc=n, bincompat5005=undef Compiler: cc='cl', ccflags ='-nologo -GF -W3 -MD -Zi -DNDEBUG -O1 -DWIN32 -D_CONSOLE -DNO_STRICT -D_CRT_SECURE_NO_DEPRECATE -D_CRT_ NONSTDC_NO_DEPRECATE -DPERL_TEXTMODE_SCRIPTS -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DUSE_PERLIO', optimize='-MD -Zi -DNDEBUG -O1', cppflags='-DWIN32' ccversion='14.00.50727.42', gccversion='', gccosandvers='' intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234 d_longlong=undef, longlongsize=8, d_longdbl=define, longdblsize=8 ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='__int64', lseeksize=8 alignbytes=8, prototype=define Linker and Libraries: ld='link', ldflags ='-nologo -nodefaultlib -debug -opt:ref,icf -libpath:"c:\programs\perl\5.14.2\lib\CORE" -machine:x86 "/manifestdependency:type='Win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publi cKeyToken='6595b64144ccf1df' language='*'"' libpth=C:\Programs\Microsoft_Visual_Studio_8\VC\lib libs=oldnames.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut3 2.lib netapi32.lib uuid.lib ws2_32.lib mpr.lib winmm.lib version.lib odbc32.lib odbccp32.lib comctl32.lib msvcrt.lib perllibs=oldnames.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib ole aut32.lib netapi32.lib uuid.lib ws2_32.lib mpr.lib winmm.lib version.lib odbc32.lib odbccp32.lib comctl32.lib msvcrt.lib libc=msvcrt.lib, so=dll, useshrplib=true, libperl=perl514.lib gnulibc_version='' Dynamic Linking: dlsrc=dl_win32.xs, dlext=dll, d_dlsymun=undef, ccdlflags=' ' cccdlflags=' ', lddlflags='-dll -nologo -nodefaultlib -debug -opt:ref,icf -libpath:"c:\programs\perl\5.14.2\lib\CORE" - machine:x86 "/manifestdependency:type='Win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitectur e='*' publicKeyToken='6595b64144ccf1df' language='*'"' Characteristics of this binary (from libperl): Compile-time options: MULTIPLICITY PERL_DONT_CREATE_GVSV PERL_IMPLICIT_CONTEXT PERL_IMPLICIT_SYS PERL_MALLOC_WRAP PERL_PRESERVE_IVUV PL_OP_SLAB_ALLOC USE_ITHREADS USE_LARGE_FILES USE_PERLIO USE_PERL_ATOF Built under MSWin32 Compiled at Feb 11 2012 11:34:10 @INC: c:/Programs/perl/site/5.14.2/lib c:/Programs/perl/5.14.2/lib . Regards,

Message body is not shown because sender requested not to inline it.

On Mon Feb 13 17:10:20 2012, mkmetw@hotmail.com wrote: Show quoted text
> > Hi, > > When I test DBI 1.617, follwoing tests (which use DBD::Gofer) are > failing on Win XP - > > t/85gofer.t > t/zvg_85gofer.t > t/zvn_85gofer.t > t/zvxgn_85gofer.t > > These tests fail because of a bug in DBD::File driver. In this driver, > you are escaping ; and : charaters, but the escape character itself is > not being escaped. > > Please find attached the patch which corrects the problem.
Thanks. Applied to subversion trunk and Tim will decide if it goes in next release or waits until the one after that. Martin -- Martin J. Evans Wetherby, UK
Subject: Re: [rt.cpan.org #74975] DBD::File not working on Win XP
Date: Tue, 14 Feb 2012 15:25:13 +0000
To: Martin J Evans via RT <bug-DBI [...] rt.cpan.org>
From: Tim Bunce <Tim.Bunce [...] pobox.com>
On Tue, Feb 14, 2012 at 04:46:43AM -0500, Martin J Evans via RT wrote: Show quoted text
> > Please find attached the patch which corrects the problem.
> > Thanks. Applied to subversion trunk and Tim will decide if it goes in > next release or waits until the one after that.
Seems fine to me. Thanks Manoj and Martin. Tim.