Skip to content

Fix docs for glnx_file_replace_contents()

Owen Taylor requested to merge otaylor/libglnx:replace-contents-umask into master

The docs for glnx_file_replace_contents[_with_perms] say that the default mode is 0666 - umask, but it's actually 0644. Because there's no thread-safe way of finding out the current umask without grubbing around in /proc/self/status, simply make the docs reflect reality.

Merge request reports