This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Stopping daily bump of version.c on old/closed branches
On Sun, 4 May 2003, Joseph S. Myers wrote:
> Even with this minimal patch, that all the old branches no longer get
> version updates means that the script need no longer support updating lots
> of different files that used to contain the date - just gcc/gcc/version.c
> and gcc/libstdc++-v3/include/bits/c++config.
I noticed this looking when checking the two remaining daily messages to
gcc-cvs.
Do you agree with the patch below?
2003-05-04 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
* update_version (textstring_FILES): Only version.c needs to be
updated, now that we do not consider older branches any more.
Index: update_version
===================================================================
RCS file: /cvs/gcc/gcc/maintainer-scripts/update_version,v
retrieving revision 1.10
diff -u -3 -p -r1.10 update_version
--- update_version 2 May 2003 09:41:47 -0000 1.10
+++ update_version 4 May 2003 10:59:35 -0000
@@ -25,7 +25,7 @@ BRANCHES="${BRANCHES} HEAD"
CURR_DATE=`/bin/date +"%Y%m%d"`
# version is contained within a char*
-textstring_FILES="gcc/gcc/version.c gcc/gcc/ada/gnatvsn.ads gcc/gcc/f/version.c gcc/libf2c/libF77/Version.c gcc/libf2c/libI77/Version.c gcc/libf2c/libU77/Version.c"
+textstring_FILES="gcc/gcc/version.c"
# version is contained within a #define
cppdefine_FILES="gcc/libstdc++-v3/include/bits/c++config"