summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-tcltk/tclx/files/tclx-8.3-varinit.patch')
-rw-r--r--dev-tcltk/tclx/files/tclx-8.3-varinit.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/dev-tcltk/tclx/files/tclx-8.3-varinit.patch b/dev-tcltk/tclx/files/tclx-8.3-varinit.patch
new file mode 100644
index 000000000000..3ad6d677f209
--- /dev/null
+++ b/dev-tcltk/tclx/files/tclx-8.3-varinit.patch
@@ -0,0 +1,12 @@
+--- tclx8.3/tcl/generic/tclXdup.c.varinit Wed Aug 8 00:12:11 2001
++++ tclx8.3/tcl/generic/tclXdup.c Wed Aug 8 00:12:30 2001
+@@ -202,7 +202,7 @@
+ {
+ Tcl_Channel newChannel;
+ int bindFnum, fnum;
+- char *srcChannelId, *targetChannelId;
++ char *srcChannelId = NULL, *targetChannelId;
+
+ if ((objc < 2) || (objc > 3)) {
+ return TclX_WrongArgs (interp, objv [0],
+