diff options
author | Dan McGee <dan@archlinux.org> | 2007-11-04 18:02:25 -0600 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2007-11-04 18:02:25 -0600 |
commit | b55abdce7aebb142ce79da3aa3645afe7693a3c4 (patch) | |
tree | a19e1595cb92d4a3571a88acd76ad564fea0aead /lib/libalpm/package.c | |
parent | 99f42d6bd2116b0bd8f75394fe92255ca1f4c80b (diff) |
libalpm: use an lstat wrapper so we never dereference dir symlinks
Linux lstat follows POSIX standards and dereferences a symlink pointing
to a directory if there is a trailing slash. For purposes of libalpm, we
don't want this so make a lstat wrapper that suppresses this behavior.
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'lib/libalpm/package.c')
0 files changed, 0 insertions, 0 deletions