Paul Eggert
3c40470c5d
test: simplify for clarity
...
This should help avoid further audit confusion,
such as was just fixed by removing a FIXME.
* src/test.c (enum binop): New type.
(get_mtime): Return a struct timespec instead of returning
a bool and storing a struct timespec. All callers changed.
(binop): Return an int recording either success (an enum binop)
or failure (-1). All callers changed.
(binary_operator): Accept an enum binop, so that we need
not recompute the op type. All callers changed. Simplify.
2025-07-25 12:27:39 -07:00
..
2025-07-04 20:52:37 -07:00
2025-06-18 14:20:17 +01:00
2025-01-01 09:33:08 +00:00
2025-05-09 15:57:13 -07:00
2025-02-14 13:13:08 -08:00
2025-01-01 09:33:08 +00:00
2025-02-02 22:09:52 -08:00
2023-12-27 19:51:00 +00:00
2023-12-27 19:51:00 +00:00
2025-02-20 12:56:20 +00:00
2025-01-01 09:33:08 +00:00
2025-01-01 09:33:08 +00:00
2023-12-27 19:51:00 +00:00
2025-06-03 23:11:44 +01:00
2025-02-18 20:10:19 -08:00
2025-02-18 20:10:19 -08:00
2025-02-18 20:10:19 -08:00
2025-02-18 20:10:19 -08:00
2025-05-18 09:49:29 +01:00
2025-02-20 12:56:16 +00:00
2025-06-22 11:33:11 +01:00
2025-05-01 14:05:59 +01:00
2025-01-07 17:28:49 +00:00
2025-01-01 09:33:08 +00:00
2025-01-01 09:33:08 +00:00
2025-01-01 09:33:08 +00:00
2025-01-01 09:33:08 +00:00
2025-01-01 09:33:08 +00:00
2025-02-20 12:56:20 +00:00
2022-01-31 12:07:39 -08:00
2025-06-07 18:53:43 +01:00
2025-02-20 12:56:20 +00:00
2025-01-01 09:33:08 +00:00
2025-07-21 21:16:03 +01:00
2025-01-01 09:33:08 +00:00
2025-05-28 12:49:17 -07:00
2025-06-25 09:08:35 +01:00
2025-05-09 15:57:13 -07:00
2025-01-01 09:33:08 +00:00
2025-03-15 12:57:53 +00:00
2025-01-01 09:33:08 +00:00
2025-01-01 09:33:08 +00:00
2025-02-18 20:10:19 -08:00
2025-01-01 09:33:08 +00:00
2025-01-01 09:33:08 +00:00
2025-04-04 21:14:29 +01:00
2025-01-01 09:33:08 +00:00
2025-01-01 09:33:08 +00:00
2025-01-01 09:33:08 +00:00
2025-01-01 09:33:08 +00:00
2025-07-09 22:27:29 -07:00
2005-07-18 07:52:37 +00:00
2025-02-20 12:56:20 +00:00
2025-01-01 09:33:08 +00:00
2025-01-01 09:33:08 +00:00
2025-01-01 09:33:08 +00:00
2025-02-20 12:56:20 +00:00
2021-10-31 22:36:46 -07:00
2025-01-01 09:33:08 +00:00
2025-02-20 12:56:20 +00:00
2025-01-01 09:33:08 +00:00
2025-01-01 09:33:08 +00:00
2025-02-02 22:09:52 -08:00
2025-01-01 09:33:08 +00:00
2025-01-01 09:33:08 +00:00
2025-03-22 12:35:15 +00:00
2025-01-07 17:28:49 +00:00
2025-01-01 09:33:08 +00:00
2025-02-20 12:56:20 +00:00
2023-03-13 21:26:21 +00:00
2025-06-22 11:33:11 +01:00
2025-01-01 09:33:08 +00:00
2025-05-24 13:02:31 -07:00
2025-01-01 09:33:08 +00:00
2025-05-28 12:49:17 -07:00
2025-07-05 22:14:08 +01:00
2025-01-01 09:33:08 +00:00
2025-05-12 01:28:48 -07:00
2025-06-22 11:33:11 +01:00
2012-01-09 21:51:59 +01:00
2025-07-09 17:12:40 -07:00
2025-01-01 09:33:08 +00:00
2025-01-01 09:33:08 +00:00
2025-01-01 09:33:08 +00:00
2025-01-01 09:33:08 +00:00
2025-01-07 17:28:49 +00:00
2025-01-01 09:33:08 +00:00
2025-01-01 09:33:08 +00:00
2025-01-01 09:33:08 +00:00
2025-01-01 09:33:08 +00:00
2025-01-01 09:33:08 +00:00
2024-05-05 17:50:28 +01:00
2025-07-04 10:59:39 -07:00
2025-02-20 12:56:20 +00:00
2025-01-01 09:33:08 +00:00
2025-01-01 09:33:08 +00:00
2025-01-01 09:33:08 +00:00
2025-01-01 09:33:08 +00:00
2025-01-01 09:33:08 +00:00
2025-06-03 23:11:44 +01:00
2025-01-01 09:33:08 +00:00
2025-01-01 09:33:08 +00:00
2025-01-01 09:33:08 +00:00
2025-06-22 11:33:11 +01:00
2025-01-01 09:33:08 +00:00
2025-01-01 09:33:08 +00:00
2025-01-01 09:33:08 +00:00
2025-01-01 09:33:08 +00:00
2025-01-01 09:33:08 +00:00
2025-01-01 09:33:08 +00:00
2025-01-01 09:33:08 +00:00
2025-01-01 09:33:08 +00:00
2025-01-01 09:33:08 +00:00
2025-01-01 09:33:08 +00:00
2025-01-01 09:33:08 +00:00
2025-05-12 01:28:48 -07:00
2025-01-01 09:33:08 +00:00
2025-06-22 11:33:11 +01:00
2025-01-01 09:33:08 +00:00
2025-02-20 12:56:20 +00:00
2024-05-05 17:50:14 +01:00
2025-06-25 09:08:35 +01:00
2025-01-01 09:33:08 +00:00
2025-04-07 00:59:27 -07:00
2025-06-22 11:33:11 +01:00
2025-07-09 17:12:40 -07:00
2025-02-02 22:09:52 -08:00
2025-05-09 15:57:13 -07:00
2025-01-01 09:33:08 +00:00
2025-06-23 13:16:32 +01:00
2025-06-22 17:00:02 +01:00
2025-05-09 15:57:13 -07:00
2023-02-06 13:09:40 +00:00
2025-02-02 22:09:52 -08:00
2025-05-15 09:00:18 -07:00
2025-01-01 09:33:08 +00:00
2025-01-15 17:42:55 +00:00
2025-04-07 00:59:27 -07:00
2025-01-01 09:33:08 +00:00
2025-01-01 09:33:08 +00:00
2023-07-18 23:10:40 +01:00
2025-06-18 14:20:17 +01:00
2025-07-25 12:27:39 -07:00
2025-06-03 23:11:44 +01:00
2025-01-01 09:33:08 +00:00
2025-02-02 22:09:52 -08:00
2025-01-01 09:33:08 +00:00
2025-01-01 09:33:08 +00:00
2025-01-01 09:33:08 +00:00
2025-06-21 10:59:46 +01:00
2007-07-10 19:00:00 +02:00
2007-07-10 19:00:00 +02:00
2025-01-01 09:33:08 +00:00
2012-01-09 21:51:59 +01:00
2025-01-01 09:33:08 +00:00
2025-01-01 09:33:08 +00:00
2025-01-01 09:33:08 +00:00
2025-01-01 09:33:08 +00:00
2025-01-01 09:33:08 +00:00
2025-02-20 12:56:20 +00:00
2025-02-02 22:09:52 -08:00
2023-09-23 17:07:52 -07:00
2025-02-24 15:33:17 +00:00
2025-01-01 09:33:08 +00:00
2025-01-15 22:16:30 +00:00