Bugs item #489901, was opened at 2001-12-06 17:30
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=110493&aid=489901&group_id=10493
Category: run-time
Group: None
>Status: Closed
>Resolution: Fixed
Priority: 5
Submitted By: Martin Gasbichler (mainzelm)
Assigned to: Olin Shivers (olin-shivers)
Summary: SCSH_LIB_DIRS and symbols
Initial Comment:
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?
----------------------------------------------------------------------
>Comment By: Martin Gasbichler (mainzelm)
Date: 2002-12-17 15:46
Message:
Logged In: YES
user_id=17553
I decided that this is a bug in the implementation.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=110493&aid=489901&group_id=10493
|