#100 "source" cmd is broken in 1.2b7

closed-fixed
nobody
Parsing (77)
9
2003-05-28
2002-12-24
No

Interpreter.source(String,Namespace) is broken - it
opens a stream called "sourceIn", but sends in "in"
(which is the current input stream) into the eval() call.

The result is that

source("foo.bsh")

continues to read from the current input stream instead
of from foo.bsh.

Discussion

  • Shankar Unni

    Shankar Unni - 2002-12-24

    Logged In: YES
    user_id=167432

    Setting priority to highest. Anyway, the fix is trivial and
    obvious, so I'm not personally stuck.

     
  • Shankar Unni

    Shankar Unni - 2002-12-24
    • priority: 5 --> 9
    • summary: "source" cmd is broken in 1.2b7 --> "source" cmd is broken in 1.2b7
     
  • Pat Niemeyer

    Pat Niemeyer - 2003-05-28
    • status: open --> closed-fixed
     

Log in to post a comment.

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

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks