mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-26 22:16:16 +01:00
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:
parent
8c90d7766b
commit
7c467669cc
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
4
glib.h
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user