Nick Briggs
babe728d3a
Improves performance of some file operations, fixes some memory leaks, and increases clarity.
...
* Avoids unnecessary alarm(0) when it is about to be set again, only
cleans up after it’s all done.
* Renames DIRCHAR to LISPDIRCHAR to be more descriptive, adds LISPDIRSTR
for contexts where a string is required rather than a character.
* Avoids leaks of directory structures by ensuring that any opendir()
has a matching closedir(), with a timeout check, on the return path
* Ensures that closedir() calls that could smash errno happen after
errno is saved for Lisp’s consumption
* Simplifies code to take advantage of strlcpy()/strlcat() guarantee
that destination string is NUL terminated
* Reduces number of unnecessary copies into scratch buffer for file name
processing
* Removes some commented out code left over from copy/paste of functions
2025-08-16 18:56:56 -07:00
..
2025-05-28 14:03:13 -07:00
2023-02-17 17:01:27 -08:00
2024-03-07 10:01:19 -08:00
2022-08-15 15:04:07 -07:00
2023-02-17 17:01:27 -08:00
2022-08-13 15:55:11 -07:00
2023-02-17 17:01:27 -08:00
2023-02-17 17:01:27 -08:00
2023-02-17 17:01:27 -08:00
2024-11-07 12:39:55 -08:00
2022-08-13 15:55:11 -07:00
2023-02-17 17:01:27 -08:00
2022-08-13 15:55:11 -07:00
2022-08-15 15:04:07 -07:00
2023-02-17 17:01:27 -08:00
2022-08-15 15:04:07 -07:00
2022-10-05 09:07:17 -07:00
2021-12-09 14:57:45 -08:00
2023-02-26 12:04:47 -08:00
2023-11-17 09:41:37 -08:00
2023-02-17 17:01:27 -08:00
2025-08-16 18:56:56 -07:00
2023-02-19 10:03:55 -08:00
2023-02-17 17:01:27 -08:00
2025-08-16 18:56:56 -07:00
2023-02-17 17:01:27 -08:00
2022-08-15 15:04:07 -07:00
2022-08-15 16:19:38 -07:00
2023-02-17 17:01:27 -08:00
2022-08-15 15:04:07 -07:00
2022-08-15 15:04:07 -07:00
2023-02-17 17:01:27 -08:00
2024-10-14 13:17:26 -07:00
2025-07-19 17:50:55 -07:00
2024-09-01 16:26:30 -07:00
2023-02-17 17:01:27 -08:00
2022-08-15 15:04:07 -07:00
2023-05-05 13:37:25 -07:00
2023-02-17 17:01:27 -08:00
2023-02-17 17:01:27 -08:00
2025-01-30 11:07:29 -08:00
2022-08-15 15:04:07 -07:00
2022-08-15 15:04:07 -07:00
2022-09-01 12:53:24 -07:00
2022-08-15 15:04:07 -07:00
2024-03-19 09:09:36 -07:00
2023-02-17 17:01:27 -08:00
2022-08-15 15:04:07 -07:00
2022-08-14 21:43:48 -07:00
2024-10-14 12:57:02 -07:00
2022-08-10 11:07:57 -07:00
2022-10-05 09:07:17 -07:00
2022-10-05 09:07:17 -07:00
2022-08-15 15:04:07 -07:00
2025-08-16 18:56:55 -07:00
2022-08-15 15:04:07 -07:00
2022-08-15 15:04:07 -07:00
2022-08-13 15:55:11 -07:00
2023-02-17 17:01:27 -08:00
2024-11-05 14:24:36 -08:00
2022-08-15 15:04:07 -07:00
2021-11-26 19:53:26 -08:00
2023-03-09 18:48:35 -08:00
2022-08-15 15:04:07 -07:00
2023-02-17 17:01:27 -08:00
2023-02-17 17:01:27 -08:00
2022-08-15 15:04:07 -07:00
2024-09-01 16:26:30 -07:00
2022-08-10 11:07:57 -07:00
2024-11-05 14:57:00 -08:00
2024-10-22 10:13:00 -07:00
2024-11-06 13:31:46 -08:00
2022-08-15 15:04:07 -07:00
2022-08-15 15:04:07 -07:00
2023-02-17 17:01:27 -08:00
2023-02-19 10:07:28 -08:00
2022-08-15 16:18:37 -07:00
2024-10-14 13:17:26 -07:00
2022-08-15 15:04:07 -07:00
2023-02-17 17:01:27 -08:00
2025-08-16 18:56:56 -07:00
2023-02-17 17:01:27 -08:00
2023-02-17 17:01:27 -08:00
2022-09-01 14:15:35 -07:00
2023-02-17 17:01:27 -08:00
2022-08-15 15:04:07 -07:00
2023-02-17 17:01:27 -08:00
2025-08-16 18:56:55 -07:00
2022-08-15 15:04:07 -07:00
2022-08-15 15:04:07 -07:00
2025-07-10 18:36:55 -07:00
2025-01-16 09:57:01 -08:00
2022-08-15 15:04:07 -07:00
2024-10-15 19:27:13 -07:00
2025-07-26 17:54:17 -07:00
2023-02-17 17:01:27 -08:00
2022-08-10 11:07:57 -07:00
2023-05-01 15:35:01 -07:00
2023-02-17 17:01:27 -08:00
2025-02-12 11:22:08 -08:00
2023-02-17 17:01:27 -08:00
2022-08-15 15:04:07 -07:00