Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: ef609afee9befbcf82dcef1ed6a43e7e2e63c0ff
Ticket: 651811ffffffffffffffffffffffffffffffffff
Fix broken sockets on HPUX 64-bit
User & Date: jdmartin on 2002-12-11 03:26:22
Changes

  1. assignee changed to: "andreas_kupries"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    The socket tests on Tcl/Tk 8.4.1 HPUX 11.00 64-bit were
    blowing up due to broken 'socket' and 'fconfigure'
    commands.
    First, the XOPEN sources were being used, but the xnet
    lib was never included, causing the wrong system
    functions to be called. A patch was made to unix/tcl.m4
    to fix this problem.
    Second, the inet_ntoa() c function called by
    'fconfigure' on sockets was always returning "0.0.0.0"
    for the network address. I never figured out why, so I
    wrote a function which duplicates inet_ntoa() and
    wrapped a macro around it. A patch was made to
    unix/tclUnixChan.c to fix this problem. Note that while
    this patch fixes the problem within the intended file
    scope, it is not very platform specific, and a more
    elegant solution may be desired.
    
    Note that after applying these patches on my HPUX 11.00
    64-bit system all the tests involving the 'socket'
    command stopped failing.
    
  4. foundin changed to: "None"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "jdmartin"
  9. subsystem changed to: "24. Channel Commands"
  10. title changed to: "Fix broken sockets on HPUX 64-bit"
  11. type changed to: "Patch"