summaryrefslogtreecommitdiff
path: root/www/mod_dtcl/files/patch-cast
diff options
context:
space:
mode:
Diffstat (limited to 'www/mod_dtcl/files/patch-cast')
-rw-r--r--www/mod_dtcl/files/patch-cast10
1 files changed, 10 insertions, 0 deletions
diff --git a/www/mod_dtcl/files/patch-cast b/www/mod_dtcl/files/patch-cast
new file mode 100644
index 000000000000..e00056db617d
--- /dev/null
+++ b/www/mod_dtcl/files/patch-cast
@@ -0,0 +1,10 @@
+--- mod_dtcl.c Tue May 1 11:56:01 2001
++++ mod_dtcl.c Fri Jun 1 20:29:10 2001
+@@ -792 +792,6 @@
+- chan = Tcl_MakeFileChannel((ClientData *)fileno(upload->fp), TCL_READABLE);
++ union {
++ ClientData handle;
++ int fd;
++ } handle;
++ handle.fd = fileno(upload->fp);
++ chan = Tcl_MakeFileChannel(handle.handle, TCL_READABLE);