Menu

#4 -v shows incorrect build date

open
nobody
None
5
2004-12-01
2004-12-01
No

When I did this with my freshly-built-from-CVS-source
ups on 30 November 2004:
$ ups -v
I was surprised to see
ups version 3.38beta1-cvs (build date: Fri Oct 25
16:57:55 BST 2002)

I thought my install was bad and I was getting an old
build somehow. Actually, this string is hard-coded in
the source:

$ grep 'build date: ' ups/*.[ch]
ups/sccsdata.c: "ups version 3.38beta1-cvs (build date:
Fri Oct 25 16:57:55 BST 2002)",

An sccsdata.c file appears in several directories. I
guess the "build date" should be computed and stuffed
in there during the make process. Or, since sccs seems
not to be used any more at all, the sccsdata.* files
should be removed, and this functionality replaced by
corresponding CVS functionality (though computing the
build time still has to be something that happens
through the make process.)

Will Dowling

Discussion


Log in to post a comment.