This is the mail archive of the
kawa@sourceware.org
mailing list for the Kawa project.
Re: Shell-style programming in Kawa
- From: Per Bothner <per at bothner dot com>
- To: Jamison Hope <jrh at theptrgroup dot com>, "kawa at sourceware dot org list" <kawa at sourceware dot org>
- Date: Mon, 03 Feb 2014 11:33:08 -0800
- Subject: Re: Shell-style programming in Kawa
- Authentication-results: sourceware.org; auth=none
- References: <52C4B518 dot 5080000 at bothner dot com> <A72FB562-9459-4C69-B346-A6C94DBD22C4 at theptrgroup dot com> <52E3772D dot 50804 at bothner dot com> <4A37A2F8-76B0-421D-AFCB-62AA1EE78468 at theptrgroup dot com>
On 01/25/2014 11:46 PM, Jamison Hope wrote:
By the way, I was just playing around with this a bit and found some
interesting behavior:
#|kawa:1|# (gnu.text.Path:currentPath)
.
#|kawa:2|# (gnu.text.Path:setCurrentPath ".")
#|kawa:3|# (gnu.text.Path:currentPath)
<unknown>: internal compile error - caught java.lang.StackOverflowError
The currentPath apparently explodes on any relative path unless it's
eq? to the userDirPath object.
I checked in a fix to this. I just make the new path absolute
(unless it is userDirPath, which is considered absolute).
--
--Per Bothner
per@bothner.com http://per.bothner.com/