summaryrefslogtreecommitdiff
path: root/MANIFEST
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2012-06-13 16:45:40 +0200
committerNicholas Clark <nick@ccl4.org>2012-06-21 08:59:00 +0200
commit92508f95d17cda6a6995cd4650e72c3ac1187c37 (patch)
tree6fd2857e2b31b99af9c3cc02eb7832ce17876477 /MANIFEST
parent17c017a51cc9557d7d50c5113b67db8442762c56 (diff)
downloadperl-92508f95d17cda6a6995cd4650e72c3ac1187c37.tar.gz
*Actually* test that bug 20011110.104 is fixed.
Bug ID 20011110.104 (RT #7896) was fixed by commit 2f173a711df6278f in Nov 2001, but the test that commit added never actually tested this. The initial problem was that the new code, as written, used C<stat>, intending that to call File::stat::stat(). However the refactoring of the test script (all part of the same commit) from C<use File::stat;> to C<use_ok( 'File::stat' );> (not in a BEGIN block) intentionally eliminated the export of &File::stat::stat. This means that plain C<stat> is the core builtin. Fixing this as-is to File::stat::stat() won't help, as tests have subsequently been added earlier in the script that trigger the autoloading of Symbol by File::stat (commit 83716b1ec25b41f2 in Feb 2002). Moving the tests earlier won't help now that the test uses File::Temp, as that uses IO::Seekable which uses IO::Handle, which unconditionally loads Symbol. The simplest solution seems to be to move the test to its own file.
Diffstat (limited to 'MANIFEST')
-rw-r--r--MANIFEST1
1 files changed, 1 insertions, 0 deletions
diff --git a/MANIFEST b/MANIFEST
index 86da43ea14..f9cb161108 100644
--- a/MANIFEST
+++ b/MANIFEST
@@ -4237,6 +4237,7 @@ lib/File/Find/t/find.t See if File::Find works
lib/File/Find/t/taint.t See if File::Find works with taint
lib/FileHandle.pm Backward-compatible front end to IO extension
lib/FileHandle.t See if FileHandle works
+lib/File/stat-7896.t A test for ID 20011110.104
lib/File/stat.pm By-name interface to Perl's builtin stat
lib/File/stat.t See if File::stat works
lib/filetest.pm For "use filetest"