[plt-scheme] Wierd behaviour of find-executable-path

From: Paulo J. Matos (pocmatos at gmail.com)
Date: Sat Jun 3 07:51:47 EDT 2006

Hi all,

find-executable-path doesn't seem to be working on latest SVN. But it
works on previous ones. Here are some self-explanatory tries of this
wierdness:

pmatos at euler ~ $ /usr/local/plt/plt-svn3111/bin/mzscheme
Welcome to MzScheme version 301.16, Copyright (c) 2004-2006 PLT Scheme Inc.
> (find-executable-path "emacs")
#<path:/usr/bin/emacs>
> (exit)

pmatos at euler ~ $ /usr/local/plt/plt-svn3117/bin/mzscheme
Welcome to MzScheme version 301.16, Copyright (c) 2004-2006 PLT Scheme Inc.
> (find-executable-path "emacs")
#<path:/usr/bin/emacs>
> (exit)

pmatos at euler ~ $ /usr/local/plt/plt-svn3191/bin/mzscheme
Welcome to MzScheme version 301.16, Copyright (c) 2004-2006 PLT Scheme Inc.
> (find-executable-path "emacs")
#<path:/usr/bin/emacs>
> (exit)

On DrScheme SVN 3111:
> (find-executable-path "emacs")
#<path:/usr/bin/emacs>

On DrScheme SVN 3117:
> (find-executable-path "emacs")
#<path:/usr/bin/emacs>

On DrScheme SVN 3191:
> (find-executable-path "emacs")
#f


So, something happened in the code for find-executable-path but only
if you call it under DrScheme which is even wierder. At least you know
that what happened was between 3117 and 3191.


Cheers,

-- 
Paulo Jorge Matos - pocm at sat inesc-id pt
Web: http://sat.inesc-id.pt/~pocm
Computer and Software Engineering
INESC-ID - SAT Group


Posted on the users mailing list.