diff options
author | Tor Lillqvist <tml@novell.com> | 2007-04-26 23:24:06 +0000 |
---|---|---|
committer | Tor Lillqvist <tml@src.gnome.org> | 2007-04-26 23:24:06 +0000 |
commit | 5153ea94b0cf46821d28e0c11b3e14b5b9eee888 (patch) | |
tree | 548842a3b4ab8eacb57cc08302b1706f8986866d /glib/gstdio.c | |
parent | b20bb4bb6866d697a0f518a6b8289e2aee0ab10c (diff) | |
download | glib-5153ea94b0cf46821d28e0c11b3e14b5b9eee888.tar.gz |
Document that the mode argument is ignored on Windows (g_stat): Document
2007-04-27 Tor Lillqvist <tml@novell.com>
* glib/gstdio.c (g_mkdir): Document that the mode argument is
ignored on Windows
(g_stat): Document that st_mode is mostly useless on Windows.
svn path=/trunk/; revision=5463
Diffstat (limited to 'glib/gstdio.c')
-rw-r--r-- | glib/gstdio.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/glib/gstdio.c b/glib/gstdio.c index a9dc98b99..f76e6aaa0 100644 --- a/glib/gstdio.c +++ b/glib/gstdio.c @@ -316,6 +316,7 @@ g_rename (const gchar *oldfilename, * * A wrapper for the POSIX mkdir() function. The mkdir() function * attempts to create a directory with the given name and permissions. + * The mode argument is ignored on Windows. * * See the C library manual for more details about mkdir(). * @@ -396,8 +397,11 @@ g_chdir (const gchar *path) * @buf: a pointer to a <structname>stat</structname> struct, which * will be filled with the file information * - * A wrapper for the POSIX stat() function. The stat() function - * returns information about a file. + * A wrapper for the POSIX stat() function. The stat() function + * returns information about a file. On Windows the stat() function in + * the C library checks only the READONLY attribute and does not look + * at the ACL at all. Thus the protection bits in the st_mode field + * are a fabrication of little use. * * See the C library manual for more details about stat(). * |