]> granicus.if.org Git - strace/commitdiff
Update all publicly shown copyright year number ranges
authorDmitry V. Levin <ldv@altlinux.org>
Sun, 1 Jan 2017 11:33:40 +0000 (11:33 +0000)
committerDmitry V. Levin <ldv@altlinux.org>
Sun, 1 Jan 2017 11:33:40 +0000 (11:33 +0000)
* COPYING: Update copyright year number range.
* configure.ac: Likewise.
* strace.c: Likewise.
* tests/strace-V.test: Use the current year for the check.

COPYING
configure.ac
strace.c
tests/strace-V.test

diff --git a/COPYING b/COPYING
index 68dc370f337c0f0be582b5d4eb40286610412bd5..168a7155233dae1752ef03925cdc4c64bc118d95 100644 (file)
--- a/COPYING
+++ b/COPYING
@@ -4,7 +4,7 @@ Copyright (c) 1993 Ulrich Pegelow <pegelow@moorea.uni-muenster.de>
 Copyright (c) 1995, 1996 Michael Elizabeth Chastain <mec@duracef.shout.net>
 Copyright (c) 1993, 1994, 1995, 1996 Rick Sladkey <jrs@world.std.com>
 Copyright (C) 1998-2001 Wichert Akkerman <wakkerma@deephackmode.org>
-Copyright (C) 2001-2016 The strace developers.
+Copyright (C) 2001-2017 The strace developers.
 All rights reserved.
 
 Redistribution and use in source and binary forms, with or without
index ebb18abe71c0c90a4c215c4094db6bdc19367e6d..8fc35a8cbf312f490edc7546d7f30b0b814dbfc9 100644 (file)
@@ -35,7 +35,7 @@ AC_INIT([strace],
        [strace-devel@lists.sourceforge.net],
        [strace],
        [https://strace.io])
-AC_COPYRIGHT([Copyright (C) 1999-2016 The strace developers.])
+AC_COPYRIGHT([Copyright (C) 1999-2017 The strace developers.])
 AC_CONFIG_SRCDIR([strace.c])
 AC_CONFIG_AUX_DIR([.])
 AC_CONFIG_HEADERS([config.h])
index e95e64ceb4938f209ee678aa60e7197b4ecdbb11..1465d704602dc0bb4db66cf5e0b0864620e66544 100644 (file)
--- a/strace.c
+++ b/strace.c
@@ -200,7 +200,7 @@ print_version(void)
               "Copyright (C) %s The strace developers <%s>.\n"
               "This is free software; see the source for copying conditions.  There is NO\n"
               "warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n",
-              PACKAGE_NAME, PACKAGE_VERSION, "1991-2016", PACKAGE_URL);
+              PACKAGE_NAME, PACKAGE_VERSION, "1991-2017", PACKAGE_URL);
 }
 
 static void
index 2f0ff3274b9b5c987b46c20dddb379e261c8eeff..9a051e00e248a0f6e0fd183ca02e787c3257305e 100755 (executable)
@@ -1,9 +1,11 @@
 #!/bin/sh
 
 # Check -V option.
-
 . "${srcdir=.}/init.sh"
 
+run_prog_skip_if_failed date +%Y > /dev/null
+year="$(date +%Y)"
+
 run_strace -V > "$LOG"
 
 getval()
@@ -13,7 +15,7 @@ getval()
 
 cat > "$EXP" << __EOF__
 $(getval PACKAGE_NAME) -- version $(getval PACKAGE_VERSION)
-Copyright (C) 1991-2016 The strace developers <$(getval PACKAGE_URL)>.
+Copyright (C) 1991-$year The strace developers <$(getval PACKAGE_URL)>.
 This is free software; see the source for copying conditions.  There is NO
 warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
 __EOF__