فهرست منبع

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 */