mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-12 13:49:22 +01:00
Clarify the relation of g_get_home_dir() and $HOME.
This commit is contained in:
parent
6ec4724399
commit
ea01de53fe
@ -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>
|
||||
|
||||
* 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>
|
||||
|
||||
* 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>
|
||||
|
||||
* 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>
|
||||
|
||||
* 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>
|
||||
|
||||
* 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>
|
||||
|
||||
* glib/glib-sections.txt: Add g_strv_length().
|
||||
|
@ -125,7 +125,12 @@ returned.
|
||||
|
||||
<!-- ##### FUNCTION g_get_home_dir ##### -->
|
||||
<para>
|
||||
Gets the current user's home directory.
|
||||
Gets the current user's home directory.
|
||||
</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.
|
||||
|
@ -1165,12 +1165,6 @@ g_get_real_name (void)
|
||||
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_get_home_dir (void)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user