1c0c923ad1
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). |
||
---|---|---|
.. | ||
Makefile.am | ||
sesman_access.c | ||
sesman_access.h | ||
sesman_auth.h | ||
sesman_clip_restrict.c | ||
sesman_clip_restrict.h | ||
sesman_config.c | ||
sesman_config.h | ||
verify_user_bsd.c | ||
verify_user_kerberos.c | ||
verify_user_pam_userpass.c | ||
verify_user_pam.c | ||
verify_user.c |