Front page | perl.perl5.porters |
Postings from May 2003
[perl #22186] File::Find ignores directories
Thread Next
From:
perlbug-followup
Date:
May 13, 2003 13:54
Subject:
[perl #22186] File::Find ignores directories
Message ID:
rt-22186-57526.4.82563520296893@bugs6.perl.org
# New Ticket Created by debianbugs@j3e.de
# Please include the string: [perl #22186]
# in the subject line of all future correspondence about this issue.
# <URL: http://rt.perl.org/rt2/Ticket/Display.html?id=22186 >
This is a bug report for perl from debianbugs@j3e.de,
generated with the help of perlbug 1.34 running under perl v5.8.0.
-----------------------------------------------------------------
[Please enter your report here]
File::Find does not process directories:
in the code:
find({wanted=>\&bla,bydepth=>1}, @ARGV)
sub bla {
print "$_\n";
}
calling the program like "./test.pl a_file a_directory"
will only process a_file and the files in a_directory but not
a_directory itself. I think this should not be intended.
[Please do not change anything below this line]
-----------------------------------------------------------------
---
Flags:
category=library
severity=medium
---
This perlbug was built using Perl v5.8.0 - Mon Sep 9 18:12:37 UTC 2002
It is being executed now by Perl v5.8.0 - Mon Sep 9 18:02:36 UTC 2002.
Site configuration information for perl v5.8.0:
Configured by root at Mon Sep 9 18:02:36 UTC 2002.
Summary of my perl5 (revision 5.0 version 8 subversion 0) configuration:
Platform:
osname=linux, osvers=2.4.19, archname=i586-linux-thread-multi
uname='linux bloembergen 2.4.19 #1 mon apr 15 08:57:26 gmt 2002 i686 unknown '
config_args='-ds -e -Dprefix=/usr -Dusethreads -Di_db -Di_dbm -Di_ndbm -Di_gdbm -Duseshrplib=true'
hint=recommended, useposix=true, d_sigaction=define
usethreads=define use5005threads=undef useithreads=define usemultiplicity=define
useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
use64bitint=undef use64bitall=undef uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc='cc', ccflags ='-D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
optimize='-O3 --pipe',
cppflags='-D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing'
ccversion='', gccversion='3.2', gccosandvers=''
intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
alignbytes=4, prototype=define
Linker and Libraries:
ld='cc', ldflags =''
libpth=/lib /usr/lib /usr/local/lib
libs=-lnsl -ldl -lm -lpthread -lc -lcrypt -lutil
perllibs=-lnsl -ldl -lm -lpthread -lc -lcrypt -lutil
libc=, so=so, useshrplib=true, libperl=libperl.so
gnulibc_version='2.2.5'
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-rdynamic -Wl,-rpath,/usr/lib/perl5/5.8.0/i586-linux-thread-multi/CORE'
cccdlflags='-fPIC', lddlflags='-shared'
Locally applied patches:
---
@INC for perl v5.8.0:
/usr/lib/perl5/5.8.0/i586-linux-thread-multi
/usr/lib/perl5/5.8.0
/usr/lib/perl5/site_perl/5.8.0/i586-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.0
/usr/lib/perl5/site_perl
.
---
Environment for perl v5.8.0:
HOME=/home/bjacke
LANG=de_DE.UTF-8
LANGUAGE (unset)
LD_LIBRARY_PATH=/home/bjacke/lib
LOGDIR (unset)
PATH=/home/bjacke/bin:/usr/local/bin:/usr/bin:/usr/X11R6/bin:/bin:/usr/games:/opt/gnome/bin:/usr/openwin/bin:.
PERL_BADLANG (unset)
SHELL=/bin/bash
Thread Next
-
[perl #22186] File::Find ignores directories
by perlbug-followup