Comment 0 for bug 6945

Revision history for this message
In , Eduard Bloch (blade) wrote :

Package: perl-base
Version: 5.8.4-2
Severity: grave
Tags: upstream

Hello,

the Cwd::abs_path method in the current Perl package is broken again
(read: it seems to introduce the old bugs of perl 5.6). The problem:

if the directory in the argument does not exist, it returns undef. Which
is pretty stupid since it should return a valid path, even if the
file/directory does not exist. This was fixed in one of the previous
versions (some months ago) and seems to be broken again:

perl -e 'use Cwd; print Cwd::abs_path("foo/bar/baz")'
perl -e 'use Cwd; print defined(Cwd::abs_path("foo/bar/baz"))'

Regards,
Eduard.

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.7
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8

Versions of packages perl-base depends on:
ii libc6 2.3.2.ds1-13 GNU C Library: Shared libraries an

-- no debconf information