Files
glib/gio/tests
Philip Withnall 4937534257 glocalfileoutputstream: Fix error handling for a corner case
If asked to replace a file (i.e. effectively delete and re-create it)
which is a symlink, in a read-only directory, the code would end up
trying to do operations on an invalid `fd`. This was masked when asked
to create a backup, as creating the backup in the read-only
directory would error out just in time.

Make the code a bit more robust in this situation, and add some unit
tests.

Spotted by scan-build.

Signed-off-by: Philip Withnall <pwithnall@gnome.org>
2025-10-27 21:33:54 +00:00
..
2025-09-03 21:47:11 +02:00
2025-09-03 21:47:11 +02:00
2025-09-03 21:47:11 +02:00
2025-09-03 21:47:11 +02:00
2025-09-03 21:47:11 +02:00
2025-09-03 21:47:11 +02:00
2025-09-03 21:47:11 +02:00