summaryrefslogtreecommitdiffstats
path: root/acinclude.m4
diff options
context:
space:
mode:
authorDave Reisner <dreisner@archlinux.org>2012-02-15 06:02:40 +0100
committerDan McGee <dan@archlinux.org>2012-02-20 23:52:48 +0100
commitf8892b9d087f5c60de663d107643085deaba727b (patch)
tree92e62c11950ae98b2aca21ed9da8efd65fcde7c8 /acinclude.m4
parent31d95b867919b02774f4a98b25d2f997c2985600 (diff)
downloadpacman-f8892b9d087f5c60de663d107643085deaba727b.tar.gz
pacman-f8892b9d087f5c60de663d107643085deaba727b.tar.xz
util: reduce pointer hell in _alpm_makepath_mode
Simplify the implementation: - allocate and manipulate a copy of the passed in path rather than building out a path as the while loop progresses - use simple pointer arithmetic to skip uninteresting cases - use mkdir(3)'s return value and errno to detect failure Signed-off-by: Dave Reisner <dreisner@archlinux.org> Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'acinclude.m4')
0 files changed, 0 insertions, 0 deletions