Patch create bison files atomically

Alexandre Oliva
Thu Oct 12 16:39:00 GMT 2000

On Oct 12, 2000, "Kaveh R. Ghazi" <> 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
Red Hat GCC Developer                  aoliva@{,}
CS PhD student at IC-Unicamp        oliva@{,}
Free Software Evangelist    *Please* write to mailing lists, not to me

More information about the Gcc-patches mailing list