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