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
2025-03-24 20:52:55 +01:00
2022-04-17 16:06:22 +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
2020-04-02 22:58:16 +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-05-13 21:26:47 +02:00
2025-05-13 21:26:47 +02: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
2022-04-17 16:06:22 +02:00
2025-06-04 06:37:59 +00:00
2025-06-04 06:37:59 +00:00
2025-01-01 14:32:07 +01:00
2022-08-28 22:37:33 +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
2025-06-04 06:37:59 +00:00
2024-12-09 18:37:02 +01:00
2025-07-05 12:11:40 +02:00
2025-06-17 21:40:04 +02:00
2024-09-12 09:14:57 +02: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