Kill all remaining 'PATH_MAX + 1' usages
commite826c143d3e9d21485f72c5490b2a907c936024e
authorDan McGee <dan@archlinux.org>
Thu, 9 Jun 2011 18:41:08 +0000 (9 13:41 -0500)
committerDan McGee <dan@archlinux.org>
Thu, 9 Jun 2011 19:16:55 +0000 (9 14:16 -0500)
treeca08e8327d7431d8ce97e6a3420def97a4f57620
parent9d6568da0f55fb05ea5c28e06efb51046fd270bf
Kill all remaining 'PATH_MAX + 1' usages

The few remaining instances were utilized for buffers in calls to
snprintf() and realpath(). Both of these functions will always ensure
the returned value is padded with '\0', so there is no need for the
extra byte.

Signed-off-by: Dan McGee <dan@archlinux.org>
lib/libalpm/add.c
lib/libalpm/conflict.c
lib/libalpm/handle.c
lib/libalpm/remove.c
src/pacman/conf.c
src/pacman/query.c