Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 0257b968eb9aae1b113aaf5debdbaabd29af7f50
Ticket: 219080ffffffffffffffffffffffffffffffffff
incorrect <eol> format in some of the CVS rcs repository fil
User & Date: nobody on 2000-10-26 01:10:24
Changes

  1. assignee changed to: "nobody"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    OriginalBugID: 5096 Bug
    Version: 8.3
    SubmitDate: '2000-04-17'
    LastModified: '2000-04-19'
    Severity: LOW
    Status: Released
    Submitter: techsupp
    ChangedBy: hobbs
    OS: All Windows
    FixedDate: '2000-04-19'
    FixedInVersion: 8.3.1
    ClosedDate: '2000-10-25'
    
    
    Name:
    David Gravereaux
    
    CVS:
    Apr 13 2000 as of 8:25p PST (main trunk line)
    
    Comments:
    I wouldn't have cared or noticed, but tcltest.exe can't source
        library/reg1.0/pkgIndex.tcl without error.
        
        I'm guessing, but it looks like dos formatted text files got added to
        CVS on a unix workstation.
    
    ReproducibleScript:
    C:\Projects\TclCvs\tcl8.3>tclsh83
    % proc iterate {dir} {
      cd $dir
      puts "testing $dir"
      foreach file [glob -nocomplain *] {
        if {[file isfile $file]} {
          if {[catch {set f [open $file r]}]} { continue }
          fconfigure $f -translation binary -encoding ascii
          while {![eof $f]} {
            set data [read $f 1000]
            if {[regexp -- {\r\r\n} $data]} {
              puts "$file has incorrect <eol> sequence of cr,cr,lf"
              break
            }
          }
          close $f
        } elseif {[file isdirectory $file]} {
          lappend dirs $file
        }
      }
    
      set saveDir [pwd]
      if {[info exist dirs]} {
        foreach dir $dirs {
          iterate [file join $saveDir $dir]
          cd $saveDir
        }
      }
    }
    % iterate [pwd]
    
    ObservedBehavior:
    library/dde1.1/pkgIndex.tcl has incorrect <eol> sequence of cr,cr,lf
    library/reg1.0/pkgIndex.tcl has incorrect <eol> sequence of cr,cr,lf
    tools/tcl.hpj.in has incorrect <eol> sequence of cr,cr,lf
    win/tcl.hpj.in has incorrect <eol> sequence of cr,cr,lf
    win/tclWinChan.c has incorrect <eol> sequence of cr,cr,lf
    win/tclWinThrd.c has incorrect <eol> sequence of cr,cr,lf
    
    
    
    The pkgIndex.tcl files and C files were updated, but not the
    tcl.hpj.in which otherwise goof up local builds.  This is
    actually the fault of the CVS communication, as locally these
    files do not contain CRCRLF (just CRLF). 
    -- 04/19/2000 hobbs
    
  4. foundin changed to: "obsolete: 8.3"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "nobody"
  9. subsystem changed to: "61. (unused)"
  10. title changed to:
    incorrect <eol> format in some of the CVS rcs repository fil
    
  11. type changed to: "Bug"