From 98994bbeaad944ecc2c031a197fc841862eb6378 Mon Sep 17 00:00:00 2001 From: Andrew Wood Date: Mon, 22 Apr 2024 22:25:22 +0100 Subject: [PATCH] Correct the copyright year in the "--version" output. --- docs/DEVELOPERS.md | 1 + src/main/version.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/DEVELOPERS.md b/docs/DEVELOPERS.md index 3aaed73..7c9356e 100644 --- a/docs/DEVELOPERS.md +++ b/docs/DEVELOPERS.md @@ -119,6 +119,7 @@ The package maintainer should run through these steps for a new release: * Check that `docs/TODO.md` is up to date * Check that the manual `docs/pv.1` is up to date * Run "`make docs/pv.1.md`" and, if using VPATH, copy the result to the source directory + * Check that the year displayed by src/main/version.c is correct * Ensure everything has been committed to the repository * Run "`autoreconf`" in the source directory * Consistency and build checks: diff --git a/src/main/version.c b/src/main/version.c index 35f74e7..3150637 100644 --- a/src/main/version.c +++ b/src/main/version.c @@ -23,7 +23,7 @@ void display_version(void) /* GNU standard first line format: program and version only */ printf("%s %s\n", PACKAGE_NAME, PACKAGE_VERSION); /* GNU standard second line format - "Copyright" always in English */ - printf("Copyright %s %s\n", "2023", "Andrew Wood"); + printf("Copyright %s %s\n", "2024", "Andrew Wood"); /* GNU standard license line and free software notice */ printf("%s\n", _("License: GPLv3+ ")); printf("%s\n", _("This is free software: you are free to change and redistribute it."));