1
0
mirror of https://github.com/Interlisp/maiko.git synced 2026-02-28 17:19:20 +00:00
Files
Interlisp.maiko/inc
Nick Briggs 5060cae998 Improves parsing of Unix format file names, updates comments
* Adds a (static inline) helper, parse_file_version() to version parsing code.
  - Removes handling of "filename%" as version 0 (version 0 is not valid)
  - Adds handling of Alto/IFS version "filename!nnn"
  - Improves robustness of version parsing (no integer overflow errors)

* Replaces private FNAMETOOLONG error code with ENAMETOOLONG standard error.

* Replaces tests for "magic numbers" with standard ERRNO values
  (ENOENT, EXDEV) in error case for rename() operations.

* Reduces storage requirement for versions from 16 bytes to 10 bytes to
  match the maximum acceptable version number, "999999999".

* Updates various code comments to be correct and clearer.
2025-07-25 14:27:22 -07:00
..
2025-05-28 14:03:13 -07:00
2023-02-19 10:03:55 -08:00
2022-08-15 16:19:38 -07:00
2024-09-01 16:26:30 -07:00
2021-11-26 19:53:26 -08:00
2024-09-01 16:26:30 -07:00
2023-02-19 10:07:28 -08:00
2021-09-15 10:30:04 -07:00
2021-02-22 09:44:43 -08:00