-
Notifications
You must be signed in to change notification settings - Fork 183
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
libflash TEMPORARY patch increasing PATH_MAX
- Loading branch information
1 parent
ffa3dbe
commit 758e049
Showing
1 changed file
with
29 additions
and
0 deletions.
There are no files selected for viewing
29 changes: 29 additions & 0 deletions
29
openpower/package/libflash/0001-ffspart-Increase-MAX_LINE-to-above-PATH_MAX.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
|