Remove use of PATH_MAX
authorTobias Grosser <tobias@grosser.es>
Thu, 2 Jun 2011 16:29:08 +0000 (13:29 -0300)
committerSven Verdoolaege <skimo@kotnet.org>
Sun, 5 Jun 2011 14:23:47 +0000 (16:23 +0200)
commit4de38ce52e44a0f5343b9cdb12b5d4e97ede3389
tree9a414d9e0e9f8fbb6d6e021f81596b232059a899
parentf64b9d0e63d12291b5f744799ba152a85f328f5e
Remove use of PATH_MAX

Instead of using statically allocated char arrays, allocate the memory for the
paths dynamically. This removes the use of PATH_MAX. PATH_MAX is not part of C99
and also seems to be incorrect on some systems that provide it (In terms of
being defined to a value smaller than the maximal path length a system
supports).

Signed-off-by: Tobias Grosser <tobias@grosser.es>
Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
isl_test.c