bug-gnu-utils
[Top][All Lists]
Advanced

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

diffutils 2.8.4 bug when make -j is used


From: Chris Bainbridge
Subject: diffutils 2.8.4 bug when make -j is used
Date: Sun, 13 Oct 2002 08:03:42 +0100
User-agent: KMail/1.4.3

Hi, theres a bug in src/Makefile.in/am. It does:

paths.h:   
        (echo '#define DEFAULT_DIFF_PROGRAM "$(bindir)/'`echo diff|sed   
'$(transform)'`'"' && \   
         echo '#define LOCALEDIR "$(localedir)"') >$@   
   
When make -j is used this gets run in a subshell and theres a race condition   
between  paths.h being created and used. Replacing it with curly brackets like 
this works:

paths.h:   
        { echo '#define DEFAULT_DIFF_PROGRAM "$(bindir)/'`echo diff|sed   
'$(transform)'`'"' && \   
         echo '#define LOCALEDIR "$(localedir)"'; } >$@   
   
Bug report originally from gentoo linux (see 
http://bugs.gentoo.org/show_bug.cgi?id=8934 ).




reply via email to

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