Menu

#668 case sensitivity bug: compile_file, translate_file argument

closed
nobody
Lisp Core (457)
5
2012-12-04
2005-01-17
No

Case sensitivity bug: compile_file and translate_file
interpret their arguments with case reversed. If the
file in question is "foo.mac",

compile_file ("foo.mac");

complains "FOO.MAC does not exist", while

compile_file ("FOO.MAC");

succeeds and compiles "foo.mac" as expected.
Same behavior with translate_file.

build_info()$

Maxima version: 5.9.1.1cvs
Maxima build date: 19:35 1/14/2005
host type: i686-redhat-linux-gnu
lisp-implementation-type: CLISP
lisp-implementation-version: 2.31 (released 2003-09-01)
(built 3273281350) (memory 3314745325)

Discussion

  • Robert Dodier

    Robert Dodier - 2005-04-03
    • milestone: --> Fix_for_5.9.2
     
  • Raymond Toy

    Raymond Toy - 2005-04-04

    Logged In: YES
    user_id=28849

    I think the following replace function will fix this:

    (defun maxima-string (symb)
    (string-left-trim "&" (print-invert-case symb)))

     
  • Raymond Toy

    Raymond Toy - 2005-04-05

    Logged In: YES
    user_id=28849

    Fixed as proposed.

     
  • Raymond Toy

    Raymond Toy - 2005-04-05
    • status: open --> closed
     

Log in to post a comment.