Skip to content

Commit 758e049

Browse files
committed
libflash TEMPORARY patch increasing PATH_MAX
1 parent ffa3dbe commit 758e049

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
From 11c256c70355e4aa12c7a993c43d602aeb46dee0 Mon Sep 17 00:00:00 2001
2+
From: Stewart Smith <[email protected]>
3+
Date: Mon, 3 Dec 2018 11:19:02 +1100
4+
Subject: [PATCH] ffspart: Increase MAX_LINE to above PATH_MAX
5+
6+
Otherwise we saw failures in CI and the ~221 character paths Jankins
7+
likes to have.
8+
9+
Signed-off-by: Stewart Smith <[email protected]>
10+
---
11+
external/ffspart/ffspart.c | 2 +-
12+
1 file changed, 1 insertion(+), 1 deletion(-)
13+
14+
diff --git a/external/ffspart/ffspart.c b/external/ffspart/ffspart.c
15+
index 179ed582170b..eeee0d4d657b 100644
16+
--- a/external/ffspart/ffspart.c
17+
+++ b/external/ffspart/ffspart.c
18+
@@ -50,7 +50,7 @@
19+
* Plus \n 40
20+
* Lets do 50.
21+
*/
22+
-#define MAX_LINE 255
23+
+#define MAX_LINE (PATH_MAX+255)
24+
#define MAX_TOCS 10
25+
#define SEPARATOR ','
26+
27+
--
28+
2.19.2
29+

0 commit comments

Comments
 (0)