Menu

#204 OS i/f still tied to old I/O subsystem in SISC 1.16 alpha

closed-fixed
nobody
None
5
2006-08-11
2006-08-11
No

The get-process-stdout function tries to use the
pre-1.16 I/O subsystem. Snippet follows.

--8<----8<----8<----8<----8<----8<--
snoopy:~ > sisc
SISC (1.16.0-alpha)
#;> (import os)
#;> (define ps (spawn-process "cat" '("/etc/passwd")))
#;> (get-process-stdout ps)
Error: undefined variable '<native-input-port>'.
---------------------------
To enable more detailed stack tracing, start SISC with the
-Dsisc.maxStackTraceDepth=16 java option.
---------------------------
Some stack trace entries may have been suppressed. To
see all entries
set the dynamic parameter
suppressed-stack-trace-source-kinds to
'().#;>
--8<----8<----8<----8<----8<----8<--

Discussion

  • Scott G. Miller

    Scott G. Miller - 2006-08-11
    • status: open --> closed-fixed
     
  • Scott G. Miller

    Scott G. Miller - 2006-08-11

    Logged In: YES
    user_id=25869

    Fixed in CVS. Also found that open-character-input-port
    wasn't producing peekable streams and fixed that.

     
  • Alessandro Colomba

    Logged In: YES
    user_id=544263

    I just noticed a similar problem for get-process-stdin:

    --8<----8<----8<----8<----8<----8<--
    snoopy:~ > sisc
    SISC (1.16.1-beta)
    #;> (import os)
    #;> (define ps (spawn-process "cat" '("/etc/passwd")))
    #;> (get-process-stdout ps)
    #<binary-input-port>
    #;> (get-process-stdin ps)
    Error: undefined variable 'open-buffered-binary-output-port'.
    #;>
    --8<----8<----8<----8<----8<----8<--

     
  • Scott G. Miller

    Scott G. Miller - 2006-08-12

    Logged In: YES
    user_id=25869

    Indeed, open-buffered-binary-*-port weren't being exported
    from the binary-io module as intended. Fixing...

     
  • Alessandro Colomba

    Logged In: YES
    user_id=544263

    Another function seems to be missing from the toplevel:
    open-character-output-port

     
  • Scott G. Miller

    Scott G. Miller - 2006-08-14

    Logged In: YES
    user_id=25869

    Fixed that yesterday as well.

     
  • Alessandro Colomba

    Logged In: YES
    user_id=544263

    I'm attaching test script that show a few regression bugs
    from SISC 1.15.x to 1.16 CVS:

    - open-character-output-port does not seem to accept an
    auto-flush? argument
    - open-character-[input|output]-port expect a string (char
    encoding) as a parameter, contrary to documentation
    - ->jinput-stream, ->joutput-stream, ->jreader, ->jwriter
    generate errors

    Please see attached file for specific errors along with
    tests that do work.

     
  • Alessandro Colomba

    Test script for open-char-*-port and java-io

     
  • Scott G. Miller

    Scott G. Miller - 2006-08-22

    Logged In: YES
    user_id=25869

    Fixed in CVS

     

Log in to post a comment.