Daniel Richard G 1c0c923ad1 Split g_file_open() into _ro() and _rw() variants
Rename g_file_open() to g_file_open_rw(), and add a new g_file_open_ro()
call that wraps the common g_file_open_ex(file, 1, 0, 0, 0) idiom. This
will make the file access mode more explicit in the code.

Change all calls to g_file_open() to the _ro() or _rw() variant as
appropriate, and replace g_file_open_ex(file, 1, 0, 0, 0) with the _ro()
call.

Lastly, add tests for the two new calls to test_os_calls.c (code
courteously provided by matt335672).
2023-05-15 17:38:31 -04:00
..
2023-02-13 14:28:29 +00:00
2021-10-25 16:16:54 +01:00
2022-09-03 02:01:48 +00:00
2023-03-23 18:12:06 +00:00
2022-02-09 10:18:15 +00:00
2023-01-31 09:30:36 +00:00
2022-09-03 02:01:48 +00:00
2022-09-03 02:01:48 +00:00