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=/branches/glib-2-12/; revision=5462
This commit is contained in:
Tor Lillqvist 2007-04-26 23:22:14 +00:00 committed by Tor Lillqvist
parent 7c5686caba
commit c459ff8aa5
2 changed files with 12 additions and 2 deletions

View File

@ -1,3 +1,9 @@
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.
2007-04-24 Michael Natterer <mitch@imendio.com>
Merge from trunk:

View File

@ -442,6 +442,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().
*
@ -569,7 +570,10 @@ g_chdir (const gchar *path)
* will be filled with the file information
*
* A wrapper for the POSIX stat() function. The stat() function
* returns information about a file.
* 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().
*