bug-libtool
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: off-by-2 problems in GNU Libtool 1.5.12 "--version" output


From: Peter O'Gorman
Subject: Re: off-by-2 problems in GNU Libtool 1.5.12 "--version" output
Date: Fri, 11 Feb 2005 00:00:36 +0900
User-agent: Mozilla Thunderbird 1.0 (Macintosh/20041206)

Paul Eggert wrote:
"Peter O'Gorman" <address@hidden> writes:


Should libtoolize --version say 2005?


That depends on whether the entire libtoolize program (including
libtool-related files that libtoolize uses while it runs) have seen
copyrightable changes.  If so, then 'libtoolize --version' should say
2005, even if the copyright date of libtoolize.m4sh itself is 2004.

In general, the output of "program --version" can be a copyright date
that is newer than the copyright date of the source file for the main
function of that program.


I'll buy that. I applied this.

Peter
--
Peter O'Gorman - http://www.pogma.com
Index: ChangeLog
2005-02-10  Peter O'Gorman  <address@hidden>

        * ltmain.in, libtoolize.in: --version should show "(C) 2005".
        Reported by Paul Eggert <address@hidden>

Index: libtoolize.in
===================================================================
RCS file: /cvsroot/libtool/libtool/Attic/libtoolize.in,v
retrieving revision 1.21.2.7
diff -u -3 -p -u -r1.21.2.7 libtoolize.in
--- libtoolize.in 2 Feb 2005 22:17:04 -0000 1.21.2.7
+++ libtoolize.in 10 Feb 2005 14:57:23 -0000
@@ -88,7 +88,7 @@ EOF
   --version)
     echo "$PROGRAM (GNU $PACKAGE) $VERSION"
     echo
-    echo "Copyright (C) 2003 Free Software Foundation, Inc."
+    echo "Copyright (C) 2005 Free Software Foundation, Inc."
     echo "This is free software; see the source for copying conditions.  There 
is NO"
     echo "warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR 
PURPOSE."
     exit $?
Index: ltmain.in
===================================================================
RCS file: /cvsroot/libtool/libtool/Attic/ltmain.in,v
retrieving revision 1.334.2.61
diff -u -3 -p -u -r1.334.2.61 ltmain.in
--- ltmain.in 7 Feb 2005 14:18:41 -0000 1.334.2.61
+++ ltmain.in 10 Feb 2005 14:57:25 -0000
@@ -438,7 +438,7 @@ do
   --version)
     $echo "$PROGRAM (GNU $PACKAGE) $VERSION$TIMESTAMP"
     $echo
-    $echo "Copyright (C) 2003  Free Software Foundation, Inc."
+    $echo "Copyright (C) 2005  Free Software Foundation, Inc."
     $echo "This is free software; see the source for copying conditions.  
There is NO"
     $echo "warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR 
PURPOSE."
     exit $?

reply via email to

[Prev in Thread] Current Thread [Next in Thread]