Skip to content

Commit 030ce31

Browse files
author
jan.nijtmans
committed
Merge 8.7
2 parents 1e0c534 + 5ef43bf commit 030ce31

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

generic/tclOO.decls

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
# library via the stubs table. This file is used to generate the
66
# tclOODecls.h, tclOOIntDecls.h and tclOOStubInit.c files.
77
#
8-
# Copyright (c) 2008-2013 by Donal K. Fellows.
8+
# Copyright © 2008-2013 Donal K. Fellows.
99
#
1010
# See the file "license.terms" for information on usage and redistribution of
1111
# this file, and for a DISCLAIMER OF ALL WARRANTIES.

generic/tclTomMath.decls

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
# If you edit this file, advance the revision number (and the epoch
88
# if the new stubs are not backward compatible) in tclTomMathDecls.h
99
#
10-
# Copyright (c) 2005 by Kevin B. Kenny. All rights reserved.
10+
# Copyright © 2005 Kevin B. Kenny. All rights reserved.
1111
#
1212
# See the file "license.terms" for information on usage and redistribution
1313
# of this file, and for a DISCLAIMER OF ALL WARRANTIES.

tools/genStubs.tcl

+3-2
Original file line numberDiff line numberDiff line change
@@ -257,6 +257,7 @@ proc genStubs::rewriteFile {file text} {
257257
return
258258
}
259259
set in [open ${file} r]
260+
fconfigure $in -eofchar "\032 {}" -encoding utf-8
260261
set out [open ${file}.new w]
261262
fconfigure $out -translation lf -encoding utf-8
262263

@@ -1100,7 +1101,7 @@ proc genStubs::emitInit {name textVar} {
11001101
}
11011102
foreach intf [array names interfaces] {
11021103
if {[info exists hooks($intf)]} {
1103-
if {[lsearch -exact $hooks($intf) $name] >= 0} {
1104+
if {$name in $hooks($intf)} {
11041105
set root 0
11051106
break
11061107
}
@@ -1191,7 +1192,7 @@ proc genStubs::init {} {
11911192
set outDir [lindex $argv 0]
11921193

11931194
foreach file [lrange $argv 1 end] {
1194-
source $file
1195+
source -encoding utf-8 $file
11951196
}
11961197

11971198
foreach name [lsort [array names interfaces]] {

0 commit comments

Comments
 (0)