Skip to content
Tcl Source Code View Ticket
Login

View Ticket

tidying up auto.tcl

Closed / Fixed219048ffffffffffffffffffffffffffffffffffCreated 26 years agoUpdated 26 years ago
Descriptionplain2000-10-26 01:09:53
OriginalBugID: 4122 Bug
Version: 8.3b2
SubmitDate: '2000-02-03'
LastModified: '2000-02-08'
Severity: LOW
Status: Released
Submitter: techsupp
ChangedBy: hobbs
OS: All
FixedDate: '2000-02-08'
FixedInVersion: 8.3
ClosedDate: '2000-10-25'


Name:

Don Porter



CVS:

$Id: auto.tcl,v 1.6 2000/02/01 01:14:01 ericm Exp $



Comments:

Users who want to understand the auto_mkindex_parser need to

    be pointed to the right file, and once they are there, they

    should not be confused by undocumented forms of commands.



Patch:

Index: doc/library.n

===================================================================

RCS file: /cvsroot/tcl/doc/library.n,v

retrieving revision 1.9

diff -c -r1.9 library.n

*** library.n   2000/02/01 01:14:01     1.9

--- library.n   2000/02/03 22:25:16

***************

*** 131,137 ****

  Extensions can use the (undocumented)

  auto_mkindex_parser package to register other commands that

  can contribute to the auto_load index.

! You will have to read through init.tcl to see how this works.

  .PP

  \fBAuto_mkindex_old\fR parses the Tcl scripts in a relatively

  unsophisticated way:  if any line contains the word \fBproc\fR

--- 131,137 ----

  Extensions can use the (undocumented)

  auto_mkindex_parser package to register other commands that

  can contribute to the auto_load index.

! You will have to read through auto.tcl to see how this works.

  .PP

  \fBAuto_mkindex_old\fR parses the Tcl scripts in a relatively

  unsophisticated way:  if any line contains the word \fBproc\fR

Index: library/auto.tcl

===================================================================

RCS file: /cvsroot/tcl/library/auto.tcl,v

retrieving revision 1.6

diff -c -r1.6 auto.tcl

*** auto.tcl    2000/02/01 01:14:01     1.6

--- auto.tcl    2000/02/03 22:25:17

***************

*** 182,188 ****

      auto_mkindex_parser::cleanup

  

      set fid [open "tclIndex" w]

!     puts $fid $index nonewline

      close $fid

      cd $oldDir

  }

--- 182,188 ----

      auto_mkindex_parser::cleanup

  

      set fid [open "tclIndex" w]

!     puts -nonewline $fid $index

      close $fid

      cd $oldDir

  }

***************

*** 229,235 ****

      set f ""

      set error [catch {

        set f [open tclIndex w]

!       puts $f $index nonewline

        close $f

        cd $oldDir

      } msg]

--- 229,235 ----

      set f ""

      set error [catch {

        set f [open tclIndex w]

!       puts -nonewline $f $index

        close $f

        cd $oldDir

      } msg]



PatchFiles:

doc/library.n

    library/auto.tcl





applied patch for 8.3.0 release 
-- 02/08/2000 hobbs
welch Closed ticket [219048ffff]. [History diff]2000-10-26 08:34:05
dgp Ticket [219048ffff]: 3 changes [History diff]2001-04-19 11:19:36
Log in (anonymous is fine) to add a comment.