Skip to content
Tcl Source Code History Of Ticket 727786ffffffffffffffffffffffffffffffffff
Login

History Of Ticket 727786ffffffffffffffffffffffffffffffffff

Artifacts Associated With Ticket 727786ffffffffffffffffffffffffffffffffff

  1. Ticket change [b3e0c876cb] (rid 124926) by jenglish on 2003-04-25 22:17:41:

    1. assignee initialized to: "andreas_kupries"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      The attached patch simply removes the code currently
      #ifdef'ed out in tclUnixChan.c. (See followup for
      explanation).
      
    4. foundin initialized to: "None"
    5. priority initialized to: "3 Low"
    6. resolution initialized to: "None"
    7. status initialized to: "Open"
    8. submitter initialized to: "jenglish"
    9. subsystem initialized to: "25. Channel System"
    10. title initialized to: "JANITORIAL: dead/DEPRECATED code in tclUnixChan.c"
    11. type initialized to: "Patch"
  2. Add attachment "tcl-unixchan-tls.patch" [ffe9d3da53] (rid 108844) by jenglish on 2003-04-26 05:17:41.

  3. Ticket change [5d177ed94e] (rid 115399) by jenglish on 2003-04-26 05:17:41:

    1. icomment:
      
      
      File Added - 48762: tcl-unixchan-tls.patch
      
      
      
    2. login: "jenglish"
    3. mimetype: "text/plain"
    4. username: "jenglish"
  4. Ticket change [6da6555f5f] (rid 128742) by jenglish on 2003-04-26 05:20:27:

    1. icomment:
      Logged In: YES 
      user_id=68433
      
      
      History:
      
      Starting with Tcl 7.6, calling Tcl_MakeFileChannel() with the
      same inFd and outFd as a previously allocated FileChannel would
      return the old FileChannel instead of allocating a new one.
      It's not clear why this was done -- this behaviour was not
      documented -- but possibly related to the following changelog
      entry:
      
          5/23/96 (bug fix) Fixed bug that allowed
      Tcl_MakeFileChannel to create new
          channels with Tcl_Files in them that are already used by
      another channel.
          This would cause core dumps when the Tcl_Files were
      being freed twice. (JL)
      
      At some point between 7.6 and 8.0, the Tcl_MakeFileChannel() API
      was reworked:
      
          4/23/97 (removed feature) The Tcl_File interfaces have
      been removed.
          The Tcl_CreateFileHandler/Tcl_DeleteFileHandler
      interfaces now take
          Unix fd's and are only supported on the Unix platform.
          Tcl_GetChannelFile has been replaced with
      Tcl_GetChannelHandle.
          Tcl_MakeFileChannel now takes a platform specific file
      handle. (SS)
          *** POTENTIAL INCOMPATIBILITY ***
      
      Tcl 8.0 also kept track of a global list of open file channels,
      and returned an existing channel if a call to
      Tcl_MakeFileChannel()
      specified a previously used file descriptor.  This behaviour was
      not documented in 8.0 either.  The list of open file
      channels was not
      used for any other purpose.
      
      In Tcl 8.1, the global list of file channels was replaced with
      a thread-specific list (CVS revision 1.10, r1.1.2.1).  The
      caching
      behaviour was still not documented.
      
      Shortly after Tcl 8.3.2, the per-thread list of file descriptors
      was (temporarily) #ifdef'ed out, since it caused problems with
      transferring channels.  From the CVS log:
      
          revision 1.18
          date: 2000/05/02 22:02:37;  author: kupries;  state:
      Exp;  lines: +24 -4
      
          * unix/tclUnixChan.c: #ifdef'd the thread-local list of file
            channels as it prevents us from transfering channels.
      To restore
            this we may need an extended interface to drivers in the
            future. Target: 9.0. Found while testing the new
      transfer of
            channels. The information in this list for a channel
      was left
            behind and then crashed the system during finalization.
      
      The code has remained #ifdef'ed out since then, although
      a patch has since been applied to make it work properly
      if -DDEPRECATED is supplied; see ChangeLog entry
      2003-01-25  Mo DeJong  <[email protected]>.
      
       * * *
      
      SUMMARY: since this part of the code (a) is only used to
      implement an undocumented and quite-possibly incorrect feature,
      and (b) has been disabled throughout the 8.4 series without 
      any noticeable ill effect, I believe it can be safely removed.
      
      
      
      
    2. login: "jenglish"
    3. mimetype: "text/plain"
    4. username: "jenglish"
  5. Add attachment "tcl-unixchan-tls.patch" [3a4871cb6a] (rid 112539) by jenglish on 2003-11-25 09:13:01.

  6. Ticket change [ba930ebe3b] (rid 129342) by jenglish on 2003-11-25 09:13:01:

    1. icomment:
      
      
      File Added - 68595: tcl-unixchan-tls.patch
      
      Logged In: YES 
      user_id=68433
      
      Old patch has gone stale; uploading new one.
      
      Is there any reason to keep this code around?  It's unused,
      and it's very likely incorrect.
      
      
    2. login: "jenglish"
    3. mimetype: "text/plain"
    4. username: "jenglish"
  7. Ticket change [8f6f4799f0] (rid 120273) by andreas_kupries on 2004-10-29 03:23:27:

    1. icomment:
      Logged In: YES 
      user_id=75003
      
      Uploading updated patch.
      
      
    2. login: "andreas_kupries"
    3. mimetype: "text/plain"
    4. username: "andreas_kupries"
  8. Ticket change [204a023793] (rid 91287) by andreas_kupries on 2004-10-29 03:23:28:

    1. icomment:
      
      
      File Added - 106861: 727786.patch
      
      
      
    2. login: "andreas_kupries"
    3. mimetype: "text/plain"
    4. username: "andreas_kupries"
  9. Add attachment "727786.patch" [7c582d5889] (rid 97066) by andreas_kupries on 2004-10-29 03:23:28.

  10. Ticket change [284c129d5b] (rid 88678) by andreas_kupries on 2004-11-11 03:04:57:

    1. closedate changed to: "2004-11-10T20:04:57"
    2. closer changed to: "andreas_kupries"
    3. icomment:
      
      
      File Added - 108346: 727786.tar.gz
      
      Logged In: YES 
      user_id=75003
      
      Committed to head. Added mail discussion between Joe, Jacob,
      and myself.
      
      
    4. login: "andreas_kupries"
    5. mimetype: "text/plain"
    6. resolution changed to: "Accepted"
    7. status changed to: "Closed"
    8. username: "andreas_kupries"
  11. Add attachment "727786.tar.gz" [74c484ecf4] (rid 105264) by andreas_kupries on 2004-11-11 03:04:57.