--- freem/src/events.c	2025/03/09 15:20:18	1.2
+++ freem/src/events.c	2025/03/22 18:43:54	1.4
@@ -1,23 +1,11 @@
 /*
- *                            *
- *                           * *
- *                          *   *
- *                     ***************
- *                      * *       * *
- *                       *  MUMPS  *
- *                      * *       * *
- *                     ***************
- *                          *   *
- *                           * *
- *                            *
- *
- *   events.c
+ *   $Id: events.c,v 1.4 2025/03/22 18:43:54 snw Exp $
  *    event framework
  *
  *  
  *   Author: Serena Willis <snw@coherent-logic.com>
  *    Copyright (C) 1998 MUG Deutschland
- *    Copyright (C) 2020 Coherent Logic Development LLC
+ *    Copyright (C) 2020, 2025 Coherent Logic Development LLC
  *
  *
  *   This file is part of FreeM.
@@ -35,6 +23,16 @@
  *   You should have received a copy of the GNU Affero Public License
  *   along with FreeM.  If not, see <https://www.gnu.org/licenses/>.
  *
+ *   $Log: events.c,v $
+ *   Revision 1.4  2025/03/22 18:43:54  snw
+ *   Make STRLEN 255 chars and add BIGSTR macro for larger buffers
+ *
+ *   Revision 1.3  2025/03/09 19:14:24  snw
+ *   First phase of REUSE compliance and header reformat
+ *
+ *
+ * SPDX-FileCopyrightText:  (C) 2025 Coherent Logic Development LLC
+ * SPDX-License-Identifier: AGPL-3.0-or-later 
  **/
 
 #include <stdlib.h>
@@ -257,7 +255,7 @@ int evt_get_handlers (char *buf) {
     int ct;       
     evt_entry *e;
 
-    class_name = malloc (256 * sizeof (char));
+    class_name = malloc (STRLEN * sizeof (char));
     NULLPTRCHK(class_name,"evt_get_handlers");
     
     t_buf = malloc (STRLEN * sizeof (char));
@@ -349,10 +347,10 @@ short evt_registered (char *event_id, sh
     char pid_s[10];
     int ct;
     
-    t_key = malloc (256 * sizeof (char));
+    t_key = malloc (STRLEN * sizeof (char));
     NULLPTRCHK(t_key,"evt_registered");
     
-    class_name = malloc (256 * sizeof (char));
+    class_name = malloc (STRLEN * sizeof (char));
     NULLPTRCHK(class_name,"evt_registered");
     
     t_buf = malloc (STRLEN * sizeof (char));