Skip to content

Commit 9bdfc33

Browse files
author
jan.nijtmans
committed
*.decls files are now in UTF-8. Use "in" operator in stead of "lsearch -exact".
1 parent 79f1680 commit 9bdfc33

File tree

5 files changed

+9
-9
lines changed

5 files changed

+9
-9
lines changed

generic/tcl.decls

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55
# This file is used to generate the tclDecls.h, tclPlatDecls.h
66
# and tclStubInit.c files.
77
#
8-
# Copyright (c) 1998-1999 by Scriptics Corporation.
9-
# Copyright (c) 2001, 2002 by Kevin B. Kenny. All rights reserved.
10-
# Copyright (c) 2007 Daniel A. Steffen <das@users.sourceforge.net>
8+
# Copyright © 1998-1999 Scriptics Corporation.
9+
# Copyright © 2001, 2002 Kevin B. Kenny. All rights reserved.
10+
# Copyright © 2007 Daniel A. Steffen <das@users.sourceforge.net>
1111
#
1212
# See the file "license.terms" for information on usage and redistribution
1313
# of this file, and for a DISCLAIMER OF ALL WARRANTIES.

generic/tclInt.decls

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55
# is used to generate the tclIntDecls.h, tclIntPlatDecls.h
66
# and tclStubInit.c files
77
#
8-
# Copyright (c) 1998-1999 by Scriptics Corporation.
9-
# Copyright (c) 2001 by Kevin B. Kenny. All rights reserved.
10-
# Copyright (c) 2007 Daniel A. Steffen <das@users.sourceforge.net>
8+
# Copyright © 1998-1999 Scriptics Corporation.
9+
# Copyright © 2001 Kevin B. Kenny. All rights reserved.
10+
# Copyright © 2007 Daniel A. Steffen <das@users.sourceforge.net>
1111
#
1212
# See the file "license.terms" for information on usage and redistribution
1313
# of this file, and for a DISCLAIMER OF ALL WARRANTIES.

generic/tclOO.decls

Lines changed: 1 addition & 1 deletion
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

Lines changed: 1 addition & 1 deletion
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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1101,7 +1101,7 @@ proc genStubs::emitInit {name textVar} {
11011101
}
11021102
foreach intf [array names interfaces] {
11031103
if {[info exists hooks($intf)]} {
1104-
if {[lsearch -exact $hooks($intf) $name] >= 0} {
1104+
if {$name in $hooks($intf)} {
11051105
set root 0
11061106
break
11071107
}

0 commit comments

Comments
 (0)