aboutsummaryrefslogtreecommitdiff
path: root/lang/itcl/files/patch-generic+itcl_cmds.c
diff options
context:
space:
mode:
authorThierry Thomas <thierry@FreeBSD.org>2005-12-26 14:19:04 +0000
committerThierry Thomas <thierry@FreeBSD.org>2005-12-26 14:19:04 +0000
commit35fa93e4edc58b1ecc4ad1ad17948772d5092971 (patch)
tree027e5f50ec8f47e2b556be8f84d38c0187d2cfe3 /lang/itcl/files/patch-generic+itcl_cmds.c
parenta567364f441931b5f88a66956ad7936c55daa896 (diff)
Updates to use tcl84.
Bump PORTREVISION and add tcl84 to CATEGORIES. PR: N/A (direct mail) Submitted by: Pedro F. Giffuni <giffunip (at) yahoo.com>
Notes
Notes: svn path=/head/; revision=152104
Diffstat (limited to 'lang/itcl/files/patch-generic+itcl_cmds.c')
-rw-r--r--lang/itcl/files/patch-generic+itcl_cmds.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/lang/itcl/files/patch-generic+itcl_cmds.c b/lang/itcl/files/patch-generic+itcl_cmds.c
index 34d8905683e9..d6c48a9b32dd 100644
--- a/lang/itcl/files/patch-generic+itcl_cmds.c
+++ b/lang/itcl/files/patch-generic+itcl_cmds.c
@@ -209,3 +209,14 @@ diff -u -r1.13 -r1.15
cdefn = Itcl_FindClass(interp, name, /* autoload */ 0);
if (cdefn) {
+--- generic/itcl_cmds.c.orig Sun Dec 25 15:16:04 2005
++++ generic/itcl_cmds.c Sun Dec 25 15:28:16 2005
+@@ -996,7 +996,7 @@
+ * then return it as is.
+ */
+ token = Tcl_GetStringFromObj(objv[1], (int*)NULL);
+- if (*token == ':' && *(token+1) == ':') {
++ if (strncmp(token, "::", 2) == 0) {
+ Tcl_SetObjResult(interp, objv[1]);
+ return TCL_OK;
+ }