| bash-2.03$ perl -e 'print join (", ", stat ("/export/home/vances")), "\n"'
| 35651591, 7808, 16877, 6, 101, 101, 0, 512, 1031850371, 1031836178, 1031836178, 
|8192, 2
| bash-2.03$ perl -e 'print join (", ", stat ("/home/vances")), "\n"'
| 
| ... and here it hangs

Thanks for the report!  I have no idea whether this can be considered
a Perl bug, a problem in your architecture, or whatever.  I leave this
to the author of Cwd, if only I could find one in the sources.  I'll
use `perlbug' to submit it :(


In any case, this is a bad news for autoreconf, which I suppose, can
no longer use Cwd:chdir.


I'm installing the following patch:

Index: ChangeLog
from  Akim Demaille  <[EMAIL PROTECTED]>

        * bin/autoreconf.in: Don't use Cwd::chdir, since in its internals
        (chdir_init) might hang when stat'ing mounted directories.
        Reported by Vance Shipley.

Index: THANKS
===================================================================
RCS file: /cvsroot/autoconf/autoconf/THANKS,v
retrieving revision 1.94
diff -u -u -r1.94 THANKS
--- THANKS 6 Sep 2002 11:10:37 -0000 1.94
+++ THANKS 13 Sep 2002 06:56:26 -0000
@@ -177,6 +177,7 @@
 Tom Yu                      [EMAIL PROTECTED]
 Tony Leneis                 [EMAIL PROTECTED]
 Uwe Seimet                  [EMAIL PROTECTED]
+Vance Shipley               [EMAIL PROTECTED]
 Viktor Dukhovni             [EMAIL PROTECTED]
 Vladimir Volovich           [EMAIL PROTECTED]
 Volker Borchert             [EMAIL PROTECTED]
Index: bin/autoreconf.in
===================================================================
RCS file: /cvsroot/autoconf/autoconf/bin/autoreconf.in,v
retrieving revision 1.102
diff -u -u -r1.102 autoreconf.in
--- bin/autoreconf.in 2 Sep 2002 07:41:56 -0000 1.102
+++ bin/autoreconf.in 13 Sep 2002 06:56:27 -0000
@@ -34,7 +34,8 @@
 
 use Autom4te::General;
 use Autom4te::XFile;
-use Cwd 'chdir', 'cwd';
+# Do not use Cwd::chdir, since it might hang.
+use Cwd 'cwd';
 use strict;
 
 ## ----------- ##



Reply via email to