Skip to content
Tcl Source Code History Of Ticket 1903339
Login

History Of Ticket 1903339

Artifacts Associated With Ticket 1903339

  1. Ticket change [feddf0be5d] (rid 108657) by jenglish on 2008-02-27 19:24:00:

    1. assignee initialized to: "nobody"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      Attached patch consolidates all code conditionalized on -DUSE_FIONBIO into one place, TclUnixSetBlockingMode() in unix/tclUnixCompat.c (new routine).
      
      
      
    4. foundin initialized to: "None"
    5. is_private initialized to: "0"
    6. priority initialized to: "5 Medium"
    7. resolution initialized to: "None"
    8. status initialized to: "Open"
    9. submitter initialized to: "jenglish"
    10. subsystem initialized to: "52. Portability Support"
    11. title initialized to: "ifdef reduction - USE_FIONBIO"
    12. type initialized to: "Patch"
  2. Ticket change [100e2917b7] (rid 94902) by jenglish on 2008-02-28 02:24:00:

    1. icomment:
      
      
      File Added - 268310: 0001-ifdef-reduction-USE_FIONBIO.patch
      
      
      
    2. login: "jenglish"
    3. mimetype: "text/plain"
    4. username: "jenglish"
  3. Add attachment "0001-ifdef-reduction-USE_FIONBIO.patch" [edc5eba254] (rid 103954) by jenglish on 2008-02-28 02:24:00.

  4. Ticket change [e77ed766a7] (rid 104470) by jenglish on 2008-02-28 02:52:35:

    1. icomment:
      
      
      File Added - 268317: 0002-Reduce-scope-of-sys-filio.h-and-sys-ioctl.h.patch
      
      Logged In: YES 
      user_id=68433
      Originator: YES
      
      With that out of the way, the <sys/ioctl.h> and <sys/filio.h> #includes ("for FIONBIO") can be moved out of unix/tclUnixPort.h into unix/tclUnixCompat.c.  
      
      And with *that* out of the way, the comment at the top of unix/tclUnixChan.c:
      
      /*
       * sys/ioctl.h has already been included by tclPort.h. Including termios.h or
       * termio.h causes a bunch of warning messages because some duplicate (but not
       * contradictory) #defines exist in termios.h and/or termio.h
       */
      
      becomes inoperative and can be removed, along with the following chain of #undef's.
      
      (Archaeology: this bit first appeared in the Tcl 8.0 release (1997-08-12); it is not clear on which platform the conflicting #includes were causing a problem.)
      
      sys/ioctl.h is re-#included later on, along with termios.h, in the -DUSE_TERMIOS branch, which is the most common configuration, and there don't seem to be any reports about conflicts recently.
      File Added: 0002-Reduce-scope-of-sys-filio.h-and-sys-ioctl.h.patch
      
      
    2. login: "jenglish"
    3. mimetype: "text/plain"
    4. username: "jenglish"
  5. Add attachment "0002-Reduce-scope-of-sys-filio.h-and-sys-ioctl.h.patch" [2ccdd35d1c] (rid 118969) by jenglish on 2008-02-28 02:52:35.

  6. Ticket change [3385a5e56f] (rid 106608) by jenglish on 2008-02-28 03:21:11:

    1. icomment:
      
      
      File Added - 268324: 0003-Remove-inoperative-comment-and-chain-of-undefs.patch
      
      
      
    2. login: "jenglish"
    3. mimetype: "text/plain"
    4. username: "jenglish"
  7. Add attachment "0003-Remove-inoperative-comment-and-chain-of-undefs.patch" [b41f35eb6a] (rid 124970) by jenglish on 2008-02-28 03:21:11.

  8. Ticket change [5e0d2555e6] (rid 115572) by jenglish on 2008-02-28 03:21:12:

    1. assignee changed to: "jenglish"
    2. icomment:
      Logged In: YES 
      user_id=68433
      Originator: YES
      
      Notes: second patch may impact platforms where -DUSE_SGTTY or -DUSE_TERMIO are in effect.  I am unable to test this, because the oldest Unices I have available (AIX 4.1, IRIX 5.3, both circa 1997) already support -DUSE_TERMIOS and fcntl( ... O_NONBLOCK ...).
      
      USE_FIONBIO was first introduced in Tcl 7.6 (1996-10-16), and was enabled only for AIX*, OSF*, SunOS-4*, and ULTRIX-4.*.
      The following appears in unix/configure.in starting with Tcl 8.0 (1997-08-13):
      
          # There used to be code here to use FIONBIO under AIX.  However, it
          # was reported that FIONBIO doesn't work under AIX 3.2.5.  Since
          # using O_NONBLOCK seems fine under AIX 4.*, I removed the FIONBIO
          # code (JO, 5/31/97).
      
      The ULTRIX-4.* branch was removed with this commit:
      
      +2006-01-10  Daniel Steffen  <[email protected]>
      +
      +* unix/configure:    add caching, use AC_CACHE_CHECK instead of
      +* unix/configure.in: AC_CACHE_VAL where possible, consistent message
      +* unix/tcl.m4:       quoting, sync relevant tclconfig/tcl.m4 changes and
      +gratuitous formatting differences, fix SC_CONFIG_MANPAGES with default
      +argument, Darwin improvements to SC_LOAD_*CONFIG.
      
      However, it is still present in core-8-4-branch and Tcl 8.4.18.  
      
      At any rate, in CVS HEAD, USE_FIONBIO is down to OSF* and SunOS-4.*.
      File Added: 0003-Remove-inoperative-comment-and-chain-of-undefs.patch
      
      
    3. login: "jenglish"
    4. mimetype: "text/plain"
    5. username: "jenglish"
  9. Ticket change [807de43f8f] (rid 116881) by jenglish on 2008-02-29 03:43:09:

    1. icomment:
      Logged In: YES 
      user_id=68433
      Originator: YES
      
      Patch committed.
      
      
    2. login: "jenglish"
    3. mimetype: "text/plain"
    4. username: "jenglish"
  10. Ticket change [248e43d02c] (rid 131123) by jenglish on 2008-02-29 03:43:10:

    1. closedate changed to: "2008-02-28T20:43:10"
    2. closer changed to: "jenglish"
    3. resolution changed to: "Fixed"
    4. status changed to: "Closed"