This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Patch Makefile.in/Make-lang.in: create bison files atomically
- To: "Kaveh R. Ghazi" <ghazi at caip dot rutgers dot edu>
- Subject: Re: Patch Makefile.in/Make-lang.in: create bison files atomically
- From: Alexandre Oliva <aoliva at redhat dot com>
- Date: 12 Oct 2000 21:39:43 -0200
- Cc: gcc-patches at gcc dot gnu dot org
- Organization: GCC Team, Red Hat
- References: <200010122217.SAA26836@caip.rutgers.edu>
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