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

@@ -81,7 +81,12 @@ gboolean g_file_get_contents (const gchar *filename,
/* Wrapper / workalike for mkstemp() */
int g_mkstemp (char *tmpl);
int g_mkstemp (char *tmpl);
/* Wrapper for g_mkstemp */
int g_file_open_tmp (const char *template,
char **name_used,
GError **error);
G_END_DECLS