chicken-janitors
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Chicken-janitors] #52: ##sys#expand-home-path bug on OS X


From: Chicken Trac
Subject: [Chicken-janitors] #52: ##sys#expand-home-path bug on OS X
Date: Sat, 27 Jun 2009 22:46:42 -0000

#52: ##sys#expand-home-path bug on OS X
----------------------------+-----------------------------------------------
 Reporter:  zbigniew        |       Owner:       
     Type:  defect          |      Status:  new  
 Priority:  minor           |   Milestone:       
Component:  core libraries  |     Version:  4.0.x
 Keywords:                  |  
----------------------------+-----------------------------------------------
 Plain tilde does not work properly.  Did not check any other platform yet.
 Pretty sure this has been present forever.

 {{{
 #;2> (##sys#expand-home-path "~/tmp")
 "/Users/jim/tmp"
 #;3> (##sys#expand-home-path "~/")
 "/Users/jim/"
 #;4> (##sys#expand-home-path "~")
 "/home/"
 }}}

 Also affects derived procedures e.g.

 {{{
 #;3> (change-directory "~/tmp")
 #;4> (change-directory "~")
 Error: (change-directory) cannot change current directory - No such file
 or directory: "~"
 }}}

-- 
Ticket URL: <http://www.irp.oist.jp/trac/chicken/ticket/52>
Chicken Scheme <http://www.call-with-current-continuation.org/>
Chicken Scheme is a compiler for the Scheme programming language.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]