This is merely a historical archive of years 2008-2021, before the migration to mailman3.
A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.
Hoernchen gerrit-no-reply at lists.osmocom.orgHello Ruben Undheim,
I'd like you to do a code review. Please visit
https://gerrit.osmocom.org/c/libosmocore/+/14797
to review the following change.
Change subject: MAXPATHLEN set if not defined
......................................................................
MAXPATHLEN set if not defined
Change-Id: I1dce8ace228814b5a7246a00b31309ab9461d266
---
M src/vty/command.c
M src/vty/vty.c
2 files changed, 10 insertions(+), 0 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/libosmocore refs/changes/97/14797/1
diff --git a/src/vty/command.c b/src/vty/command.c
index 454a10c..35169eb 100644
--- a/src/vty/command.c
+++ b/src/vty/command.c
@@ -47,6 +47,11 @@
#include <osmocom/core/talloc.h>
#include <osmocom/core/utils.h>
+#ifndef MAXPATHLEN
+ #define MAXPATHLEN 4096
+#endif
+
+
/*! \addtogroup command
* @{
* VTY command handling
diff --git a/src/vty/vty.c b/src/vty/vty.c
index 98b332d..9a998eb 100644
--- a/src/vty/vty.c
+++ b/src/vty/vty.c
@@ -67,6 +67,11 @@
#include <osmocom/vty/buffer.h>
#include <osmocom/core/talloc.h>
+#ifndef MAXPATHLEN
+ #define MAXPATHLEN 4096
+#endif
+
+
/* \addtogroup vty
* @{
* \file vty.c */
--
To view, visit https://gerrit.osmocom.org/c/libosmocore/+/14797
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Change-Id: I1dce8ace228814b5a7246a00b31309ab9461d266
Gerrit-Change-Number: 14797
Gerrit-PatchSet: 1
Gerrit-Owner: Hoernchen <ewild at sysmocom.de>
Gerrit-Reviewer: Ruben Undheim <ruben.undheim at gmail.com>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20190716/5e3e6721/attachment.htm>