Andrew Kelley
25c3878c00
std.fs.File.readvAll: fix behavior for 0-length vectors
...
The OS layer expects pointer addresses to be inside the application's
address space even if the length is zero. Meanwhile, in Zig, slices may
have undefined pointer addresses when the length is zero. So this
function now modifies the iov_base fields when the length is zero.
2023-03-15 10:48:14 -07:00
..
2023-02-18 19:17:21 -07:00
2023-03-15 10:48:14 -07:00
2023-01-28 19:05:38 -05:00
2023-02-21 22:06:25 +11:00
2023-03-15 03:50:45 +00:00
2022-05-09 18:51:46 +02:00
2023-02-18 19:17:21 -07:00
2023-02-18 19:17:21 -07:00
2023-03-15 10:48:14 -07:00
2023-02-21 12:09:27 +11:00
2023-03-15 10:48:12 -07:00
2023-03-14 13:07:25 +02:00
2023-01-29 15:07:06 -05:00
2023-02-18 19:17:21 -07:00
2023-03-05 02:59:01 -05:00
2023-02-15 01:43:57 +02:00
2023-02-18 19:17:21 -07:00
2023-02-18 19:17:21 -07:00
2023-03-15 10:48:13 -07:00
2023-02-18 19:17:21 -07:00
2023-02-18 19:17:21 -07:00
2022-11-29 23:30:38 -07:00
2023-03-15 10:48:12 -07:00
2021-12-16 19:08:58 -08:00
2022-01-01 12:47:08 +00:00
2022-12-13 13:14:20 +02:00
2022-08-22 13:55:00 +03:00
2023-03-15 10:48:13 -07:00
2023-02-18 19:17:21 -07:00
2023-03-12 11:02:53 +00:00
2023-02-18 19:17:21 -07:00
2022-11-04 00:09:27 +03:30
2023-02-18 19:17:21 -07:00
2023-02-18 19:17:21 -07:00
2023-02-18 19:17:21 -07:00
2022-05-11 18:41:23 -06:00
2022-03-01 13:28:47 -05:00
2023-03-15 10:48:14 -07:00
2023-02-18 19:17:21 -07:00
2023-03-15 10:48:13 -07:00
2023-03-15 10:48:13 -07:00
2023-02-18 19:17:21 -07:00
2023-02-22 00:11:20 +11:00
2023-02-18 19:17:21 -07:00
2023-03-15 03:50:45 +00:00
2023-01-29 15:07:06 -05:00
2023-03-15 10:48:13 -07:00
2023-02-18 19:17:21 -07:00
2022-12-13 13:14:20 +02:00
2022-11-18 19:22:42 +00:00
2023-02-18 19:17:21 -07:00
2023-03-15 10:48:13 -07:00
2023-03-07 17:45:31 -05:00
2023-03-03 02:37:45 -05:00
2023-02-27 05:37:03 -05:00
2023-02-20 09:09:05 +11:00
2023-03-15 10:48:12 -07:00
2023-03-09 14:55:20 -06:00
2023-01-11 15:39:48 -08:00
2023-03-01 12:21:53 -05:00
2023-02-18 19:17:21 -07:00
2022-12-27 15:13:14 +02:00
2022-09-11 23:18:43 -04:00
2023-01-05 02:31:29 -07:00
2023-01-21 13:18:14 +01:00
2023-01-03 13:30:24 +02:00
2023-03-15 10:48:12 -07:00
2023-02-18 19:17:21 -07:00
2023-03-06 05:58:46 -05:00
2023-03-09 14:55:13 -06:00
2023-02-18 19:17:21 -07:00
2023-03-15 10:48:14 -07:00
2023-02-19 10:10:59 -05:00
2023-02-18 19:17:21 -07:00
2023-02-18 19:17:21 -07:00
2023-02-18 19:17:21 -07:00
2023-03-15 10:48:13 -07:00
2023-03-15 10:48:14 -07:00
2023-02-18 19:17:21 -07:00
2023-02-21 12:58:34 +11:00
2022-12-10 12:33:17 +01:00
2022-12-09 21:57:17 +01:00
2023-02-18 19:17:21 -07:00
2023-02-21 12:28:43 -05:00
2023-01-29 15:04:13 -05:00
2023-02-17 09:08:41 -07:00
2023-03-14 06:40:23 +00:00
2023-02-01 18:42:29 -07:00
2023-03-06 08:09:32 -05:00
2023-02-18 19:17:21 -07:00
2023-03-15 10:48:12 -07:00
2022-11-02 23:20:19 +01:00
2022-04-15 17:01:01 -05:00
2022-06-17 21:04:21 +03:00
2022-12-06 20:38:54 -07:00
2023-03-09 14:55:13 -06:00
2022-11-19 19:32:45 -07:00
2023-02-18 19:17:21 -07:00
2023-03-15 10:48:13 -07:00