Skip to content
Snippets Groups Projects
  • Owen W. Taylor's avatar
    c2dbe181
    Fix docs for glnx_file_replace_contents() · c2dbe181
    Owen W. Taylor authored
    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.
    c2dbe181
    History
    Fix docs for glnx_file_replace_contents()
    Owen W. Taylor authored
    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.