summaryrefslogtreecommitdiffstats
path: root/lib/libalpm/add.c
diff options
context:
space:
mode:
authorAllan McRae <allan@archlinux.org>2012-03-09 17:43:47 +1000
committerDan McGee <dan@archlinux.org>2012-04-07 11:27:39 -0500
commit923214497f1873a5bd1989aad867b629166d89b1 (patch)
treea91b5a5d16ad49eac2edb8280dc24da126f2a39d /lib/libalpm/add.c
parent1917c845f74640262e452b67836b41faca52eb4e (diff)
downloadpacman-923214497f1873a5bd1989aad867b629166d89b1.tar.xz
makepkg: safely change directories
In preparation for the removal of the global error trap we need a way to ensure changing directories succeeds. Add a "cd_safe" wrapper that performs the necessary check. Signed-off-by: Allan McRae <allan@archlinux.org> Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'lib/libalpm/add.c')
0 files changed, 0 insertions, 0 deletions