Skip to content

gstdio: open files with the FILE_SHARE_DELETE flag

Luca Bacci requested to merge lb90/glib:windows-crt-use-file-share-delete into main

This MR lets us open CRT file descriptors where underlying OS file HANDLEs have the FILE_SHARE_DELETE flag. That makes it possible to:

  • Rename opened files
  • Mark opened files for deletion (which will then happen as soon as all handles are released)

Fixes #539

Edited by Luca Bacci

Merge request reports