From 7068661870942592346ffd69fb14be82a1371226 Mon Sep 17 00:00:00 2001 From: Rudi Schlatte Date: Wed, 7 Nov 2007 06:34:26 +0000 Subject: [PATCH] 1.0.11.15: Fix sb-posix building on Windows * This should unbreak slime on Windows (First reported by Jerry van Dijk) * Fix suggested by nyef on #lisp --- NEWS | 4 ++++ contrib/sb-posix/posix-tests.lisp | 14 ++++++++++++++ version.lisp-expr | 2 +- 3 files changed, 19 insertions(+), 1 deletion(-) diff --git a/NEWS b/NEWS index 065cc81..5f90a31 100644 --- a/NEWS +++ b/NEWS @@ -1,4 +1,8 @@ ;;;; -*- coding: utf-8; -*- +changes in sbcl-1.0.12 relative to sbcl-1.0.11: + * bug fix: sb-posix should now compile again under Windows, enabling + slime to work again. + changes in sbcl-1.0.11 relative to sbcl-1.0.10: * incompatible change: hash-table accessor functions are no longer automatically protected by locks. Concurrent accesses on the same hash-table diff --git a/contrib/sb-posix/posix-tests.lisp b/contrib/sb-posix/posix-tests.lisp index 6d5caa1..98687c2 100644 --- a/contrib/sb-posix/posix-tests.lisp +++ b/contrib/sb-posix/posix-tests.lisp @@ -252,6 +252,7 @@ 0) ;; Test that stat can take a second argument. +#-win32 (deftest stat.5 (let* ((stat-1 (sb-posix:stat "/")) (inode-1 (sb-posix:stat-ino stat-1)) @@ -264,6 +265,19 @@ t t) +#+win32 +(deftest stat.5 + (let* ((stat-1 (sb-posix:stat "/")) + (mode-1 (sb-posix:stat-mode stat-1)) + (stat-2 (sb-posix:stat "C:\\CONFIG.SYS" + stat-1)) + (mode-2 (sb-posix:stat-mode stat-2))) + (values + (eq stat-1 stat-2) + (/= mode-1 mode-2))) + t + t) + ;;; FIXME: add tests for carrying a stat structure around in the ;;; optional argument to SB-POSIX:STAT diff --git a/version.lisp-expr b/version.lisp-expr index 1f42c7b..bb8085f 100644 --- a/version.lisp-expr +++ b/version.lisp-expr @@ -17,4 +17,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.11.14" +"1.0.11.15" -- 1.7.10.4