diff --git a/glib/gfileutils.c b/glib/gfileutils.c index 110c26f43..826c5e242 100644 --- a/glib/gfileutils.c +++ b/glib/gfileutils.c @@ -329,7 +329,7 @@ g_mkdir_with_parents (const gchar *pathname, * } * * // DO THIS INSTEAD - * fd = g_open (filename, O_WRONLY); + * fd = g_open (filename, O_WRONLY | O_NOFOLLOW); * if (fd == -1) * { * // check error