Skip to content

Commit

Permalink
ffspart: Increase MAX_LINE to above PATH_MAX
Browse files Browse the repository at this point in the history
Otherwise we saw failures in CI and the ~221 character paths Jankins
likes to have.

Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
Reviewed-by: Samuel Mendoza-Jonas <sam@mendozajonas.com>
Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
  • Loading branch information
stewartsmith committed Dec 12, 2018
1 parent 1534ab1 commit 7ac3a77
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion external/ffspart/ffspart.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 ','

Expand Down

0 comments on commit 7ac3a77

Please sign in to comment.