#61 SCSH_LIB_DIRS and symbols

closed-fixed
run-time (53)
5
2002-12-17
2001-12-06
No

Olin,

in the posting about the new flags for the load-path

http://groups.google.com/groups?q=SCSH_LIB_DIRS&hl=en&rnum=1&selm=qijg0yx3e5k.fsf%40lambda.ai.mit.edu

, you require the elements of SCSH_LIB_DIRS to be
strings or #f. The corresponding parser however looks
like this:

(with-current-input-port (make-string-input-port s)
(let recur ()
(let ((val (read)))
(cond ((eof-object? val) '())
((or (string? val) (symbol? val)) (cons val
(recur)))
((not val) (append default-lib-dirs (recur)))
(else (error "Illegal path element in
$SCSH_LIB_DIRS"
s val)))))))))

That is, you consider a symbol a legal value. Not only
is this
inconsistent with your posting, the code will also fail
later as you
don't convert the symbols to strings. So what do your
want to do: add symbols as legal values and convert
them to strings (which is fine as scsh has a
case-sensitive reader) or forbid symbols at all?

Discussion

  • Martin Gasbichler

    • status: open --> closed-fixed
     
  • Martin Gasbichler

    Logged In: YES
    user_id=17553

    I decided that this is a bug in the implementation.

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks