1.0.46.22: fix sb-posix readdir on SunOS/x86
authorjimwise <jimwise>
Thu, 3 Mar 2011 19:50:21 +0000 (19:50 +0000)
committerjimwise <jimwise>
Thu, 3 Mar 2011 19:50:21 +0000 (19:50 +0000)
 for the time being, disable :largefile on SunOS/x86.  Unfortunately,
 sb-grovel cannot navigate the somewhat sticky way in which struct
 dirent gets setup for a 32-bit host with 64-bit ino_t on SunOS, so
 sb-posix:readdir breaks

 :largefile works fine on SunOS x86_64, and will be re-enabled on x86
 after I get some more time to fight with the alien def for struct dirent

make-config.sh
version.lisp-expr

index 6fda706..0101f23 100644 (file)
@@ -252,7 +252,9 @@ case "$sbcl_os" in
         printf ' :unix' >> $ltf
         printf ' :elf' >> $ltf
         printf ' :sunos' >> $ltf
-        printf ' :largefile' >> $ltf
+        if [ $sbcl_arch = "x86-64" ]; then
+            printf ' :largefile' >> $ltf
+        fi
         if [ $sbcl_arch = "x86" ] || [ $sbcl_arch = "x86-64" ]; then
             printf ' :sb-lutex' >> $ltf
         fi
index 004fc83..2285ed1 100644 (file)
@@ -20,4 +20,4 @@
 ;;; checkins which aren't released. (And occasionally for internal
 ;;; versions, especially for internal versions off the main CVS
 ;;; branch, it gets hairier, e.g. "0.pre7.14.flaky4.13".)
-"1.0.46.21"
+"1.0.46.22"