aboutsummaryrefslogtreecommitdiff
path: root/www/mod_dtcl/files/patch-cast
diff options
context:
space:
mode:
authorMikhail Teterin <mi@FreeBSD.org>2001-06-02 13:42:09 +0000
committerMikhail Teterin <mi@FreeBSD.org>2001-06-02 13:42:09 +0000
commit9af76baced11e222a9ebffd9fcf8f1463fcd4b4d (patch)
tree35288173f46286c36e212ea9d1c619948d0d3153 /www/mod_dtcl/files/patch-cast
parent551a15f1e3fe2491d5c5f2c4e8541066592b0e10 (diff)
downloadports-9af76baced11e222a9ebffd9fcf8f1463fcd4b4d.tar.gz
ports-9af76baced11e222a9ebffd9fcf8f1463fcd4b4d.zip
Notes
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);