Emmanuel Gil Peyrot
677025966b
tests: Call open() with the right flag
...
Build failed on the latest glibc (I think?), which caused this weird error:
/usr/include/bits/fcntl2.h:50:11: error: call to ‘__open_missing_mode’ declared with attribute error: open with O_CREAT or O_TMPFILE in second argument needs 3 arguments
In these three calls, open() was being called with 'r' flag, whose hex value is
0x72, and happens to set the O_CREAT flag (0x40) which was causing this error.
The correct flag to pass is O_RDONLY.
This issue exists since the creation of that file, I’m surprised it was working
previously.
Signed-off-by: Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
2024-04-16 06:37:23 +00:00
..
2023-04-27 10:37:38 +00:00
2022-06-30 09:08:32 +00:00
2024-02-22 14:26:32 +00:00
2024-03-26 11:23:26 +00:00
2024-02-22 14:26:32 +00:00
2024-02-22 14:26:32 +00:00
2023-04-27 10:37:38 +00:00
2023-04-27 10:37:38 +00:00
2024-03-26 11:23:26 +00:00
2023-06-29 11:08:40 +00:00
2024-04-16 06:37:23 +00:00
2024-02-23 16:46:39 +02:00
2023-01-18 14:16:41 +01:00
2022-07-05 10:15:49 +01:00
2024-02-22 14:26:32 +00:00
2022-07-19 14:12:37 +00:00
2024-02-22 14:26:32 +00:00
2021-11-25 10:47:45 -03:00
2023-01-25 17:55:39 +00:00
2024-02-12 14:10:44 +00:00
2024-02-22 14:26:32 +00:00
2022-06-16 08:52:12 +00:00
2019-11-22 12:54:10 +02:00
2018-02-20 10:20:29 +02:00
2024-02-22 14:26:32 +00:00
2023-05-30 11:05:14 +00:00
2023-12-18 15:34:26 +00:00
2023-04-19 09:38:09 +03:00
2023-12-18 15:34:26 +00:00
2021-06-16 14:41:08 +00:00
2016-06-29 11:32:23 +03:00
2024-02-22 14:26:32 +00:00
2024-02-12 14:10:44 +00:00
2024-02-12 14:10:44 +00:00
2022-06-03 10:22:25 +00:00
2024-02-22 14:26:32 +00:00
2022-05-31 12:26:09 +00:00
2023-06-12 16:55:22 -05:00
2024-04-09 17:29:00 +03:00
2023-01-18 14:16:41 +01:00
2024-02-22 14:26:32 +00:00
2023-01-18 14:16:41 +01:00
2024-02-22 14:26:32 +00:00
2024-02-22 14:26:32 +00:00
2023-12-18 15:34:26 +00:00
2024-02-22 14:26:32 +00:00
2024-02-22 14:26:32 +00:00
2024-02-22 14:26:32 +00:00
2024-02-22 14:26:32 +00:00
2023-12-04 11:37:17 +02:00
2023-12-04 11:37:17 +02:00
2015-06-15 13:04:19 -07:00
2024-02-22 14:26:32 +00:00
2017-01-23 14:12:06 +02:00
2024-02-22 14:26:32 +00:00
2024-02-22 14:26:32 +00:00
2023-12-18 15:34:26 +00:00
2023-12-18 15:34:26 +00:00
2023-12-18 15:34:26 +00:00
2024-02-22 14:26:32 +00:00
2019-10-04 16:04:48 +03:00
2024-02-22 14:26:32 +00:00
2024-02-06 09:21:11 +00:00
2024-02-22 14:26:32 +00:00
2024-02-22 14:26:32 +00:00
2024-02-22 14:26:32 +00:00
2024-02-22 14:26:32 +00:00
2023-12-18 15:34:26 +00:00
2024-02-22 14:26:32 +00:00
2024-02-22 14:26:32 +00:00
2024-02-12 14:10:44 +00:00
2024-02-12 14:10:44 +00:00
2023-12-18 15:34:26 +00:00
2023-06-30 11:42:00 +00:00
2024-04-11 10:06:56 -05:00
2023-03-03 08:30:46 +00:00
2023-06-19 21:32:47 +01:00
2024-02-22 14:26:32 +00:00