Skip to content

Commit

Permalink
libflash TEMPORARY patch increasing PATH_MAX
Browse files Browse the repository at this point in the history
  • Loading branch information
stewartsmith committed Dec 3, 2018
1 parent ffa3dbe commit 758e049
Showing 1 changed file with 29 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
From 11c256c70355e4aa12c7a993c43d602aeb46dee0 Mon Sep 17 00:00:00 2001
From: Stewart Smith <[email protected]>
Date: Mon, 3 Dec 2018 11:19:02 +1100
Subject: [PATCH] ffspart: Increase MAX_LINE to above PATH_MAX

Otherwise we saw failures in CI and the ~221 character paths Jankins
likes to have.

Signed-off-by: Stewart Smith <[email protected]>
---
external/ffspart/ffspart.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/external/ffspart/ffspart.c b/external/ffspart/ffspart.c
index 179ed582170b..eeee0d4d657b 100644
--- a/external/ffspart/ffspart.c
+++ b/external/ffspart/ffspart.c
@@ -50,7 +50,7 @@
* Plus \n 40
* Lets do 50.
*/
-#define MAX_LINE 255
+#define MAX_LINE (PATH_MAX+255)
#define MAX_TOCS 10
#define SEPARATOR ','

--
2.19.2

0 comments on commit 758e049

Please sign in to comment.