Should the end year be a constant string?

Gary

On Thu, Feb 24, 2022, 13:10 <[email protected]> wrote:

> This is an automated email from the ASF dual-hosted git repository.
>
> markt pushed a commit to branch master
> in repository https://gitbox.apache.org/repos/asf/commons-daemon.git
>
> commit af00cbc3095e1798b3122a48ffe0d0c9d43d035d
> Author: Mark Thomas <[email protected]>
> AuthorDate: Thu Feb 24 18:09:33 2022 +0000
>
>     Copyright year update to 2022
> ---
>  src/native/unix/native/help.c              | 2 +-
>  src/native/unix/native/jsvc-unix.c         | 2 +-
>  src/native/windows/apps/prunmgr/prunmgr.rc | 6 +++---
>  src/native/windows/apps/prunsrv/prunsrv.c  | 2 +-
>  src/native/windows/apps/prunsrv/prunsrv.rc | 2 +-
>  src/native/windows/resources/license.rtf   | 2 +-
>  6 files changed, 8 insertions(+), 8 deletions(-)
>
> diff --git a/src/native/unix/native/help.c b/src/native/unix/native/help.c
> index ea92d29..d79aeea 100644
> --- a/src/native/unix/native/help.c
> +++ b/src/native/unix/native/help.c
> @@ -124,7 +124,7 @@ void help(home_data *data)
>      printf("    --enable-preview\n");
>      printf("        Java 11 --enable-preview option. Passed as it is to
> JVM\n");
>      printf("\njsvc (Apache Commons Daemon) " JSVC_VERSION_STRING "\n");
> -    printf("Copyright (c) 1999-2021 Apache Software Foundation.\n");
> +    printf("Copyright (c) 1999-2022 Apache Software Foundation.\n");
>
>      printf("\n");
>  }
> diff --git a/src/native/unix/native/jsvc-unix.c
> b/src/native/unix/native/jsvc-unix.c
> index 73764d4..a98757a 100644
> --- a/src/native/unix/native/jsvc-unix.c
> +++ b/src/native/unix/native/jsvc-unix.c
> @@ -850,7 +850,7 @@ static int child(arg_data *args, home_data *data,
> uid_t uid, gid_t gid)
>      /* Check wether we need to dump the VM version */
>      if (args->vers == true) {
>          log_error("jsvc (Apache Commons Daemon) " JSVC_VERSION_STRING);
> -        log_error("Copyright (c) 1999-2021 Apache Software Foundation.");
> +        log_error("Copyright (c) 1999-2022 Apache Software Foundation.");
>          if (java_version() != true) {
>              return -1;
>          }
> diff --git a/src/native/windows/apps/prunmgr/prunmgr.rc
> b/src/native/windows/apps/prunmgr/prunmgr.rc
> index dd5efbe..d102f60 100644
> --- a/src/native/windows/apps/prunmgr/prunmgr.rc
> +++ b/src/native/windows/apps/prunmgr/prunmgr.rc
> @@ -38,7 +38,7 @@ BEGIN
>                      ES_READONLY | WS_BORDER | WS_VSCROLL,0,31,335,115
>      CONTROL
>  "BMP_COMMONS",IDC_STATIC,"Static",SS_BITMAP|0x00000040L,0,0,337,30
>      LTEXT           " ",IDC_ABOUTAPP,2,150,270,12
> -    LTEXT           "Copyright (c) 2000-2021 The Apache Software
> Foundation.",IDC_STATIC,2,160,270,12
> +    LTEXT           "Copyright (c) 2000-2022 The Apache Software
> Foundation.",IDC_STATIC,2,160,270,12
>      LTEXT           "https://commons.apache.org",IDC_STATIC,2,170,270,12
>      PUSHBUTTON      "&System Info",IAB_SYSINF,285,170,50,14
>  END
> @@ -230,7 +230,7 @@ BEGIN
>      IDS_APPLICATION     RSTR_PSM
>      IDS_APPVERSION      "Version 1.3.0"
>      IDS_APPFULLNAME     RSTR_PSM " Version " PRG_VERSION
> -    IDS_APPCOPYRIGHT    "Copyright (c) 2000-2021 The Apache Software
> Foundation"
> +    IDS_APPCOPYRIGHT    "Copyright (c) 2000-2022 The Apache Software
> Foundation"
>      IDS_APPDESCRIPTION  "Apache Commons Daemon Service Management Tool"
>      IDS_ALREAY_RUNING   "An instance of '%S' application is already
> running"
>      IDS_ERRORCMD        "Unknown command line option '%s'\nSee the manual
> for command line usage."
> @@ -280,7 +280,7 @@ BEGIN
>        VALUE "FileDescription", RSTR_PSM "\0"
>        VALUE "FileVersion", PRG_VERSION
>        VALUE "InternalName", RSTR_PSM "\0"
> -      VALUE "LegalCopyright", "Copyright (c) 2000-2021 The Apache
> Software Foundation.\0"
> +      VALUE "LegalCopyright", "Copyright (c) 2000-2022 The Apache
> Software Foundation.\0"
>        VALUE "OriginalFilename", "prunmgr.exe\0"
>        VALUE "ProductName", RSTR_PSM "\0"
>        VALUE "ProductVersion", PRG_VERSION
> diff --git a/src/native/windows/apps/prunsrv/prunsrv.c
> b/src/native/windows/apps/prunsrv/prunsrv.c
> index 62acb7e..472ce14 100644
> --- a/src/native/windows/apps/prunsrv/prunsrv.c
> +++ b/src/native/windows/apps/prunsrv/prunsrv.c
> @@ -399,7 +399,7 @@ static void printVersion(void)
>  {
>      fwprintf(stderr, L"Apache Commons Daemon Service Runner version
> %S/Win%d (%S)\n",
>              PRG_VERSION, PRG_BITS, __DATE__);
> -    fwprintf(stderr, L"Copyright (c) 2000-2021 The Apache Software
> Foundation.\n\n"
> +    fwprintf(stderr, L"Copyright (c) 2000-2022 The Apache Software
> Foundation.\n\n"
>                       L"For bug reporting instructions, please see:\n"
>                       L"<URL:https://issues.apache.org/jira/browse/DAEMON
> >.");
>  }
> diff --git a/src/native/windows/apps/prunsrv/prunsrv.rc
> b/src/native/windows/apps/prunsrv/prunsrv.rc
> index 8a4d1cd..b80069e 100644
> --- a/src/native/windows/apps/prunsrv/prunsrv.rc
> +++ b/src/native/windows/apps/prunsrv/prunsrv.rc
> @@ -44,7 +44,7 @@ BEGIN
>        VALUE "FileDescription", RSTR_PRUNSRV "\0"
>        VALUE "FileVersion", PRG_VERSION
>        VALUE "InternalName", RSTR_PRUNSRV "\0"
> -      VALUE "LegalCopyright", "Copyright (c) 2000-2021 The Apache
> Software Foundation.\0"
> +      VALUE "LegalCopyright", "Copyright (c) 2000-2022 The Apache
> Software Foundation.\0"
>        VALUE "OriginalFilename", "prunsrv.exe\0"
>        VALUE "ProductName", RSTR_PRUNSRV "\0"
>        VALUE "ProductVersion", PRG_VERSION
> diff --git a/src/native/windows/resources/license.rtf
> b/src/native/windows/resources/license.rtf
> index 737212e..3c8d8ae 100644
> --- a/src/native/windows/resources/license.rtf
> +++ b/src/native/windows/resources/license.rtf
> @@ -15,7 +15,7 @@
>  {\pntxtb (}{\pntxta )}}{\*\pnseclvl7\pnlcrm\pnstart1\pnindent720\pnhang
> {\pntxtb (}{\pntxta )}}{\*\pnseclvl8\pnlcltr\pnstart1\pnindent720\pnhang
> {\pntxtb (}{\pntxta )}}{\*\pnseclvl9\pnlcrm\pnstart1\pnindent720\pnhang
> {\pntxtb (}{\pntxta )}}\pard\plain
>  \qc \li0\ri0\nowidctlpar\faauto\rin0\lin0\itap0\pararsid14358633
> \fs24\lang1033\langfe1033\cgrid\langnp1033\langfenp1033
> {\b\f1\insrsid16132583\charrsid12321742 The Apache Software License,
> Version 2.0
>  \par }\pard \ql \li0\ri0\nowidctlpar\faauto\rin0\lin0\itap0
> {\f1\fs18\insrsid16132583\charrsid16132583
> -\par }\pard \ql
> \li0\ri0\nowidctlpar\faauto\rin0\lin0\itap0\pararsid9454304
> {\f1\fs18\insrsid9454304   }{\f1\fs18\insrsid16132583\charrsid16132583
> Copyright 2002-2021 The Apache Software Foundation.
> +\par }\pard \ql
> \li0\ri0\nowidctlpar\faauto\rin0\lin0\itap0\pararsid9454304
> {\f1\fs18\insrsid9454304   }{\f1\fs18\insrsid16132583\charrsid16132583
> Copyright 2002-2022 The Apache Software Foundation.
>  \par }\pard \ql
> \li0\ri0\nowidctlpar\faauto\rin0\lin0\itap0\pararsid1379267
> {\f1\fs18\insrsid16132583\charrsid16132583
>  \par }{\f1\fs18\insrsid14358633
>  }{\f1\fs18\insrsid16132583\charrsid16132583 Licensed under the Apache
> License, Version 2.0 (the "License");
>  \par }{\f1\fs18\insrsid14358633
>  }{\f1\fs18\insrsid16132583\charrsid16132583 you may not use this file
> except in compliance with the License.
>

Reply via email to