mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-07 09:53:39 +02:00
Clarify the relation of g_get_home_dir() and $HOME.
This commit is contained in:
@@ -1,3 +1,7 @@
|
|||||||
|
2004-09-09 Matthias Clasen <mclasen@redhat.com>
|
||||||
|
|
||||||
|
* glib/gutils.c (g_get_home_dir): Remove a misleading comment.
|
||||||
|
|
||||||
Thu Sep 9 00:10:40 2004 Matthias Clasen <maclas@gmx.de>
|
Thu Sep 9 00:10:40 2004 Matthias Clasen <maclas@gmx.de>
|
||||||
|
|
||||||
* glib/gstrfuncs.h:
|
* glib/gstrfuncs.h:
|
||||||
|
@@ -1,3 +1,7 @@
|
|||||||
|
2004-09-09 Matthias Clasen <mclasen@redhat.com>
|
||||||
|
|
||||||
|
* glib/gutils.c (g_get_home_dir): Remove a misleading comment.
|
||||||
|
|
||||||
Thu Sep 9 00:10:40 2004 Matthias Clasen <maclas@gmx.de>
|
Thu Sep 9 00:10:40 2004 Matthias Clasen <maclas@gmx.de>
|
||||||
|
|
||||||
* glib/gstrfuncs.h:
|
* glib/gstrfuncs.h:
|
||||||
|
@@ -1,3 +1,7 @@
|
|||||||
|
2004-09-09 Matthias Clasen <mclasen@redhat.com>
|
||||||
|
|
||||||
|
* glib/gutils.c (g_get_home_dir): Remove a misleading comment.
|
||||||
|
|
||||||
Thu Sep 9 00:10:40 2004 Matthias Clasen <maclas@gmx.de>
|
Thu Sep 9 00:10:40 2004 Matthias Clasen <maclas@gmx.de>
|
||||||
|
|
||||||
* glib/gstrfuncs.h:
|
* glib/gstrfuncs.h:
|
||||||
|
@@ -1,3 +1,7 @@
|
|||||||
|
2004-09-09 Matthias Clasen <mclasen@redhat.com>
|
||||||
|
|
||||||
|
* glib/gutils.c (g_get_home_dir): Remove a misleading comment.
|
||||||
|
|
||||||
Thu Sep 9 00:10:40 2004 Matthias Clasen <maclas@gmx.de>
|
Thu Sep 9 00:10:40 2004 Matthias Clasen <maclas@gmx.de>
|
||||||
|
|
||||||
* glib/gstrfuncs.h:
|
* glib/gstrfuncs.h:
|
||||||
|
@@ -1,3 +1,7 @@
|
|||||||
|
2004-09-09 Matthias Clasen <mclasen@redhat.com>
|
||||||
|
|
||||||
|
* glib/gutils.c (g_get_home_dir): Remove a misleading comment.
|
||||||
|
|
||||||
Thu Sep 9 00:10:40 2004 Matthias Clasen <maclas@gmx.de>
|
Thu Sep 9 00:10:40 2004 Matthias Clasen <maclas@gmx.de>
|
||||||
|
|
||||||
* glib/gstrfuncs.h:
|
* glib/gstrfuncs.h:
|
||||||
|
@@ -1,3 +1,8 @@
|
|||||||
|
2004-09-09 Matthias Clasen <mclasen@redhat.com>
|
||||||
|
|
||||||
|
* glib/tmpl/misc_utils.sgml: Add a hint about $HOME to the
|
||||||
|
docs of g_get_home_dir().
|
||||||
|
|
||||||
Thu Sep 9 00:11:19 2004 Matthias Clasen <maclas@gmx.de>
|
Thu Sep 9 00:11:19 2004 Matthias Clasen <maclas@gmx.de>
|
||||||
|
|
||||||
* glib/glib-sections.txt: Add g_strv_length().
|
* glib/glib-sections.txt: Add g_strv_length().
|
||||||
|
@@ -127,6 +127,11 @@ returned.
|
|||||||
<para>
|
<para>
|
||||||
Gets the current user's home directory.
|
Gets the current user's home directory.
|
||||||
</para>
|
</para>
|
||||||
|
<para>
|
||||||
|
Note that in contrast to traditional Unix tools, this function
|
||||||
|
prefers <filename>passwd</filename> entries over the <envar>HOME<envar>
|
||||||
|
environment variable.
|
||||||
|
</para>
|
||||||
|
|
||||||
@Returns: the current user's home directory.
|
@Returns: the current user's home directory.
|
||||||
|
|
||||||
|
@@ -1165,12 +1165,6 @@ g_get_real_name (void)
|
|||||||
return g_real_name;
|
return g_real_name;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Return the home directory of the user. If there is a HOME
|
|
||||||
* environment variable, its value is returned, otherwise use some
|
|
||||||
* system-dependent way of finding it out. If no home directory can be
|
|
||||||
* deduced, return NULL.
|
|
||||||
*/
|
|
||||||
|
|
||||||
G_CONST_RETURN gchar*
|
G_CONST_RETURN gchar*
|
||||||
g_get_home_dir (void)
|
g_get_home_dir (void)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user