+2006-01-02 Matthias Clasen <mclasen@redhat.com>
+
+ * glib/glib.symbols:
+ * glib/gstdio.h:
+ * glib/gstdio.c (g_rmdir): Don't provide g_rmdir() as a macro
+ expanding to rmdir, since rmdir is not declared in a portable
+ system header we can include in gstdio.h. (#325249, Jani Monoses)
+
2006-01-01 Tor Lillqvist <tml@novell.com>
* glib/gspawn-win32.c (g_spawn_sync_utf8): Set the GIOChannels for
+2006-01-02 Matthias Clasen <mclasen@redhat.com>
+
+ * glib/glib.symbols:
+ * glib/gstdio.h:
+ * glib/gstdio.c (g_rmdir): Don't provide g_rmdir() as a macro
+ expanding to rmdir, since rmdir is not declared in a portable
+ system header we can include in gstdio.h. (#325249, Jani Monoses)
+
2006-01-01 Tor Lillqvist <tml@novell.com>
* glib/gspawn-win32.c (g_spawn_sync_utf8): Set the GIOChannels for
+2006-01-02 Matthias Clasen <mclasen@redhat.com>
+
+ * glib/glib.symbols:
+ * glib/gstdio.h:
+ * glib/gstdio.c (g_rmdir): Don't provide g_rmdir() as a macro
+ expanding to rmdir, since rmdir is not declared in a portable
+ system header we can include in gstdio.h. (#325249, Jani Monoses)
+
2006-01-01 Tor Lillqvist <tml@novell.com>
* glib/gspawn-win32.c (g_spawn_sync_utf8): Set the GIOChannels for
g_lstat
g_unlink
g_remove
-g_rmdir
g_fopen
g_freopen
#endif
+g_rmdir
#endif
#endif
#if defined(G_OS_UNIX) && !defined(G_STDIO_NO_WRAP_ON_UNIX)
/* Just pass on to the system functions, so there's no potential for data
- * format mismatches, especially with large file interfaces.
+ * format mismatches, especially with large file interfaces.
+ * rmdir() can't be handled in this way, since it is not defined in
+ * a portable system header that we could include here.
*/
#define g_access access
#define g_lstat lstat
#define g_unlink unlink
#define g_remove remove
-#define g_rmdir rmdir
#define g_fopen fopen
#define g_freopen freopen
+int g_rmdir (const gchar *filename);
+
#else /* ! G_OS_UNIX */
/* Wrappers for C library functions that take pathname arguments. On
int g_remove (const gchar *filename);
-int g_rmdir (const gchar *filename);
+int g_rmdir (const gchar *filename);
FILE *g_fopen (const gchar *filename,
const gchar *mode);