[vlc-devel] [PATCH] $HOME envvar should be checked before getpwuid()

Benjamin Cama benoar at free.fr
Tue Oct 9 23:38:58 CEST 2007


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.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: vlc_home_env_before_getpwuid.patch
Type: text/x-patch
Size: 1038 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20071009/90a2ce53/attachment.bin>

More information about the vlc-devel mailing list