/[autoconf]/autoconf/lib/Autom4te/XFile.pm
ViewVC logotype

Diff of /autoconf/lib/Autom4te/XFile.pm

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.9 by eggert, Tue Sep 30 19:29:48 2003 UTC revision 1.10 by eggert, Tue Sep 30 19:34:28 2003 UTC
# Line 225  sub lock Line 225  sub lock
225    # However, if the invoker is using "make -j", the problem is not harmless,    # However, if the invoker is using "make -j", the problem is not harmless,
226    # so report it in that case.  Admittedly this is a bit of a hack.    # so report it in that case.  Admittedly this is a bit of a hack.
227    if (!flock ($fh, $mode)    if (!flock ($fh, $mode)
228        && (!$!{ENOLCK} || " $ENV{'MAKEFLAGS'} " =~ / -j /))        && (!$!{ENOLCK} || " $ENV{'MAKEFLAGS'}" =~ / (-j|--jobs)/))
229      {      {
230        my $file = $fh->name;        my $file = $fh->name;
231        fatal "cannot lock $file with mode $mode: $!";        fatal "cannot lock $file with mode $mode: $!";

Legend:
Removed from v.1.9  
changed lines
  Added in v.1.10

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26