Re: g_get_home_dir (), ${HOME}, and getpwuid ()->pw_dir



On Thu, 2012-09-27 at 13:34 +0200, Bastien Nocera wrote:
> What's the TL;DR?
> 
> I don't understand what you expect GLib to do vs. what it does now.

First two sections of the email explain it:

>  Abstract
>   It's suggested that g_get_home_dir () be changed to follow the
>   usual Unix convention of using ${HOME} as the user's home
>   directory
>
>  Status quo
>   The g_get_home_dir () description reads [1]:
>   Gets the current user's home directory as defined in the password
>   database.
>   Note that in contrast to traditional UNIX tools, this function
>   prefers passwd entries over the HOME environment variable.

andre
-- 
mailto:ak-47 gmx net
http://blogs.gnome.org/aklapper



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]