Files
cc65/libsrc/common
Colin Leroy-Mira 6604c5ce92 Make strndup smaller, safer, faster
First implementation was doing:
- strdup (without checking result!)
- strlen
- terminate
- realloc

New one does:
- malloc to shortest +1
- strncpy
- terminate
2025-07-05 12:11:40 +02:00
..
2025-06-04 06:37:59 +00:00
2025-06-04 06:37:59 +00:00
2025-06-04 06:37:59 +00:00
2025-06-04 06:37:59 +00:00
2024-01-30 19:40:28 +01:00
2025-03-24 20:52:55 +01:00
2024-01-18 09:09:38 +01:00
2024-01-24 09:58:09 +01:00
2024-01-24 09:58:09 +01:00
2025-06-04 06:37:59 +00:00
2024-01-30 19:40:28 +01:00
2024-01-30 19:40:28 +01:00
2025-06-04 06:37:59 +00:00
2024-01-26 20:29:17 +01:00
2025-06-04 06:37:59 +00:00
2025-06-04 06:37:59 +00:00
2025-06-04 06:37:59 +00:00
2025-06-04 06:37:59 +00:00
2025-05-13 21:26:47 +02:00
2025-05-13 21:26:47 +02:00
2024-01-24 09:54:54 +01:00
2025-06-22 21:34:41 +00:00
2025-06-22 21:34:41 +00:00
2025-03-24 20:52:55 +01:00
2025-06-04 06:37:59 +00:00
2024-01-24 09:58:09 +01:00
2025-06-04 06:37:59 +00:00
2025-01-01 14:32:07 +01:00
2025-06-04 06:37:59 +00:00
2025-06-04 06:37:59 +00:00
2025-06-04 06:37:59 +00:00
2025-06-04 06:37:59 +00:00
2025-06-04 06:37:59 +00:00
2024-09-07 21:24:53 +02:00
2024-04-19 07:57:47 +02:00
2024-09-07 21:24:53 +02:00
2024-12-09 18:37:02 +01:00
2025-07-05 12:11:40 +02:00
2024-04-19 07:57:47 +02:00
2025-06-17 21:40:04 +02:00
2024-09-12 09:14:57 +02:00
2024-01-24 09:58:09 +01:00
2025-06-22 21:34:41 +00:00
2025-06-04 06:37:59 +00:00
2025-06-04 06:37:59 +00:00
2025-06-22 21:34:41 +00:00
2025-06-04 06:37:59 +00:00
2025-03-24 20:52:55 +01:00
2025-06-04 06:37:59 +00:00
2025-05-13 21:26:47 +02:00