summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Nocera <hadess@hadess.net>2017-01-23 05:44:35 +0100
committerBastien Nocera <hadess@hadess.net>2017-01-23 14:33:11 +0100
commitbc8361262bf15ce4d13bc7832a25af37fa375294 (patch)
treebb31f84562b188eb07208b016c7eed3e94543179
parentf3585bdfa518fdad16b8caa4b68246ad66d03bd5 (diff)
downloadglib-bc8361262bf15ce4d13bc7832a25af37fa375294.tar.gz
gfileutils: Fix g_mkdtemp*() API docs
Don't refer to g_mkdtemp() when documenting g_mkdtemp_full() and speaking about the function itself, and remove mention of flags in aforementioned g_mkdtemp_full(), as it doesn't have such an argument (but g_mkstemp_full() does). https://bugzilla.gnome.org/show_bug.cgi?id=777493
-rw-r--r--glib/gfileutils.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/glib/gfileutils.c b/glib/gfileutils.c
index 2e9655f0f..c78d2b718 100644
--- a/glib/gfileutils.c
+++ b/glib/gfileutils.c
@@ -1358,7 +1358,7 @@ wrap_g_open (const gchar *filename,
*
* The parameter is a string that should follow the rules for
* mkdtemp() templates, i.e. contain the string "XXXXXX".
- * g_mkdtemp() is slightly more flexible than mkdtemp() in that the
+ * g_mkdtemp_full() is slightly more flexible than mkdtemp() in that the
* sequence does not have to occur at the very end of the template
* and you can pass a @mode. The X string will be modified to form
* the name of a directory that didn't exist. The string should be
@@ -1391,9 +1391,9 @@ g_mkdtemp_full (gchar *tmpl,
* The parameter is a string that should follow the rules for
* mkdtemp() templates, i.e. contain the string "XXXXXX".
* g_mkdtemp() is slightly more flexible than mkdtemp() in that the
- * sequence does not have to occur at the very end of the template
- * and you can pass a @mode and additional @flags. The X string will
- * be modified to form the name of a directory that didn't exist.
+ * sequence does not have to occur at the very end of the template.
+ * The X string will be modified to form the name of a directory that
+ * didn't exist.
* The string should be in the GLib file name encoding. Most importantly,
* on Windows it should be in UTF-8.
*