am a865f6d8: fix mkbootfs for systems that lack PATH_MAX

* commit 'a865f6d85a52d0a77d1aef8d5fb5bece08e3b246':
  fix mkbootfs for systems that lack PATH_MAX
This commit is contained in:
Doug Zongker 2012-05-04 17:00:01 -07:00 committed by Android Git Automerger
commit f3772351e7

View file

@ -44,7 +44,11 @@ static struct fs_config_entry* canned_config = NULL;
/* Each line in the canned file should be a path plus three ints (uid,
* gid, mode). */
#ifdef PATH_MAX
#define CANNED_LINE_LENGTH (PATH_MAX+100)
#else
#define CANNED_LINE_LENGTH (1024)
#endif
static int verbose = 0;
static int total_size = 0;