Skip to content
Tcl Source Code History Of Ticket 31cdc84bd2
Login

History Of Ticket 31cdc84bd2

Artifacts Associated With Ticket 31cdc84bd2

  1. Ticket change [95cd5e9a70] (rid 223168) by anonymous on 2024-03-13 17:21:17:

    1. assignee initialized to: "nobody"
    2. closer initialized to: "nobody"
    3. cmimetype initialized to: "text/x-fossil-plain"
    4. comment initialized to:
      This commit appears to have inadvertently added a debug break that causes ::yaml::_parsePlainScalarInBlock to stop after the fifth line of a plain multi-line scalar:
      https://core.tcl-lang.org/tcllib/info/fc59390525aeda7e
      
      The bad code:
      proc ::yaml::_parsePlainScalarInBlock {base {loop 0}} {
          if {$loop == 5} { return }
      
      The code appears to still be present in the current git:
      https://core.tcl-lang.org/tcllib/blame?filename=modules/yaml/yaml.tcl&checkin=5be206c63f7681c9
      
      I think the tests may have strings short enough not to expose the bug.
      
      Example testcase:
      % set str {my_thing:
        one
        two
        three
        four
        five
        six}
      % puts [::yaml::yaml2dict $str]
      my_thing {one two three four five}
      
    5. foundin initialized to: "latest"
    6. is_private initialized to: "0"
    7. login: "anonymous"
    8. priority initialized to: "5 Medium"
    9. private_contact initialized to: "e88cafe169293ede9723368192937e2211e6d2ea"
    10. resolution initialized to: "None"
    11. severity initialized to: "Important"
    12. status initialized to: "Open"
    13. submitter initialized to: "anonymous"
    14. subsystem initialized to: "None"
    15. title initialized to:
      ::yaml::_parsePlainScalarInBlock only parses the first 5 lines of a plain scalar
      
    16. type initialized to: "Bug"
  2. Ticket change [5ff3dde6b0] (rid 253757) by apnadkarni on 2026-05-22 10:23:58:

    1. closedate changed to: "2461182.9333138657"
    2. closer changed to: "apnadkarni"
    3. icomment:
      This is a tcllib issue, not Tcl. Moved to tcllib repository [a23348be0b](https://core.tcl-lang.org/tcllib/tktview/a23348be0b)
      
    4. login: "apnadkarni"
    5. mimetype: "text/x-markdown"
    6. resolution changed to: "Invalid"
    7. status changed to: "Closed"