Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f3772351 authored by Doug Zongker's avatar Doug Zongker Committed by Android Git Automerger
Browse files

am a865f6d8: fix mkbootfs for systems that lack PATH_MAX

* commit 'a865f6d8':
  fix mkbootfs for systems that lack PATH_MAX
parents 4d755a1b a865f6d8
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -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;