diff options
author | Christian Grothoff <christian@grothoff.org> | 2015-11-16 07:47:10 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2015-11-16 07:47:10 +0000 |
commit | 3c991a5dde3bf6975d5c6ede083a1ec2a657fdcb (patch) | |
tree | b3c264efce5bed71790481ded38d929523ea0cc6 /src/arm | |
parent | aa6616d2e504bddaf27a03338a97f98bb3e00d8c (diff) | |
download | gnunet-3c991a5dde3bf6975d5c6ede083a1ec2a657fdcb.tar.gz gnunet-3c991a5dde3bf6975d5c6ede083a1ec2a657fdcb.zip |
more PATH_MAX issues (#4054)
Diffstat (limited to 'src/arm')
-rw-r--r-- | src/arm/test_exponential_backoff.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/arm/test_exponential_backoff.c b/src/arm/test_exponential_backoff.c index d6969445c..6437490fb 100644 --- a/src/arm/test_exponential_backoff.c +++ b/src/arm/test_exponential_backoff.c | |||
@@ -402,6 +402,14 @@ check () | |||
402 | } | 402 | } |
403 | 403 | ||
404 | 404 | ||
405 | #ifndef PATH_MAX | ||
406 | /** | ||
407 | * Assumed maximum path length (for the log file name). | ||
408 | */ | ||
409 | #define PATH_MAX 4096 | ||
410 | #endif | ||
411 | |||
412 | |||
405 | static int | 413 | static int |
406 | init () | 414 | init () |
407 | { | 415 | { |