diff options
author | Andrew Gregory <andrew.gregory.8@gmail.com> | 2014-06-26 17:52:05 +0200 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2014-08-03 10:46:32 +0200 |
commit | bbeced26f6ce167ad93817ebe7180cd22ef33c86 (patch) | |
tree | db4bcc3bf951847ba0a4617e6f083c7aa104ced3 /lib/libalpm/md5.h | |
parent | e8de265f8039165dc32ffb78f6a6a5eb0c1514ad (diff) | |
download | pacman-bbeced26f6ce167ad93817ebe7180cd22ef33c86.tar.gz pacman-bbeced26f6ce167ad93817ebe7180cd22ef33c86.tar.xz |
llstat: modify path in place
This makes llstat's signature differ from lstat's, but we never actually
use it on a const string and this saves a large number of strdup's.
This also allows stripping multiple trailing slashes and corrects a bug
where calling llstat on "/" would result in calling lstat on an empty
string.
Signed-off-by: Andrew Gregory <andrew.gregory.8@gmail.com>
Diffstat (limited to 'lib/libalpm/md5.h')
0 files changed, 0 insertions, 0 deletions