Browse Source

Merge pull request #589 from mslehto/UNIX_PATH_MAX

lib/binrpc modules/ctl utils/kamcmd : set UNIX_PATH_MAX to lowest common value
Daniel-Constantin Mierla 9 years ago
parent
commit
e9c25dac94
3 changed files with 3 additions and 3 deletions
  1. 1 1
      lib/binrpc/binrpc_api.c
  2. 1 1
      modules/ctl/init_socks.c
  3. 1 1
      utils/kamcmd/kamcmd.c

+ 1 - 1
lib/binrpc/binrpc_api.c

@@ -53,7 +53,7 @@
 #define binrpc_free internal_free
 #define binrpc_free internal_free
 
 
 #ifndef UNIX_PATH_MAX
 #ifndef UNIX_PATH_MAX
-#define UNIX_PATH_MAX 108
+#define UNIX_PATH_MAX 104
 #endif
 #endif
 
 
 #ifndef INT2STR_MAX_LEN
 #ifndef INT2STR_MAX_LEN

+ 1 - 1
modules/ctl/init_socks.c

@@ -37,7 +37,7 @@
 #include <fcntl.h>
 #include <fcntl.h>
 
 
 #ifndef UNIX_PATH_MAX
 #ifndef UNIX_PATH_MAX
-#define UNIX_PATH_MAX 108
+#define UNIX_PATH_MAX 104
 #endif
 #endif
 
 
 
 

+ 1 - 1
utils/kamcmd/kamcmd.c

@@ -82,7 +82,7 @@
 
 
 
 
 #ifndef UNIX_PATH_MAX
 #ifndef UNIX_PATH_MAX
-#define UNIX_PATH_MAX 100
+#define UNIX_PATH_MAX 104
 #endif
 #endif
 
 
 static char id[]="$Id$";
 static char id[]="$Id$";