This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

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


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]