Explorar o código

plugins/netutils.h - UNIX_MAX_PATH changes

BSDs have hardcoded 104 byte max paths, while slightly limitting this should not pose issues for other flavors of unix\linux
Spenser Reinhardt %!s(int64=11) %!d(string=hai) anos
pai
achega
7afaaf76c6
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      plugins/netutils.h

+ 1 - 1
plugins/netutils.h

@@ -41,7 +41,7 @@
 # include <sys/un.h>
 # ifndef UNIX_PATH_MAX
    /* linux uses this, on sun it's hard-coded at 108 without a define */
-#  define UNIX_PATH_MAX 108
+#  define UNIX_PATH_MAX 104
 # endif /* UNIX_PATH_MAX */
 #endif /* HAVE_SYS_UN_H */