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). |
||
---|---|---|
.. | ||
libxrdp.c | ||
libxrdp.h | ||
libxrdpinc.h | ||
Makefile.am | ||
xrdp_bitmap32_compress.c | ||
xrdp_bitmap_compress.c | ||
xrdp_caps.c | ||
xrdp_channel.c | ||
xrdp_channel.h | ||
xrdp_fastpath.c | ||
xrdp_iso.c | ||
xrdp_jpeg_compress.c | ||
xrdp_mcs.c | ||
xrdp_mppc_enc.c | ||
xrdp_orders_rail.c | ||
xrdp_orders_rail.h | ||
xrdp_orders.c | ||
xrdp_rdp.c | ||
xrdp_sec.c | ||
xrdp_surface.c |