Re: [Bug-gnulib] AC_PROG_YACC

Derek Robert Price <[email protected]> Wed, 05 May 2004 11:15:19 -0400
Newsgroups gmane.comp.sysutils.autoconf.bugs,gmane.comp.version-control.cvs.bugs,gmane.comp.lib.gnulib.bugs
Organization Ximbiot <http://ximbiot.com>
Message-ID <[email protected]>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Mark D. Baushke wrote:

> >Is the problem that people are getting sources directly
> >out of CVS and building them, and that getdate.c is older
> >than getdate.y? If so, then perhaps the simplest solution
> >is to update getdate.c's time stamp.
>
> The particular situation arose by a user doing a 'cvs
> update' on their sources and getting the latest version of
> getdate.y with a newer timestamp than the getdate.c and
> having their BSD 'make' command corrupt the getdate.h file
> by passing 'YFLAGS=-y -d' as a YACC command arguments.


And because `cvs update' can _never_ interfere with the normal
operation of timestamps without causing other problems at build time,
the alphabetical checkout retrieved getdate.c first and then retrieved
getdate.y and getdate.y was therefore newer.  This will almost always
be the case on update, though not checkout, of X.c X.y file
combinations from CVS.

Derek
- --
                *8^)

Email: [email protected]

Get CVS support at <http://ximbiot.com>!
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFAmQUGLD1OTBfyMaQRAk6XAKDf/FdnHhg2oysTdgWaPwklWi1qAQCg2efR
xnbtGenaURFrhjP/JdHcTUg=
=gTR0
-----END PGP SIGNATURE-----