Pat Tullmann 2210c4c360 lib/std/posix: test ftruncate via std.fs.File.setEndPos()
Add a test for std.fs.File's `setEndPos` (which is a simple wrapper around
`std.posix.ftruncate`) to exercise some success and failure paths.

Explicitly check that the `ftruncate` length isn't negative when
interpreted as a signed value.  This avoids having to decode overloaded
`EINVAL` errors.

Add errno handling to Windows path to map INVALID_PARAMETER to FileTooBig.

Fixes #22960
2025-03-26 02:57:23 +01:00
..
2025-03-11 14:59:29 +00:00
2025-03-15 12:14:00 +01:00
2024-12-19 17:10:03 -05:00
2025-02-22 14:32:48 -08:00
2025-02-22 22:21:24 -08:00
2024-07-23 11:43:12 -07:00
2025-03-07 22:22:01 +01:00
2025-02-05 13:58:15 +01:00
2024-08-22 08:44:08 +02:00
2025-02-06 14:23:23 -08:00
2025-03-17 21:56:17 +03:30
2025-02-22 14:32:48 -08:00
2024-08-07 00:48:32 -07:00
2024-07-31 16:57:42 -07:00
2024-08-29 23:43:52 +01:00
2025-01-16 20:42:08 -05:00
2025-02-06 14:23:23 -08:00
2025-02-06 14:23:23 -08:00
2025-02-03 09:14:37 +00:00