Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 01422c58056446374c1b2752c56cfef3f51d9fce
Ticket: 219418ffffffffffffffffffffffffffffffffff
Build errors - tcltest errors in io.test and others
User & Date: andreas_kupries on 2000-11-20 14:18:59
Changes

  1. icomment:
    This is a essentially shortened version of bug #119417 (The log was
    reduced to the warnings), but contains additional warnings which where
    not in 119417. Only the additional messages are covered in this
    followup. For the other messages go to #119417.
    
    Recat to "OtherIO", could be "CodeCleanup" as well.
    
    Upfront summary
    ___________________________________________________
    
    (A)Priority 7, open
    
    ___________________________________________________
    (A)cc: Warning: ./../unix/tclUnixChan.c, line 235: In the
    initializer for fileChannelType.version, the referenced type
    of the pointer value "FileBlockModeProc" is "function (pointer
    to void, int) returning int", which is not compatible with
    "struct Tcl_ChannelTypeVersion_". (ptrmismatch)
    
            FileBlockModeProc,   /* Set blocking/nonblocking mode.*/
        ----^
    
    Same for lines 254 and 273 and
    
    cc: Warning: ./../unix/tclUnixPipe.c, line 71: In the
    initializer for pipeChannelType.version, the referenced type
    of the pointer value "PipeBlockModeProc" is "function (pointer
    to void, int) returning int", which is not compatible with
    "struct Tcl_ChannelTypeVersion_". (ptrmismatch)
            PipeBlockModeProc,   /* Set blocking/nonblocking mode.*/
    
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Comments
    --In 8.3.2 the whole handling of stacked channels was
    rewritten (again) and this time the change affected
    the definition of Tcl_ChannelType as well. The field
    containing BlockModeProc is now a version field. For
    compatibility with older drivers, particular in
    extensions anything other than TCL_CHANNEL_VERSION_1
    or TCL_CHANNEL_VERSION_2 is considered as
    BlockModeProc and the driver as version 1.
    
    The simple solution would be to cast the BlockModeProc, but
    the right solution is to rewrite the structure and use
    explicit version numbers. As these drivers are built into the
    core there is no problem of (non-)compatibility with older
    versions of the core.
    
    ___________________________________________________
    (B)Failures of test suite
    
    Comments
    14.9The failure could have been caused by the reported bugs
    because of 32/64bit issues, but the connection is not
    sure.
    
    29.34'couldn't open socket: address already in use'
    Possible reasons:
    --Socket not cleaned up from earlier test run.
    --Some other application already uses the port
    =>Please check.
    
    29.35s.a.
    53.5s.a.
    54.1
    
    32.7error setting blocking mode: inappropriate device for ioctl
    
    The script tried to access a file, not a serial device or tty.
    Maybe a follow-on error from 14.9., i.e. the system
    believing that the file is thr stdin/out/err tty.
    Some other than me has to check this, sorry.
    
    Could also follow from the warning about BlockModeProc
    in the drivers.
    
    32.8s.a.
    35.4s.a.
    36.5s.a.
    36.6s.a.
    39.9s.a.
    48.2s.a.
    52.1s.a.
    52.3s.a.
    52.4s.a.
    52.5s.a.
    52.6s.a.
    52.7s.a.
    53.1s.a.
    53.2s.a.
    
    44.5unclear\
    48.3unclear  |
    48.4unclear  > = I see no 'obvious' reason.
    48.5unclear  |
    53.6unclear/
    
    Advise rechecking after the obvious problems were corrected.
    
    
    
  2. login: "andreas_kupries"
  3. mimetype: "text/plain"
  4. priority changed to: "7 High"
  5. subsystem changed to: "62. (unused)"
  6. username: "andreas_kupries"