[GLLUG] ~ or $HOME ?

Chris Vine chris at cvine.freeserve.co.uk
Mon Mar 17 13:44:58 UTC 2014


On Mon, 17 Mar 2014 12:32:30 +0000
Alain Williams <addw at phcomp.co.uk> wrote:
> On Mon, Mar 17, 2014 at 12:18:39PM +0000, Dimitrios Siganos wrote:
> 
> > The man page of getpwuid says you should $HOME.
> 
> Ah, many thanks for pointing out what I did not notice.
 
glib has also recently migrated to $HOME in preference to the password
file:
https://developer.gnome.org/glib/stable/glib-Miscellaneous-Utility-Functions.html#g-get-home-dir

Chris




More information about the GLLUG mailing list