Patch Makefile.in/Make-lang.in: create bison files atomically

Alexandre Oliva aoliva@redhat.com
Thu Oct 12 16:39:00 GMT 2000


On Oct 12, 2000, "Kaveh R. Ghazi" <ghazi@caip.rutgers.edu> wrote:

>> I think I've just figured out why you chose to use move-if-change.

> Feel free to fill me in.  I don't think I had a good reason. :-)

If you have already generated the file in this session (i.e., it's
already up-to-date), you'd better not change its timestamp again,
otherwise builds that have already used the previous timestamp may
suddenly need to compile the generated files again.

> Um let's keep it simple, how about just "mv -f" ?

Fair enough.

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                  aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist    *Please* write to mailing lists, not to me


More information about the Gcc-patches mailing list