diff options
author | Christian Grothoff <christian@grothoff.org> | 2019-02-17 15:07:24 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2019-02-17 15:07:24 +0100 |
commit | 91b0d53f8835bd274997eddb28b74ebc5ef00340 (patch) | |
tree | a26ce549c872db5d9a31d5756a2bf657de739a75 /src/datacache | |
parent | f902ec42f6e2703c11a0cad9d19237c4bced8b3e (diff) | |
download | gnunet-91b0d53f8835bd274997eddb28b74ebc5ef00340.tar.gz gnunet-91b0d53f8835bd274997eddb28b74ebc5ef00340.zip |
filenames can exceed 128 bytes, even in testcases
Diffstat (limited to 'src/datacache')
-rw-r--r-- | src/datacache/perf_datacache.c | 4 | ||||
-rw-r--r-- | src/datacache/test_datacache.c | 4 | ||||
-rw-r--r-- | src/datacache/test_datacache_quota.c | 4 |
3 files changed, 6 insertions, 6 deletions
diff --git a/src/datacache/perf_datacache.c b/src/datacache/perf_datacache.c index f33e62bae..4381171c5 100644 --- a/src/datacache/perf_datacache.c +++ b/src/datacache/perf_datacache.c | |||
@@ -11,7 +11,7 @@ | |||
11 | WITHOUT ANY WARRANTY; without even the implied warranty of | 11 | WITHOUT ANY WARRANTY; without even the implied warranty of |
12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
13 | Affero General Public License for more details. | 13 | Affero General Public License for more details. |
14 | 14 | ||
15 | You should have received a copy of the GNU Affero General Public License | 15 | You should have received a copy of the GNU Affero General Public License |
16 | along with this program. If not, see <http://www.gnu.org/licenses/>. | 16 | along with this program. If not, see <http://www.gnu.org/licenses/>. |
17 | 17 | ||
@@ -132,7 +132,7 @@ FAILURE: | |||
132 | int | 132 | int |
133 | main (int argc, char *argv[]) | 133 | main (int argc, char *argv[]) |
134 | { | 134 | { |
135 | char cfg_name[128]; | 135 | char cfg_name[PATH_MAX]; |
136 | char *const xargv[] = { | 136 | char *const xargv[] = { |
137 | "perf-datacache", | 137 | "perf-datacache", |
138 | "-c", | 138 | "-c", |
diff --git a/src/datacache/test_datacache.c b/src/datacache/test_datacache.c index e647ae833..d62a31c27 100644 --- a/src/datacache/test_datacache.c +++ b/src/datacache/test_datacache.c | |||
@@ -11,7 +11,7 @@ | |||
11 | WITHOUT ANY WARRANTY; without even the implied warranty of | 11 | WITHOUT ANY WARRANTY; without even the implied warranty of |
12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
13 | Affero General Public License for more details. | 13 | Affero General Public License for more details. |
14 | 14 | ||
15 | You should have received a copy of the GNU Affero General Public License | 15 | You should have received a copy of the GNU Affero General Public License |
16 | along with this program. If not, see <http://www.gnu.org/licenses/>. | 16 | along with this program. If not, see <http://www.gnu.org/licenses/>. |
17 | 17 | ||
@@ -155,7 +155,7 @@ FAILURE: | |||
155 | int | 155 | int |
156 | main (int argc, char *argv[]) | 156 | main (int argc, char *argv[]) |
157 | { | 157 | { |
158 | char cfg_name[128]; | 158 | char cfg_name[PATH_MAX]; |
159 | char *const xargv[] = { | 159 | char *const xargv[] = { |
160 | "test-datacache", | 160 | "test-datacache", |
161 | "-c", | 161 | "-c", |
diff --git a/src/datacache/test_datacache_quota.c b/src/datacache/test_datacache_quota.c index 117d8be4e..7c4e56ea5 100644 --- a/src/datacache/test_datacache_quota.c +++ b/src/datacache/test_datacache_quota.c | |||
@@ -11,7 +11,7 @@ | |||
11 | WITHOUT ANY WARRANTY; without even the implied warranty of | 11 | WITHOUT ANY WARRANTY; without even the implied warranty of |
12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
13 | Affero General Public License for more details. | 13 | Affero General Public License for more details. |
14 | 14 | ||
15 | You should have received a copy of the GNU Affero General Public License | 15 | You should have received a copy of the GNU Affero General Public License |
16 | along with this program. If not, see <http://www.gnu.org/licenses/>. | 16 | along with this program. If not, see <http://www.gnu.org/licenses/>. |
17 | 17 | ||
@@ -123,7 +123,7 @@ int | |||
123 | main (int argc, | 123 | main (int argc, |
124 | char *argv[]) | 124 | char *argv[]) |
125 | { | 125 | { |
126 | char cfg_name[128]; | 126 | char cfg_name[PATH_MAX]; |
127 | char *const xargv[] = { | 127 | char *const xargv[] = { |
128 | "test-datacache-quota", | 128 | "test-datacache-quota", |
129 | "-c", | 129 | "-c", |