From b24eabb7d8b73be9c5f3cac2e5bffbefde32f50a Mon Sep 17 00:00:00 2001 From: Joe Groff Date: Mon, 22 Feb 2010 23:55:52 -0800 Subject: [PATCH] _DARWIN_MAXNAMELEN+1 should actually be _DARWIN_MAXNAMELEN + 1 --- basis/unix/ffi/bsd/macosx/macosx.factor | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/basis/unix/ffi/bsd/macosx/macosx.factor b/basis/unix/ffi/bsd/macosx/macosx.factor index a2e75b6ca6..a7c47f0ff8 100644 --- a/basis/unix/ffi/bsd/macosx/macosx.factor +++ b/basis/unix/ffi/bsd/macosx/macosx.factor @@ -32,7 +32,7 @@ STRUCT: utmpx CONSTANT: __DARWIN_MAXPATHLEN 1024 CONSTANT: __DARWIN_MAXNAMELEN 255 -CONSTANT: __DARWIN_MAXNAMELEN+1 255 +CONSTANT: __DARWIN_MAXNAMELEN+1 256 STRUCT: dirent { d_ino ino_t }