Ver Fonte

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 há 11 anos atrás
pai
commit
7afaaf76c6
1 ficheiros alterados com 1 adições e 1 exclusões
  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 */