Move infrequently used path variables off the stack
commit980b3faea5ecfb54186bf74b2b6d79e0cb7836ea
authorDan McGee <dan@archlinux.org>
Fri, 30 Sep 2011 16:43:11 +0000 (30 11:43 -0500)
committerDan McGee <dan@archlinux.org>
Wed, 12 Oct 2011 19:01:25 +0000 (12 14:01 -0500)
tree390c2df67065d1536bcdff053b0aa9f260a773de
parent027a8a326073a257bc90a2e16e9b6e9301b36580
Move infrequently used path variables off the stack

These backup-related paths in package extraction are used on relatively
few files during the install process, so bump them off the stack and
into the heap. This removes the artificial PATH_MAX limitation on their
length as well.

Signed-off-by: Dan McGee <dan@archlinux.org>
lib/libalpm/add.c