[plt-dev] Re: bugfix for handin-server

From: Eli Barzilay (eli at barzilay.org)
Date: Mon Apr 6 19:17:50 EDT 2009

On Apr  6, John Clements wrote:
> AFAICT, the handin-server is written with the assumption that
> (current- directory) returns a string.  In particular, the
> 'run-servlet' function in web-status-server.ss calls string->path on
> server-dir, which may be obtained using (current-directory).
> Fortunately, it appears that the downstream uses of this value don't
> require it to be a string, so it appears that you can fix this
> problem simply by removing the call to string->path. Here's the
> diff:
> [...]
> I've committed this; naturally, I'll unwind it if I've made a mistake.

Yes, it looks like a correct fix...

          ((lambda (x) (x x)) (lambda (x) (x x)))          Eli Barzilay:
                  http://www.barzilay.org/                 Maze is Life!

Posted on the dev mailing list.