|
|
| version 1.3, 2025/03/09 19:14:24 | version 1.4, 2025/03/22 18:43:54 |
|---|---|
| Line 24 | Line 24 |
| * along with FreeM. If not, see <https://www.gnu.org/licenses/>. | * along with FreeM. If not, see <https://www.gnu.org/licenses/>. |
| * | * |
| * $Log$ | * $Log$ |
| * 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 | * Revision 1.3 2025/03/09 19:14:24 snw |
| * First phase of REUSE compliance and header reformat | * First phase of REUSE compliance and header reformat |
| * | * |
| Line 252 int evt_get_handlers (char *buf) { | Line 255 int evt_get_handlers (char *buf) { |
| int ct; | int ct; |
| evt_entry *e; | evt_entry *e; |
| class_name = malloc (256 * sizeof (char)); | class_name = malloc (STRLEN * sizeof (char)); |
| NULLPTRCHK(class_name,"evt_get_handlers"); | NULLPTRCHK(class_name,"evt_get_handlers"); |
| t_buf = malloc (STRLEN * sizeof (char)); | t_buf = malloc (STRLEN * sizeof (char)); |
| Line 344 short evt_registered (char *event_id, sh | Line 347 short evt_registered (char *event_id, sh |
| char pid_s[10]; | char pid_s[10]; |
| int ct; | int ct; |
| t_key = malloc (256 * sizeof (char)); | t_key = malloc (STRLEN * sizeof (char)); |
| NULLPTRCHK(t_key,"evt_registered"); | NULLPTRCHK(t_key,"evt_registered"); |
| class_name = malloc (256 * sizeof (char)); | class_name = malloc (STRLEN * sizeof (char)); |
| NULLPTRCHK(class_name,"evt_registered"); | NULLPTRCHK(class_name,"evt_registered"); |
| t_buf = malloc (STRLEN * sizeof (char)); | t_buf = malloc (STRLEN * sizeof (char)); |