diff options
author | Andrew Gregory <andrew.gregory.8@gmail.com> | 2014-06-26 11:52:05 -0400 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2014-08-03 18:46:32 +1000 |
commit | bbeced26f6ce167ad93817ebe7180cd22ef33c86 (patch) | |
tree | db4bcc3bf951847ba0a4617e6f083c7aa104ced3 /src/pacman/.gitignore | |
parent | e8de265f8039165dc32ffb78f6a6a5eb0c1514ad (diff) |
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 'src/pacman/.gitignore')
0 files changed, 0 insertions, 0 deletions