[vlc-devel] [PATCH] $HOME envvar should be checked before getpwuid()
funman at videolan.org
Mon Oct 15 15:09:48 CEST 2007
-----BEGIN PGP SIGNED MESSAGE-----
Benjamin Cama a écrit :
> VLC behavior concerning where to look for user's home directory is a bit
> broken (it killed my afternoon ...) : it should check $HOME before going
> getpwuid (see man getpwuid). This patch corrects this, checking in this
> order :
> $HOME -> getpwuid() -> $TMP -> /tmp
> (before was getpwuid() -> $HOME -> $TMP -> /tmp)
> It was also not tested ....
> Please CC me for any anwser, as i'm not subscribed.
Note that the english man page doesn't talk about HOME, opposed to the
french man page.
I suppose french man page is a translation of
And the english man page comes from
should be considered as the "official" man page.
But we can consider it's safe to rely on $HOME first before anything else ;)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
-----END PGP SIGNATURE-----
More information about the vlc-devel