Skip to content
Tcl Source Code History Of Ticket 6e273fe74313c244
Login

History Of Ticket 6e273fe74313c244

Artifacts Associated With Ticket 6e273fe74313c244

  1. Ticket change [79f016b444] (rid 138878) by tgl on 2014-07-18 20:10:46:

    1. assignee initialized to: "nobody"
    2. closer initialized to: "nobody"
    3. cmimetype initialized to: "text/plain"
    4. comment initialized to:
      A pair of memory-leak conditions were reported to the Postgres project.  These are original to Spencer's code so you've got them too, and might want to adopt our patch.
      Bug report here:
      http://www.postgresql.org/message-id/flat/[email protected]
      Patch here:
      http://git.postgresql.org/gitweb/?p=postgresql.git;a=commitdiff;h=1567e659a877d35ab4b85dafff41b2845d50990f
      
    5. foundin initialized to: "all"
    6. is_private initialized to: "0"
    7. login: "tgl"
    8. priority initialized to: "5 Medium"
    9. private_contact initialized to: "26864b65f1c6ce8bda86f87ed9c554e19ac0390d"
    10. resolution initialized to: "None"
    11. severity initialized to: "Minor"
    12. status initialized to: "Open"
    13. submitter initialized to: "tgl"
    14. subsystem initialized to: "43. Regexp"
    15. title initialized to: "Minor memory leaks in regex compilation"
    16. type initialized to: "Bug"
  2. Ticket change [4757c1e759] (rid 138887) by ferrieux on 2014-07-19 08:40:04:

    1. assignee changed to: "dgp"
    2. icomment:
      (okay, a leak happening when malloc() fails is not a hair-rising threat, considering what we usually do in thise case... but resyncing with upstream is healthy in general) 
      
      Of course, the patch does not apply "as is" since our snapshot (or latest refresh) of the package dates back to 2013-03-06. So it seems natural to first identify the closest cousin of our current version.
      
      But, poking around in the upstream (postgre's) git history, I cannot find even a distant match (i.e. there are not only whitespace/justify/brace cosmetics). So I guess, Don, that you started from another "upstream" project. Which one ?
      
    3. login: "ferrieux"
    4. mimetype: "text/plain"
  3. Ticket change [800b43f1eb] (rid 138888) by tgl on 2014-07-19 15:38:15:

    1. icomment:
      Hah!  No, Tcl is the upstream that Postgres started from.  But yeah, that was years ago (2003, Tcl 8.4.1 according to our commit logs) and the regex code has diverged a whole lot since then.  I think more of the cosmetic changes happened on your side, actually.
      
    2. login: "tgl"
    3. mimetype: "text/plain"
  4. Ticket change [01f9f7a6ec] (rid 138894) by ferrieux on 2014-07-19 17:29:05:

    1. icomment:
      Thanks for the clarification.
      Could you spot in your git history the commit that is closest to the point where you forked off the Tcl version ? This way we could follow changes on both sides and compute a delta-delta...
      
    2. login: "ferrieux"
    3. mimetype: "text/plain"
  5. Ticket change [c9bcadebac] (rid 138895) by tgl on 2014-07-19 18:05:14:

    1. icomment:
      Well, we adopted Tcl 8.4.1's code at commit 7bcc6d98f, and at various times since then we've integrated non-cosmetic updates from Tcl; the last such commit was 08fd6ff37 which synced with 8.5.11.  The reasons why we didn't track your cosmetic changes are explained at df1e965e1:
      
          Note that I didn't make any effort to duplicate a lot of cosmetic changes
          that they made to bring their copy into line with their own style
          guidelines, such as adding braces around single-line IF bodies.  Most of
          those we either had done already (such as ANSI-fication of function headers)
          or there is no point because pgindent would undo the change anyway.
      
      What I've generally done for the integration updates was to diff the regex files from the older Tcl release to the newer one, and then manually transcribe whatever changes were not just reformatting.
      
    2. login: "tgl"
    3. mimetype: "text/plain"
  6. Ticket change [74efed252e] (rid 138896) by ferrieux on 2014-07-19 22:15:04:

    1. icomment:
      OK, in other words, you used grey-matter diff and patch :)
      
      So, if we take the diff from last sync (08fd6ff37/8.5.11) to tip on your side, and adapt it superficially to our 8.5.11 version, that should do it, right ?
      
      Please tell me if I handled the blobdiff params properly:
      
      http://git.postgresql.org/gitweb/?p=postgresql.git;a=blobdiff;f=src/backend/regex/regcomp.c;hb=HEAD;hpb=08fd6ff37
      
    2. login: "ferrieux"
    3. mimetype: "text/plain"
  7. Ticket change [4049aeaa62] (rid 143065) by tgl on 2015-09-19 17:03:43:

    1. closedate changed to: "2457285.21092161"
    2. closer changed to: "tgl"
    3. icomment:
      This fix is included in my general sync-with-Postgres patch submitted at
      http://core.tcl.tk/tcl/tktview?name=187d7f499b
      
    4. login: "tgl"
    5. mimetype: "text/plain"
    6. resolution changed to: "Out of Date"
    7. status changed to: "Closed"