mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-25 19:52:10 +01:00
Merge branch 'wip/smcv/symlink-detection-doc' into 'main'
fileutils: Make some sample code detect symlinks as intended See merge request GNOME/glib!3265
This commit is contained in:
commit
585c7d2db6
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user