Преглед изворни кода

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 пре 11 година
родитељ
комит
7afaaf76c6
1 измењених фајлова са 1 додато и 1 уклоњено
  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 */