Just wondering whether * Remove DB_File version checks (closes: #340047, #343335)
is the right way for fixing the reported bug. Indeed wouldn't be more appropriate to do the check only when $db_version is defined i.e. a patch along the following lines --- /scratch/DB_File.pm 2005-12-21 17:31:26.003833798 +0000 +++ /scratch/DB_File.pm.new 2005-12-21 17:31:09.679786648 +0000 @@ -268,7 +268,7 @@ # make recno in Berkeley DB version 2 (or better) work like # recno in version 1. - if ($db_version > 1 and defined $arg[4] and $arg[4] =~ /RECNO/ and + if (defined $db_version and $db_version > 1 and defined $arg[4] and $arg[4] =~ /RECNO/ and $arg[1] and ! -e $arg[1]) { open(FH, ">$arg[1]") or return undef ; Cheers, Hedi. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]