Hello 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 <[email protected]>
Gerrit-Reviewer: Ruben Undheim <[email protected]>
Gerrit-MessageType: newchange

Reply via email to