diff options
author | Colin Walters <walters@verbum.org> | 2018-11-30 21:24:41 +0000 |
---|---|---|
committer | Colin Walters <walters@verbum.org> | 2018-11-30 21:24:41 +0000 |
commit | 13e7b4fdc75da47eaa46bc304bed73c0ca55db11 (patch) | |
tree | 240db46f004ff81e697c90cf1fefa84ea9bc410f | |
parent | 470af8763ff7b99bec950a6ae0a957c1dcfc8edd (diff) | |
parent | c2dbe1811bc5a0176d7df8280625220681a60011 (diff) | |
download | libglnx-13e7b4fdc75da47eaa46bc304bed73c0ca55db11.tar.gz |
Merge branch 'replace-contents-umask' into 'master'
Fix docs for glnx_file_replace_contents()
See merge request GNOME/libglnx!3
-rw-r--r-- | glnx-fdio.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/glnx-fdio.c b/glnx-fdio.c index a1f1903..7b734ff 100644 --- a/glnx-fdio.c +++ b/glnx-fdio.c @@ -1002,8 +1002,7 @@ glnx_file_copy_at (int src_dfd, * contents. This and other behavior can be controlled via @flags. * * Note that no metadata from the existing file is preserved, such as - * uid/gid or extended attributes. The default mode will be `0666`, - * modified by umask. + * uid/gid or extended attributes. The default mode will be `0644`. */ gboolean glnx_file_replace_contents_at (int dfd, @@ -1025,7 +1024,7 @@ glnx_file_replace_contents_at (int dfd, * @subpath: Subpath * @buf: (array len=len) (element-type guint8): File contents * @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 * @cancellable: Cancellable * @error: Error |