Add doc comments about Windows restrictions on renaming and removing.

2004-12-11  Tor Lillqvist  <tml@iki.fi>

	* glib/gstdio.c (g_rename, g_unlink, g_remove): Add doc comments
	about Windows restrictions on renaming and removing.

	(g_remove): Mimic POSIX remove() on Windows: Try also to rmdir if
	removal as a file fails. Document this.

	* glib/gstdio.h: Clarify comment about file name encoding on
	Windows.
This commit is contained in:
Tor Lillqvist
2004-12-11 22:03:01 +00:00
committed by Tor Lillqvist
parent 7c596218a6
commit 06f371fb58
7 changed files with 81 additions and 13 deletions

View File

@@ -1,5 +1,14 @@
2004-12-11 Tor Lillqvist <tml@iki.fi>
* glib/gstdio.c (g_rename, g_unlink, g_remove): Add doc comments
about Windows restrictions on renaming and removing.
(g_remove): Mimic POSIX remove() on Windows: Try also to rmdir if
removal as a file fails. Document this.
* glib/gstdio.h: Clarify comment about file name encoding on
Windows.
* glib/gspawn-win32.c: Fix #157255. Also some refactoring of this
still very ugly source file.