Skip to content

Commit e2b803b

Browse files
committed
Matching abs_path on relative is bound to fail
1 parent 9851aab commit e2b803b

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

dbixs_rev.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* Wed May 27 11:43:29 2026 */
1+
/* Wed May 28 08:00:00 2026 */
22
#define DBIXS_RELEASE 1
33
#define DBIXS_VERSION 648
4-
#define DBIXS_REVISION 1722
4+
#define DBIXS_REVISION 1723

lib/DBD/File.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -628,7 +628,7 @@ sub complete_table_name {
628628
# If the file location is outside the current folder, its
629629
# absolute path should be in ($f_dir, @f_dir_search)
630630
if ($searchdir and not List::Util::first { m{^$searchdir(?:/|$)} }
631-
$meta->{f_dir}, @{$meta->{f_dir_search} || []}) {
631+
map { Cwd::abs_path ($_) } $meta->{f_dir}, @{$meta->{f_dir_search} || []}) {
632632
croak "Using data files in $searchdir is unsafe and not allowed.\nUse f_dir or f_dir_search.\n";
633633
}
634634

lib/DBI/Changes.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ DBI::Changes - List of significant changes to the DBI
1212
1313
=encoding UTF-8
1414
15-
=head2 Changes in DBI 1.648 - 27 May 2025
15+
=head2 Changes in DBI 1.648 - 27 May 2026
1616
1717
=over 2
1818

0 commit comments

Comments
 (0)