mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-22 08:58:54 +02:00
Improve chance to generate unique names with less effort a bit.
2000-11-11 Tor Lillqvist <tml@iki.fi> * gfileutils.c (g_mkstemp): Improve chance to generate unique names with less effort a bit. * gfileutils.h: Add g_file_open_tmp() declaration. * testglib.c: Include <io.h> on Win32. * makefile.mingw.in: Correct the way to invoke sub-makes. 2000-11-11 Tor Lillqvist <tml@iki.fi> * gtypemodule.c: Include stdlib.h for exit(). * makefile.{mingw,msc}.in (gobject_OBJECTS): Add gtypemodule. * gobject.def: Add new functions.
This commit is contained in:
committed by
Tor Lillqvist
parent
40cfd305c2
commit
4f76917c6a
11
testglib.c
11
testglib.c
@@ -24,13 +24,24 @@
|
||||
* GLib at ftp://ftp.gtk.org/pub/gtk/.
|
||||
*/
|
||||
|
||||
#include "config.h"
|
||||
|
||||
#undef G_LOG_DOMAIN
|
||||
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include <errno.h>
|
||||
|
||||
#include "glib.h"
|
||||
|
||||
#ifdef HAVE_UNISTD_H
|
||||
#include <unistd.h>
|
||||
#endif
|
||||
|
||||
#ifdef G_OS_WIN32
|
||||
#include <io.h> /* For read(), write() etc */
|
||||
#endif
|
||||
|
||||
int array[10000];
|
||||
gboolean failed = FALSE;
|
||||
|
||||
|
Reference in New Issue
Block a user