Skip to content
Snippets Groups Projects
Commit 13e7b4fd authored by Colin Walters's avatar Colin Walters
Browse files

Merge branch 'replace-contents-umask' into 'master'

Fix docs for glnx_file_replace_contents()

See merge request GNOME/libglnx!3
parents 470af876 c2dbe181
Branches
Tags
No related merge requests found
...@@ -1002,8 +1002,7 @@ glnx_file_copy_at (int src_dfd, ...@@ -1002,8 +1002,7 @@ glnx_file_copy_at (int src_dfd,
* contents. This and other behavior can be controlled via @flags. * contents. This and other behavior can be controlled via @flags.
* *
* Note that no metadata from the existing file is preserved, such as * Note that no metadata from the existing file is preserved, such as
* uid/gid or extended attributes. The default mode will be `0666`, * uid/gid or extended attributes. The default mode will be `0644`.
* modified by umask.
*/ */
gboolean gboolean
glnx_file_replace_contents_at (int dfd, glnx_file_replace_contents_at (int dfd,
...@@ -1025,7 +1024,7 @@ glnx_file_replace_contents_at (int dfd, ...@@ -1025,7 +1024,7 @@ glnx_file_replace_contents_at (int dfd,
* @subpath: Subpath * @subpath: Subpath
* @buf: (array len=len) (element-type guint8): File contents * @buf: (array len=len) (element-type guint8): File contents
* @len: Length (if `-1`, assume @buf is `NUL` terminated) * @len: Length (if `-1`, assume @buf is `NUL` terminated)
* @mode: File mode; if `-1`, use `0666 - umask` * @mode: File mode; if `-1`, use `0644`
* @flags: Flags * @flags: Flags
* @cancellable: Cancellable * @cancellable: Cancellable
* @error: Error * @error: Error
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment