]> granicus.if.org Git - nethack/commitdiff
MacOSX can handle >14 character names.
authorwarwick <warwick>
Thu, 11 Sep 2003 04:23:52 +0000 (04:23 +0000)
committerwarwick <warwick>
Thu, 11 Sep 2003 04:23:52 +0000 (04:23 +0000)
I think the #if is inverted really - what DOES have that limit?

sys/unix/unixunix.c

index 6950b820b771e4754708217baa219e36217f4af5..f6c8b4bae9d37631577ba806d905a750b0cbda6e 100644 (file)
@@ -197,7 +197,7 @@ register char *s;
 
        while((lp=index(s, '.')) || (lp=index(s, '/')) || (lp=index(s,' ')))
                *lp = '_';
-#if defined(SYSV) && !defined(AIX_31) && !defined(SVR4) && !defined(LINUX)
+#if defined(SYSV) && !defined(AIX_31) && !defined(SVR4) && !defined(LINUX) && !defined(__APPLE__)
        /* avoid problems with 14 character file name limit */
 # ifdef COMPRESS
        /* leave room for .e from error and .Z from compress appended to