須藤です。

In <[&#x30E1;&#x30FC;&#x30EB;&#x30A2;&#x30C9;&#x30EC;&#x30B9;&#x4FDD;&#x8B77;]>
  "[uim-ja 109] Re: Is test/ used?" on Thu, 30 Oct 2008 10:32:59 +0900,
  "Etsushi Kato" 
<[&#x30E1;&#x30FC;&#x30EB;&#x30A2;&#x30C9;&#x30EC;&#x30B9;&#x4FDD;&#x8B77;]> 
wrote:

> でした。gdb で見てみたら、auxsyslib_sys_realpath() で落ちてるので、
> 以下の変更で、Fedora 9 でも test/run-test.scm が動くようになりました。
> お騒がせしました。realpath(3) は色々問題があるんですね。

なるほど。
sys-normalize-pathnameを使うようにするというのはどうでしょう。

Index: test/run-test.scm
===================================================================
--- test/run-test.scm   (revision 5612)
+++ test/run-test.scm   (working copy)
@@ -35,7 +35,10 @@
 
 (define (uim-test-build-path . components)
   (let* ((test-dir (sys-dirname *program-name*))
-         (top-dir (sys-realpath (build-path test-dir ".."))))
+         (top-dir (sys-normalize-pathname (build-path test-dir "..")
+                                          :absolute #t
+                                          :expand #t
+                                          :canonicalize #t)))
     (apply build-path top-dir components)))
 
 (define-macro (%add-top-path-to-load-path)

--~--~---------~--~----~------------~-------~--~----~
Google Groups "uim-ja" group
uim-ja@googlegroups.com
http://groups.google.com/group/uim-ja/about
-~----------~----~----~----~------~----~------~--~---

メールによる返信