[plt-scheme] include and sub-directories

From: Dave Herman (dherman at ccs.neu.edu)
Date: Thu Nov 19 18:34:53 EST 2009

A-ha. My example wasn't quite sufficient to demonstrate the bug. It's 
when the directory has dots in the name:

     #lang scheme/base
     (require scheme/include)
     (include "foo-0.2.1/bar.scm")

Error: include: bad relative pathname string in "foo-0.2.1/bar.scm"


Dave Herman wrote:
> When I try:
>     #lang scheme/base
>     (require scheme/include)
>     (include "foo/bar.scm")
> I get the error:
>     include: bad relative pathname string in: "foo/bar.scm"
> I tried looking at the source but got lost once I saw it called 
> `resolve-path-spec' with three arguments, which the docs say takes 
> exactly four arguments. Uncle!
> Thanks,
> Dave
> _________________________________________________
>  For list-related administrative tasks:
>  http://list.cs.brown.edu/mailman/listinfo/plt-scheme

Posted on the users mailing list.