[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [gnunet] branch master updated: fix 128
From: |
gnunet |
Subject: |
[GNUnet-SVN] [gnunet] branch master updated: fix 128 |
Date: |
Sun, 17 Feb 2019 15:02:54 +0100 |
This is an automated email from the git hooks/post-receive script.
grothoff pushed a commit to branch master
in repository gnunet.
The following commit(s) were added to refs/heads/master by this push:
new f902ec42f fix 128
f902ec42f is described below
commit f902ec42f6e2703c11a0cad9d19237c4bced8b3e
Author: Christian Grothoff <address@hidden>
AuthorDate: Sun Feb 17 15:02:43 2019 +0100
fix 128
---
src/namestore/test_plugin_namestore.c | 12 ++++++++++--
1 file changed, 10 insertions(+), 2 deletions(-)
diff --git a/src/namestore/test_plugin_namestore.c
b/src/namestore/test_plugin_namestore.c
index b9c7fbef9..ff1f83780 100644
--- a/src/namestore/test_plugin_namestore.c
+++ b/src/namestore/test_plugin_namestore.c
@@ -11,7 +11,7 @@
WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Affero General Public License for more details.
-
+
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
@@ -194,11 +194,19 @@ run (void *cls,
}
+#ifndef PATH_MAX
+/**
+ * Assumed maximum path length (for the configuration file name).
+ */
+#define PATH_MAX 4096
+#endif
+
+
int
main (int argc,
char *argv[])
{
- char cfg_name[128];
+ char cfg_name[PATH_MAX];
char *const xargv[] = {
"test-plugin-namestore",
"-c",
--
To stop receiving notification emails like this one, please contact
address@hidden
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] [gnunet] branch master updated: fix 128,
gnunet <=