From 9eeb033ea62b9f66d8065440431a328d141470c3 Mon Sep 17 00:00:00 2001 From: "Dmitry V. Levin" Date: Sun, 1 Jan 2017 11:33:40 +0000 Subject: [PATCH] Update all publicly shown copyright year number ranges * COPYING: Update copyright year number range. * configure.ac: Likewise. * strace.c: Likewise. * tests/strace-V.test: Use the current year for the check. --- COPYING | 2 +- configure.ac | 2 +- strace.c | 2 +- tests/strace-V.test | 6 ++++-- 4 files changed, 7 insertions(+), 5 deletions(-) diff --git a/COPYING b/COPYING index 68dc370f..168a7155 100644 --- a/COPYING +++ b/COPYING @@ -4,7 +4,7 @@ Copyright (c) 1993 Ulrich Pegelow Copyright (c) 1995, 1996 Michael Elizabeth Chastain Copyright (c) 1993, 1994, 1995, 1996 Rick Sladkey Copyright (C) 1998-2001 Wichert Akkerman -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 diff --git a/configure.ac b/configure.ac index ebb18abe..8fc35a8c 100644 --- a/configure.ac +++ b/configure.ac @@ -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]) diff --git a/strace.c b/strace.c index e95e64ce..1465d704 100644 --- 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 diff --git a/tests/strace-V.test b/tests/strace-V.test index 2f0ff327..9a051e00 100755 --- a/tests/strace-V.test +++ b/tests/strace-V.test @@ -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__ -- 2.40.0