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

2012-10-03 Thread Ivan Shmakov
Debarshi Ray rishi...@lostca.se writes: Also to note is that non-GNOME (and even non-desktop) GLib-based applications were seen in the wild. Consider, e. g., the OpenBSD version of the Netcat command-line networking diagnostic tool (as of the version currently in Debian stable [4].)

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

2012-09-29 Thread Ivan Shmakov
Tristan Van Berkom t...@gnome.org writes: […] So... maybe we dont want to change the behavior of an api that dates 10 years back, but we might want to at least correct g_get_user_config/data_dir() at this point ? Given that even back then it was noted that “login sets $HOME

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

2012-09-28 Thread Ivan Shmakov
Stef Walter st...@gnome.org writes: On 09/27/2012 04:48 PM, Ivan Shmakov wrote: $ HOME=/net/home/jrh emacs Moreover, GNU Bash started under such a Emacs instance will also use /net/home/jrh/.bashrc (instead of /home/jrh/.bashrc), and so will GNU Wget, or Lynx, and a sheer variety

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

2012-09-27 Thread Ivan Shmakov
Colin Walters walt...@verbum.org writes: On Thu, 2012-09-27 at 12:42 +0700, Ivan Shmakov wrote: 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

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

2012-09-26 Thread Ivan Shmakov
[This issue is currently being discussed in debian-devel@ [0], and it was suggested to bring it to gtk-devel-list@ as well.] 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