From b790244c4fb7d41ec5fa74ca379fe9864e1387b3 Mon Sep 17 00:00:00 2001 From: Adam Kennedy Date: Sun, 3 Jan 2010 05:45:31 +0000 Subject: [PATCH] Prepare for dev release --- Changes | 4 +++- Makefile.PL | 6 +++--- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/Changes b/Changes index 0e125c2..d3d75ab 100644 --- a/Changes +++ b/Changes @@ -1,11 +1,13 @@ Changes for Perl extension DBD-SQLite -1.28_02 to be released +1.28_02 Sun 3 Jan 2010 - Now empty (or comment only) statements won't cause segv or "not an error" errors. Spotted by TOKUHIROM. (ISHIGAKI) - Resolved #52573: previous fix always turned on the AutoCommit flag; it goes along with the behavior of the internal library but broke compat. (ISHIGAKI) + - Removed the SQLITE_CORE and SQLITE_PRT_SZ flags at the recommendation + of the SQLite mailing list. (ADAMK) 1.28_01 Tue 22 Dec 2009 - Updated to SQLite 3.6.21 (ISHIGAKI) diff --git a/Makefile.PL b/Makefile.PL index e2e4083..8086d06 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -82,7 +82,7 @@ SCOPE: { my $_cmd = $cmd; return $_cmd if (-x $_cmd or $_cmd = MM->maybe_command($_cmd)); - for my $dir ((split /$Config::Config{path_sep}/, $ENV{PATH}), '.') { + for my $dir ( (split /$Config::Config{path_sep}/, $ENV{PATH}), '.' ) { next if $dir eq ''; my $abs = File::Spec->catfile($dir, $_[1]); return $abs if (-x $abs or $abs = MM->maybe_command($abs)); @@ -95,14 +95,14 @@ SCOPE: { my @chunks = split(/ /, $Config::Config{cc}) or return; # $Config{cc} may contain args; try to find out the program part - while (@chunks) { + while ( @chunks ) { return can_run("@chunks") || (pop(@chunks), next); } return; } - unless (can_cc()) { + unless ( can_cc() ) { print "We can't locate a C compiler from your Config.pm.\n"; exit(0); }