Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/lib/libalpm/graph.c
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 /lib/libalpm/graph.c
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 'lib/libalpm/graph.c')
0 files changed, 0 insertions, 0 deletions