This is the mail archive of the
kawa@sourceware.org
mailing list for the Kawa project.
Path character in lists.scm
- From: Jeff Gonis <jeff dot gonis at gmail dot com>
- To: kawa at sourceware dot org
- Cc: Per Bothner <per at bothner dot com>
- Date: Fri, 16 Jan 2015 12:21:11 -0700
- Subject: Path character in lists.scm
- Authentication-results: sourceware.org; auth=none
Hi Per,
So while I was working to build kawa on windows I kept running into an
error while building talking about an illegal character when trying to
compile lists.scm in the rnrs directory. After spending some time
looking at it, I realized that the path separator in the require
statement was using a forward slash which blows up in windows. I
replaced it with a backslash and was able to build on both my windows
machine and linux machine, and the tests passed on linux (no ant
command to run the tests on windows that I could see). I hope that I
have generated this patch file correctly, but if not it should be easy
to track down using my description above.
A more robust solution might be using some sort of path separator
normalization provided by Java, but I haven't had time to dig into
that. I'll let you know if I have any success there.
Please let me know if you need anything else.
Thanks for your time,
Jeff
--- lists.scm 2013-12-09 00:05:17.000000000 -0700
+++ listsEdited.scm 2015-01-16 12:16:00.872352122 -0700
@@ -8,7 +8,7 @@
(module-export find for-all exists filter partition fold-left
fold-right remp remove remv remq memp member memv memq
assp assoc assv assq cons*)
-(require kawa.lib.lists "../lists.scm")
+(require kawa.lib.lists "..\lists.scm")
;;; Helper Functions