Skip to content
Tcl Source Code History Of Ticket 218963
Login

History Of Ticket 218963

Artifacts Associated With Ticket 218963

  1. Ticket change [5a5ff12b52] (rid 118133) by nobody on 2000-10-26 01:08:40:

    1. assignee initialized to: "nobody"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      OriginalBugID: 3333 Bug
      Version: 8.2.1
      SubmitDate: '1999-11-05'
      LastModified: '1999-11-07'
      Severity: MED
      Status: Released
      Submitter: techsupp
      ChangedBy: hobbs
      OS: Other
      FixedDate: '1999-11-07'
      FixedInVersion: 8.2.2
      ClosedDate: '2000-10-25'
      
      
      Name:
      Don Porter
      
      CVS:
      $Id: Makefile.in,v 1.44.2.2 1999/10/02 01:09:54 hobbs Exp $
      
      Comments:
      The problem is the interaction between CVS Keyword expansion and other
          quoting.  When the $Id$ keyword is expanded by CVS, the expanded value
          contains "/".  The -e flag to sed sees the "/" as a close of the
          's/SCCCID//' command, and the rest of the keyword expansion causes a
          sed error.  The fix is to use a different character ('?') to act as the
          delimiter for the 's' command of sed.
      
          Note: Since Tcl 8.2.1 is not available through the Scriptics NetCVS
          repository,
          the diffs are done against my own local CVS repository in which I keep
          Tcl
          releases.  That explains different revision numbers.  The diff is
          against
          the Tcl 8.2.1 source code release.
      
      ObservedBehavior:
      $ cd tcl8.2.1/unix
          $ make gendate
          yacc -l ./../generic/tclGetDate.y
          yacc: 8 shift/reduce conflicts.
          sed -e 's/yy/TclDate/g' -e '/^#include <values.h>/d'  -e 's/SCCSID/RCS: @(#) $Id: Makefile.in,v 1.44.2.2 1999/10/02
          01:09:54 hobbs Exp $/'  -e '/#ifdef __STDC__/,/#endif/d' -e '/TclDateerrlab:/d'  -e '/TclDatenewstate:/d' -e '/#pragma/d'  -e '/#include <inttypes.h>/d'  <y.tab.c >./../generic/tclDate.c
          sed: Unknown option to 's'
          make: *** [gendate] Error 1
      
      DesiredBehavior:
      'make gendate' should build generic/tclDate.c from 
          generic/tclGetDate.y
      
      Patch:
      Index: Makefile.in
      ===================================================================
      RCS file: /home/cvs/cvsroot/sun/tcl/unix/Makefile.in,v
      retrieving revision 1.1.1.17
      diff -c -r1.1.1.17 Makefile.in
      *** Makefile.in 1999/10/04 21:07:21     1.1.1.17
      --- Makefile.in 1999/10/04 21:57:14
      ***************
      *** 460,466 ****
        gendate:
              yacc -l $(GENERIC_DIR)/tclGetDate.y
              sed -e 's/yy/TclDate/g' -e '/^#include <values.h>/d'  !           -e 's/SCCSID/RCS: @(#) $$Id: Makefile.in,v 1.44.2.2 1999/10/02 01:09:54 hobbs Exp $$/'  -e '/#ifdef __STDC__/,/#endif/d' -e '/TclDateerrlab:/d'  -e '/TclDatenewstate:/d' -e '/#pragma/d'  -e '/#include <inttypes.h>/d'  --- 460,466 ----
        gendate:
              yacc -l $(GENERIC_DIR)/tclGetDate.y
              sed -e 's/yy/TclDate/g' -e '/^#include <values.h>/d'  !           -e 's?SCCSID?RCS: @(#) $$Id$$?'  -e '/#ifdef __STDC__/,/#endif/d' -e '/TclDateerrlab:/d'  -e '/TclDatenewstate:/d' -e '/#pragma/d'  -e '/#include <inttypes.h>/d'  
      PatchFiles:
      unix/Makefile.in
      
      
      
      Fixed as specified. 
      -- 11/07/1999 hobbs
      
    4. foundin initialized to: "obsolete: 8.2.1"
    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: "75. Tutorial"
    10. title initialized to: "'make gendate' target broken"
    11. type initialized to: "Bug"
  2. Ticket change [9013dc25ed] (rid 120380) by welch on 2000-10-26 08:32:16:

    1. closedate changed to: "2000-10-26T01:32:16"
    2. closer changed to: "welch"
    3. priority changed to: "2"
    4. resolution changed to: "Fixed"
    5. status changed to: "Deleted"
  3. Ticket change [d4b62900ff] (rid 123496) by dgp on 2001-04-05 06:52:48:

    1. closedate changed to: "2001-04-04T23:52:48"
    2. closer changed to: "dgp"
    3. subsystem changed to: "53. Configuration and Build Tools"