eggdrop icon indicating copy to clipboard operation
eggdrop copied to clipboard

Fix copyright in main.c and misc/updatecopyright

Open michaelortmann opened this issue 1 year ago • 0 comments

Found by: michaelortmann Patch by: michaelortmann Fixes:

One-line summary: Fix copyright in main.c and misc/updatecopyright

Additional description (if needed): We tried a fix of the copyright string with #1414 but we forgot to update misc/updatecopyright so the fix was reverted by the last run of that script

Test cases demonstrating functionality (if applicable): Test 1: Before:

$ ./eggdrop -v
Eggdrop v1.9.5+python (C) 1997 Robey Pointer (C) 2010-2024 Eggheads

After:

$ ./eggdrop -v
Eggdrop v1.9.5+python (C) 1997 Robey Pointer (C) 1999-2024 Eggheads Development Team

Test 2:

$ misc/updatecopyright 2025
$ git diff src/main.c
diff --git a/src/main.c b/src/main.c
index d552f29f..003c4396 100644
--- a/src/main.c
+++ b/src/main.c
@@ -7,7 +7,7 @@
  */
 /*
  * Copyright (C) 1997 Robey Pointer
- * Copyright (C) 1999 - 2024 Eggheads Development Team
+ * Copyright (C) 1999 - 2025 Eggheads Development Team
  *
  * This program is free software; you can redistribute it and/or
  * modify it under the terms of the GNU General Public License
@@ -979,13 +979,13 @@ int main(int arg_c, char **arg_v)
   egg_snprintf(egg_version, sizeof egg_version, "%s+%s %u", EGG_STRINGVER, EGG_PATCH, egg_numver);
   egg_snprintf(ver, sizeof ver, "eggdrop v%s+%s", EGG_STRINGVER, EGG_PATCH);
   strlcpy(version,
-          "Eggdrop v" EGG_STRINGVER "+" EGG_PATCH " (C) 1997 Robey Pointer (C) 1999-2024 Eggheads Development Team",
+          "Eggdrop v" EGG_STRINGVER "+" EGG_PATCH " (C) 1997 Robey Pointer (C) 1999-2025 Eggheads Development Team",
           sizeof version);
 #else
   egg_snprintf(egg_version, sizeof egg_version, "%s %u", EGG_STRINGVER, egg_numver);
   egg_snprintf(ver, sizeof ver, "eggdrop v%s", EGG_STRINGVER);
   strlcpy(version,
-          "Eggdrop v" EGG_STRINGVER " (C) 1997 Robey Pointer (C) 1999-2024 Eggheads Development Team",
+          "Eggdrop v" EGG_STRINGVER " (C) 1997 Robey Pointer (C) 1999-2025 Eggheads Development Team",
           sizeof version);
 #endif
$ ./eggdrop -v
Eggdrop v1.9.5+python (C) 1997 Robey Pointer (C) 1999-2025 Eggheads Development Team

michaelortmann avatar May 04 '24 09:05 michaelortmann