Skip to content
Tcl Source Code History Of Ticket 1189293
Login

History Of Ticket 1189293

Artifacts Associated With Ticket 1189293

  1. Ticket change [691c7f1f25] (rid 103192) by avl42 on 2005-04-25 07:46:18:

    1. assignee initialized to: "andreas_kupries"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      Redirection from data (using "<<") loses zero-characters:
       exec wc << [string repeat "\0" 42]
      returns "0 0 0", rather than "0 0 42" as it should.
      
      
      
    4. foundin initialized to: "obsolete: 8.5a3"
    5. priority initialized to: "5 Medium"
    6. resolution initialized to: "None"
    7. status initialized to: "Open"
    8. submitter initialized to: "avl42"
    9. subsystem initialized to: "25. Channel System"
    10. title initialized to: ""<<" redirection not binary safe"
    11. type initialized to: "Bug"
  2. Ticket change [0a0914cc55] (rid 113746) by dkf on 2005-04-25 17:09:02:

    1. icomment:
      Logged In: YES 
      user_id=79902
      
      Effect replicated in code that is definitely binary clean
      (od -c) so whatever the problem is (probably C strings in
      the tclpcreatepipeline code) it is not the fault of nul
      handling in wc.
      
      
    2. login: "dkf"
    3. mimetype: "text/plain"
    4. username: "dkf"
  3. Ticket change [4161b42884] (rid 116181) by hobbs on 2005-05-31 09:22:45:

    1. icomment:
      Logged In: YES 
      user_id=72656
      
      Indeed unix/tclUnixPipe.c:TclpCreateTempFile (and likely
      other plats as well) just get contents passed as a C string.
       We need to change this to a counted string of DString, if
      we can be sure noone uses this internal API.
      
      
    2. login: "hobbs"
    3. mimetype: "text/plain"
    4. priority changed to: "6"
    5. username: "hobbs"
  4. Ticket change [a1c1a4dbfb] (rid 109782) by avl42 on 2005-07-27 19:01:27:

    1. icomment:
      Logged In: YES 
      user_id=830354
      
      Internal APIs shouldn't be used by anyone else.  Even if
      they are,
      some wrapper-function can be created for the old
      functionality, and
      the implementation of exec could use some
      TclpCreateTempFileEx(),
      until some minor or major version-number change allows for a
      change.
      
      I don't see why this should be a blocker.
      
      
    2. login: "avl42"
    3. mimetype: "text/plain"
    4. priority changed to: "7 High"
    5. username: "avl42"
  5. Ticket change [ea8228bdbf] (rid 103387) by dkf on 2005-07-27 19:06:35:

    1. icomment:
      Logged In: YES 
      user_id=79902
      
      The question is whether BLT uses this. I don't think anyone
      else does.
      
      
    2. login: "dkf"
    3. mimetype: "text/plain"
    4. username: "dkf"
  6. Ticket change [83b185ebef] (rid 117426) by avl42 on 2005-08-02 04:35:35:

    1. icomment:
      Logged In: YES 
      user_id=830354
      
      So, is it in "our" (well your) reach to fix BLT as well?
      
      
      
    2. login: "avl42"
    3. mimetype: "text/plain"
    4. username: "avl42"
  7. Ticket change [4631438c51] (rid 99482) by dkf on 2005-08-02 14:58:24:

    1. icomment:
      Logged In: YES 
      user_id=79902
      
      I have never touched the source to BLT, and I don't intend
      to start now. Speaking personally, of course. :-)
      
      
    2. login: "dkf"
    3. mimetype: "text/plain"
    4. username: "dkf"
  8. Ticket change [ed718fdcf0] (rid 103878) by hobbs on 2005-10-05 11:46:14:

    1. icomment:
      Logged In: YES 
      user_id=72656
      
      I found a slot to use for an old, unused TclpCreateTempFile
      sig change in 8.1 (never used essentially).  However, the
      problem to fixing it is harder ... the processing of the
      command line is char* based, so we don't have a counted
      string at any point.
      
      
    2. login: "hobbs"
    3. mimetype: "text/plain"
    4. priority changed to: "6"
    5. username: "hobbs"
  9. Ticket change [3f41165f54] (rid 121426) by hobbs on 2006-04-23 08:02:20:

    1. assignee changed to: "hobbs"
    2. foundin changed to: "obsolete: 8.5a4"
    3. icomment:
      Logged In: YES 
      user_id=72656
      
      I have found that in fact BLT no longer uses
      TclCreatePipeline, but it is Tcl_OpenCommandChannel that
      must be enhanced to take an obj-based version.  For 'exec'
      in particular, this is something that could be done with
      internal routines.
      
      
    4. login: "hobbs"
    5. mimetype: "text/plain"
    6. username: "hobbs"
  10. Ticket change [8d1c02a4ba] (rid 127872) by dgp on 2011-06-07 00:05:08:

    1. icomment:
      dgpok, the comments suggest there's nothing fundamental blocking a fix.
      dgpJust needs someone to roll up sleeves and do it.
      dgpIs this broken in releases before 8.5 as well?
      
      dgpWas this broken even in Tcl 8.0 ?
      dgp% info patch
      8.0.5
      % exec wc << \0\0
      0 0 0
      dgpAppears so
      
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  11. Ticket change [d2b795208e] (rid 113576) by dgp on 2012-07-02 23:23:19:

    1. icomment:
      Yikes!  Fix for this was much simpler than believed.
      
      Please review/test the proposed fix on bug-1189293 branch
      to confirm I got the fix right on Windows before committing to
      release branches.
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. priority changed to: "9 Immediate"
    5. username: "dgp"
  12. Ticket change [5002b78ce6] (rid 125909) by dgp on 2012-07-05 20:51:52:

    1. assignee changed to: "dgp"
    2. closedate changed to: "2012-07-05T13:51:52"
    3. closer changed to: "dgp"
    4. icomment:
      
      
      allow_comments - 1
      
      committed.
      
      
    5. login: "dgp"
    6. mimetype: "text/plain"
    7. resolution changed to: "Fixed"
    8. status changed to: "Closed"
    9. username: "dgp"