]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Update the copyright notice in files ending in '.in' because the
authorFlorian Krohm <florian@eich-krohm.de>
Mon, 23 Jun 2014 19:33:45 +0000 (19:33 +0000)
committerFlorian Krohm <florian@eich-krohm.de>
Mon, 23 Jun 2014 19:33:45 +0000 (19:33 +0000)
script change-copyright-year did not handle them.
Update the script as well.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14087

auxprogs/change-copyright-year
cachegrind/cg_annotate.in
cachegrind/cg_diff.in
callgrind/callgrind_annotate.in
callgrind/callgrind_control.in
massif/ms_print.in
perf/vg_perf.in
tests/vg_regtest.in

index 4c6f90a376b0fc57e674a07cba861d5d7db673cc..e6b98028ab366247e89ac53b6e21bfa2b838c5df 100755 (executable)
 
 # The find command deliberately skips .svn/ subdirs -- we don't want to
 # change them.
-for i in `find . -name '*.[chS]' -type f -not -path '*.svn\/*'` ; do
+for i in `find . -name '*.[chS]' -o -name '*.in' -type f -not -path '*.svn\/*'` ; do
     echo $i
-    perl -p -e 's/Copyright \(C\) 20([0-1])([0-9])-2012/Copyright (C) 20$1$2-2013/' < $i > tmp.$$
+    if [ -L $i ]; then continue; fi  # skip symbolic links
+    perl -p -e 's/Copyright \(C\) 20([0-1])([0-9])-2013/Copyright (C) 20$1$2-2014/' < $i > tmp.$$
     mv tmp.$$ $i
 
 # Copyright IBM Corp. 2010-2011
 
-    perl -p -e 's/Copyright IBM Corp. 20([0-1])([0-9])-2012/Copyright IBM Corp. 20$1$2-2013/' < $i > tmp.$$
+    perl -p -e 's/Copyright IBM Corp. 20([0-1])([0-9])-2013/Copyright IBM Corp. 20$1$2-2014/' < $i > tmp.$$
     mv tmp.$$ $i
 done
-
index 9dc9565841864d5387537494ee72105a9bfa9d87..9fbea204617411af3f549a26fb070a7fcc29b1b8 100644 (file)
@@ -7,7 +7,7 @@
 #  This file is part of Cachegrind, a Valgrind tool for cache
 #  profiling programs.
 #
-#  Copyright (C) 2002-2005 Nicholas Nethercote
+#  Copyright (C) 2002-2013 Nicholas Nethercote
 #     njn@valgrind.org
 #
 #  This program is free software; you can redistribute it and/or
@@ -158,7 +158,7 @@ usage: cg_annotate [options] cachegrind-out-file [source-files...]
     -I<d> --include=<d>   add <d> to list of directories to search for 
                           source files
 
-  cg_annotate is Copyright (C) 2002-2007 Nicholas Nethercote.
+  cg_annotate is Copyright (C) 2002-2013 Nicholas Nethercote.
   and licensed under the GNU General Public License, version 2.
   Bug reports, feedback, admiration, abuse, etc, to: njn\@valgrind.org.
                                                 
index bcbe7d6ef897e2f8f65cc1a0a4dcd7147dfaa3bf..96f4b15437c0e10115af2a80118cb5e653b1bd50 100755 (executable)
@@ -7,7 +7,7 @@
 #  This file is part of Cachegrind, a Valgrind tool for cache
 #  profiling programs.
 #
-#  Copyright (C) 2002-2010 Nicholas Nethercote
+#  Copyright (C) 2002-2013 Nicholas Nethercote
 #     njn@valgrind.org
 #
 #  This program is free software; you can redistribute it and/or
@@ -52,7 +52,7 @@ usage: cg_diff [options] <cachegrind-out-file1> <cachegrind-out-file2>
                           to filenames, eg. --mod-filename='s/prog[0-9]/projN/'
     --mod-funcname=<expr> like --mod-filename, but applied to function names
 
-  cg_diff is Copyright (C) 2010-2010 Nicholas Nethercote.
+  cg_diff is Copyright (C) 2002-2013 Nicholas Nethercote.
   and licensed under the GNU General Public License, version 2.
   Bug reports, feedback, admiration, abuse, etc, to: njn\@valgrind.org.
                                                 
index f11d5f643a13c899167e5c3f65ffd755cdf153a9..75b1a079e5679571851c1872ea7459ccbf977845 100644 (file)
@@ -8,11 +8,11 @@
 #  This file is part of Callgrind, a cache-simulator and call graph
 #  tracer built on Valgrind.
 #
-#  Copyright (C) 2003 Josef Weidendorfer
+#  Copyright (C) 2003-2013 Josef Weidendorfer
 #     Josef.Weidendorfer@gmx.de
 #
 #  This file is based heavily on cg_annotate, part of Valgrind.
-#  Copyright (C) 2002 Nicholas Nethercote
+#  Copyright (C) 2002-2013 Nicholas Nethercote
 #     njn@valgrind.org
 #
 #  This program is free software; you can redistribute it and/or
index 1dd8cce6864a126a439ad186eac673f61aa7366a..a38ee16f64e41f4cfabac65292066ee121021da5 100644 (file)
@@ -7,7 +7,7 @@
 #  This file is part of Callgrind, a cache-simulator and call graph
 #  tracer built on Valgrind.
 #
-#  Copyright (C) 2003-2011 Josef Weidendorfer <Josef.Weidendorfer@gmx.de>
+#  Copyright (C) 2003-2013 Josef Weidendorfer <Josef.Weidendorfer@gmx.de>
 #
 #  This program is free software; you can redistribute it and/or
 #  modify it under the terms of the GNU General Public License as
index 5696653e0ab944c832e1ee5421e088da4ba2a857..6fa36698646eb7ccba59ff7e105b93734ca93c42 100755 (executable)
@@ -7,7 +7,7 @@
 #  This file is part of Massif, a Valgrind tool for profiling memory
 #  usage of programs.
 #
-#  Copyright (C) 2007-2007 Nicholas Nethercote
+#  Copyright (C) 2007-2013 Nicholas Nethercote
 #     njn@valgrind.org
 #
 #  This program is free software; you can redistribute it and/or
@@ -76,7 +76,7 @@ usage: ms_print [options] massif-out-file
     --x=<4..1000>         graph width, in columns [72]
     --y=<4..1000>         graph height, in rows [20]
 
-  ms_print is Copyright (C) 2007-2007 Nicholas Nethercote.
+  ms_print is Copyright (C) 2007-2013 Nicholas Nethercote.
   and licensed under the GNU General Public License, version 2.
   Bug reports, feedback, admiration, abuse, etc, to: njn\@valgrind.org.
                                                 
index 5d31f48a83b62a5244ef559b26959525c1a73337..5c482efe2b4e470460de261076e6ba7fde243b9f 100644 (file)
@@ -6,7 +6,7 @@
 #  This file is part of Valgrind, a dynamic binary instrumentation
 #  framework.
 #
-#  Copyright (C) 2005 Nicholas Nethercote
+#  Copyright (C) 2005-2013 Nicholas Nethercote
 #     njn@valgrind.org
 #
 #  This program is free software; you can redistribute it and/or
index 224385fb6356c7eb7d9eb0f4278450f6c3f1a6f8..4aa6fea448dbfe1313b2c5e1d6a5a62225f22286 100755 (executable)
@@ -6,7 +6,7 @@
 #  This file is part of Valgrind, a dynamic binary instrumentation
 #  framework.
 #
-#  Copyright (C) 2003 Nicholas Nethercote
+#  Copyright (C) 2003-2013 Nicholas Nethercote
 #     njn@valgrind.org
 #
 #  This program is free software; you can redistribute it and/or