Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
fix sb-posix/posix-tests.lisp failed on Japanese Mac OS X
diff --git a/contrib/sb-posix/posix-tests.lisp b/contrib/sb-posix/posix-tests.lisp
index ec5a49c..444b3b0 100644
--- a/contrib/sb-posix/posix-tests.lisp
+++ b/contrib/sb-posix/posix-tests.lisp
@@ -3,6 +3,9 @@
(in-package "SB-POSIX-TESTS")
+#+darwin(setf sb-alien::*default-c-string-external-format* :utf-8)
+#+darwin(setf sb-impl::*default-external-format* :utf-8)
+
(defvar *test-directory*
(ensure-directories-exist
(merge-pathnames (make-pathname :directory '(:relative "test-output"))
@@ -547,7 +550,6 @@
(sb-posix:closedir dir)))
t)
-#-darwin
(deftest readdir/dirent-name
(let ((dir (sb-posix:opendir *current-directory*)))
(unwind-protect
@takoeight0821

This comment has been minimized.

Copy link
Owner Author

commented Jun 16, 2015

やっつけなのでまだうまく動くか分からない。

@takoeight0821

This comment has been minimized.

Copy link
Owner Author

commented Jun 17, 2015

これで大丈夫なはず。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.