Changed comment for g_getenv to reflect, that the returned memory must not

2000-04-18  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>

	* glib.h: Changed comment for g_getenv to reflect, that the
	returned memory must not be freed. Fixes Bug #8983.
This commit is contained in:
Sebastian Wilhelmi 2000-04-18 13:00:35 +00:00 committed by Sebastian Wilhelmi
parent 8c90d7766b
commit 7c467669cc
10 changed files with 46 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2000-04-18 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* glib.h: Changed comment for g_getenv to reflect, that the
returned memory must not be freed. Fixes Bug #8983.
2000-04-17 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* configure.in, acconfig.h: Add configure test for garbage

View File

@ -1,3 +1,8 @@
2000-04-18 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* glib.h: Changed comment for g_getenv to reflect, that the
returned memory must not be freed. Fixes Bug #8983.
2000-04-17 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* configure.in, acconfig.h: Add configure test for garbage

View File

@ -1,3 +1,8 @@
2000-04-18 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* glib.h: Changed comment for g_getenv to reflect, that the
returned memory must not be freed. Fixes Bug #8983.
2000-04-17 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* configure.in, acconfig.h: Add configure test for garbage

View File

@ -1,3 +1,8 @@
2000-04-18 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* glib.h: Changed comment for g_getenv to reflect, that the
returned memory must not be freed. Fixes Bug #8983.
2000-04-17 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* configure.in, acconfig.h: Add configure test for garbage

View File

@ -1,3 +1,8 @@
2000-04-18 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* glib.h: Changed comment for g_getenv to reflect, that the
returned memory must not be freed. Fixes Bug #8983.
2000-04-17 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* configure.in, acconfig.h: Add configure test for garbage

View File

@ -1,3 +1,8 @@
2000-04-18 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* glib.h: Changed comment for g_getenv to reflect, that the
returned memory must not be freed. Fixes Bug #8983.
2000-04-17 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* configure.in, acconfig.h: Add configure test for garbage

View File

@ -1,3 +1,8 @@
2000-04-18 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* glib.h: Changed comment for g_getenv to reflect, that the
returned memory must not be freed. Fixes Bug #8983.
2000-04-17 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* configure.in, acconfig.h: Add configure test for garbage

View File

@ -1,3 +1,8 @@
2000-04-18 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* glib.h: Changed comment for g_getenv to reflect, that the
returned memory must not be freed. Fixes Bug #8983.
2000-04-17 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* configure.in, acconfig.h: Add configure test for garbage

4
glib.h
View File

@ -1685,8 +1685,10 @@ gchar* g_path_skip_root (gchar *file_name);
/* strings are newly allocated with g_malloc() */
gchar* g_dirname (const gchar *file_name);
gchar* g_get_current_dir (void);
gchar* g_getenv (const gchar *variable);
/* return the environment string for the variable. The returned memory
* must not be freed. */
gchar* g_getenv (const gchar *variable);
/* we use a GLib function as a replacement for ATEXIT, so
* the programmer is not required to check the return value

View File

@ -1685,8 +1685,10 @@ gchar* g_path_skip_root (gchar *file_name);
/* strings are newly allocated with g_malloc() */
gchar* g_dirname (const gchar *file_name);
gchar* g_get_current_dir (void);
gchar* g_getenv (const gchar *variable);
/* return the environment string for the variable. The returned memory
* must not be freed. */
gchar* g_getenv (const gchar *variable);
/* we use a GLib function as a replacement for ATEXIT, so
* the programmer is not required to check the return value