mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-07-06 18:57:01 +02:00
glib/glib.symbols don't macroized g_access, g_chdir, and g_unlink either,
2006-01-04 Manish Singh <yosh@gimp.org> * glib/glib.symbols * glib/gstdio.h: don't macroized g_access, g_chdir, and g_unlink either, since they have the same issue as g_rmdir. (Related to bug #325249)
This commit is contained in:
parent
f2613bf9ed
commit
7be75a123b
@ -1,3 +1,10 @@
|
|||||||
|
2006-01-04 Manish Singh <yosh@gimp.org>
|
||||||
|
|
||||||
|
* glib/glib.symbols
|
||||||
|
* glib/gstdio.h: don't macroized g_access, g_chdir, and g_unlink
|
||||||
|
either, since they have the same issue as g_rmdir. (Related to
|
||||||
|
bug #325249)
|
||||||
|
|
||||||
Wed Jan 4 13:33:25 2006 Tim Janik <timj@gtk.org>
|
Wed Jan 4 13:33:25 2006 Tim Janik <timj@gtk.org>
|
||||||
|
|
||||||
* glib/gslice.c (magazine_cache_pop_magazine): don't reverse chunk
|
* glib/gslice.c (magazine_cache_pop_magazine): don't reverse chunk
|
||||||
|
@ -1,3 +1,10 @@
|
|||||||
|
2006-01-04 Manish Singh <yosh@gimp.org>
|
||||||
|
|
||||||
|
* glib/glib.symbols
|
||||||
|
* glib/gstdio.h: don't macroized g_access, g_chdir, and g_unlink
|
||||||
|
either, since they have the same issue as g_rmdir. (Related to
|
||||||
|
bug #325249)
|
||||||
|
|
||||||
Wed Jan 4 13:33:25 2006 Tim Janik <timj@gtk.org>
|
Wed Jan 4 13:33:25 2006 Tim Janik <timj@gtk.org>
|
||||||
|
|
||||||
* glib/gslice.c (magazine_cache_pop_magazine): don't reverse chunk
|
* glib/gslice.c (magazine_cache_pop_magazine): don't reverse chunk
|
||||||
|
@ -1,3 +1,10 @@
|
|||||||
|
2006-01-04 Manish Singh <yosh@gimp.org>
|
||||||
|
|
||||||
|
* glib/glib.symbols
|
||||||
|
* glib/gstdio.h: don't macroized g_access, g_chdir, and g_unlink
|
||||||
|
either, since they have the same issue as g_rmdir. (Related to
|
||||||
|
bug #325249)
|
||||||
|
|
||||||
Wed Jan 4 13:33:25 2006 Tim Janik <timj@gtk.org>
|
Wed Jan 4 13:33:25 2006 Tim Janik <timj@gtk.org>
|
||||||
|
|
||||||
* glib/gslice.c (magazine_cache_pop_magazine): don't reverse chunk
|
* glib/gslice.c (magazine_cache_pop_magazine): don't reverse chunk
|
||||||
|
@ -921,20 +921,20 @@ g_spawn_sync_utf8
|
|||||||
#if IN_FILE(__G_STDIO_C__)
|
#if IN_FILE(__G_STDIO_C__)
|
||||||
#if !defined(G_OS_UNIX) || defined(G_STDIO_NO_WRAP_ON_UNIX)
|
#if !defined(G_OS_UNIX) || defined(G_STDIO_NO_WRAP_ON_UNIX)
|
||||||
/* gstdio wrappers */
|
/* gstdio wrappers */
|
||||||
g_access
|
|
||||||
g_chmod
|
g_chmod
|
||||||
g_open
|
g_open
|
||||||
g_creat
|
g_creat
|
||||||
g_rename
|
g_rename
|
||||||
g_mkdir
|
g_mkdir
|
||||||
g_chdir
|
|
||||||
g_stat
|
g_stat
|
||||||
g_lstat
|
g_lstat
|
||||||
g_unlink
|
|
||||||
g_remove
|
g_remove
|
||||||
g_fopen
|
g_fopen
|
||||||
g_freopen
|
g_freopen
|
||||||
#endif
|
#endif
|
||||||
|
g_access
|
||||||
|
g_chdir
|
||||||
|
g_unlink
|
||||||
g_rmdir
|
g_rmdir
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
@ -31,24 +31,28 @@ G_BEGIN_DECLS
|
|||||||
|
|
||||||
/* Just pass on to the system functions, so there's no potential for data
|
/* 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 few functions can't be handled in this way, since they are not defined
|
||||||
* a portable system header that we could include here.
|
* in a portable system header that we could include here.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#define g_access access
|
|
||||||
#define g_chmod chmod
|
#define g_chmod chmod
|
||||||
#define g_open open
|
#define g_open open
|
||||||
#define g_creat creat
|
#define g_creat creat
|
||||||
#define g_rename rename
|
#define g_rename rename
|
||||||
#define g_mkdir mkdir
|
#define g_mkdir mkdir
|
||||||
#define g_chdir chdir
|
|
||||||
#define g_stat stat
|
#define g_stat stat
|
||||||
#define g_lstat lstat
|
#define g_lstat lstat
|
||||||
#define g_unlink unlink
|
|
||||||
#define g_remove remove
|
#define g_remove remove
|
||||||
#define g_fopen fopen
|
#define g_fopen fopen
|
||||||
#define g_freopen freopen
|
#define g_freopen freopen
|
||||||
|
|
||||||
|
int g_access (const gchar *filename,
|
||||||
|
int mode);
|
||||||
|
|
||||||
|
int g_chdir (const gchar *path);
|
||||||
|
|
||||||
|
int g_unlink (const gchar *filename);
|
||||||
|
|
||||||
int g_rmdir (const gchar *filename);
|
int g_rmdir (const gchar *filename);
|
||||||
|
|
||||||
#else /* ! G_OS_UNIX */
|
#else /* ! G_OS_UNIX */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user