autoconf
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: autoreconf hangs


From: Akim Demaille
Subject: Re: autoreconf hangs
Date: 13 Sep 2002 08:55:53 +0200
User-agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.4 (Honest Recruiter)

| 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  <address@hidden>

        * 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                      address@hidden
 Tony Leneis                 address@hidden
 Uwe Seimet                  address@hidden
+Vance Shipley               address@hidden
 Viktor Dukhovni             address@hidden
 Vladimir Volovich           address@hidden
 Volker Borchert             address@hidden
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

[Prev in Thread] Current Thread [Next in Thread]