summaryrefslogtreecommitdiff
path: root/proto/PKGBUILD.proto
diff options
context:
space:
mode:
authorDave Reisner <dreisner@archlinux.org>2012-02-15 00:02:40 -0500
committerDan McGee <dan@archlinux.org>2012-02-20 16:52:48 -0600
commitf8892b9d087f5c60de663d107643085deaba727b (patch)
tree92e62c11950ae98b2aca21ed9da8efd65fcde7c8 /proto/PKGBUILD.proto
parent31d95b867919b02774f4a98b25d2f997c2985600 (diff)
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 'proto/PKGBUILD.proto')
0 files changed, 0 insertions, 0 deletions