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:
Tor Lillqvist
2000-11-11 13:46:15 +00:00
committed by Tor Lillqvist
parent 40cfd305c2
commit 4f76917c6a
21 changed files with 161 additions and 18 deletions

View File

@@ -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;