Skip to content
Tcl Source Code History Of Ticket 1402782
Login

History Of Ticket 1402782

Artifacts Associated With Ticket 1402782

  1. Ticket change [d4b1dc9a00] (rid 123493) by nobody on 2006-01-11 11:29:22:

    1. assignee initialized to: "dkf"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      I consider the following a bug (in version 8.4.11)
      
      set fd [open [select_file]]
      
      # Although irrelevant, in the actual test case the file
      selected is a pdf file.
      
      fconfigure $fd -encoding binary -translation binary
      set inp [read $fd]
      
      # Here the type (and internal representation) of 'inp'
      is 'bytearray' as it indeed should be.
      
      regexp -- "stream\x0d\x0a(.+?)\x0d\endstream" $inp x frag
      
      # Now the Tcl_Obj record that 'inp' refers to is the
      same as above but the type now is
      # 'string' and the value of both the 'bytes' and the
      'internalRep' pointer is different from
      # its previous value. The string the latter points to
      seems to be in UCS-16 form.
      # I did not check whether the string value had been
      changed. If not why was it necessary to copy?
      
      Joe Németh (NJG on wiki.tcl.tk)
      
    4. foundin initialized to: "obsolete: 8.4.12"
    5. priority initialized to: "5 Medium"
    6. resolution initialized to: "None"
    7. status initialized to: "Open"
    8. submitter initialized to: "nobody"
    9. subsystem initialized to: "12. ByteArray Object"
    10. title initialized to:
      bytearray object converted to string on searched by regexp
      
    11. type initialized to: "Bug"
  2. Ticket change [cd292f047f] (rid 95836) by dkf on 2006-01-11 18:40:44:

    1. closedate changed to: "2006-01-11T11:40:44"
    2. closer changed to: "dkf"
    3. resolution changed to: "Duplicate"
    4. status changed to: "Closed"