summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorAndrew Gregory <andrew.gregory.8@gmail.com>2014-06-26 17:52:05 +0200
committerAllan McRae <allan@archlinux.org>2014-08-03 10:46:32 +0200
commitbbeced26f6ce167ad93817ebe7180cd22ef33c86 (patch)
treedb4bcc3bf951847ba0a4617e6f083c7aa104ced3 /test
parente8de265f8039165dc32ffb78f6a6a5eb0c1514ad (diff)
downloadpacman-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 'test')
0 files changed, 0 insertions, 0 deletions