You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mod_dtcl-cvs@tcl.apache.org by da...@apache.org on 2001/08/08 17:01:52 UTC
cvs commit: tcl-moddtcl/docs help.html nav.html other.html
davidw 01/08/08 08:01:52
Modified: . mod_dtcl.c mod_dtcl.spec tcl_commands.c
docs nav.html other.html
Added: docs help.html
Log:
Fixed MakeFileChannel to use ClientData, not ClientData*. Thanks to
Mikhail.
Created a 'help' page in the docs.
Updated spec file, thanks to Simon Greaves.
Revision Changes Path
1.45 +2 -2 tcl-moddtcl/mod_dtcl.c
Index: mod_dtcl.c
===================================================================
RCS file: /home/cvs/tcl-moddtcl/mod_dtcl.c,v
retrieving revision 1.44
retrieving revision 1.45
diff -u -r1.44 -r1.45
--- mod_dtcl.c 2001/08/03 14:32:54 1.44
+++ mod_dtcl.c 2001/08/08 15:01:51 1.45
@@ -57,7 +57,7 @@
* originally written at the National Center for Supercomputing Applications,
* University of Illinois, Urbana-Champaign. */
-/* $Id: mod_dtcl.c,v 1.44 2001/08/03 14:32:54 davidw Exp $ */
+/* $Id: mod_dtcl.c,v 1.45 2001/08/08 15:01:51 davidw Exp $ */
/* mod_dtcl.c by David Welton <da...@apache.org> - originally mod_include. */
/* See http://tcl.apache.org/mod_dtcl/credits.ttml for additional credits. */
@@ -666,7 +666,7 @@
{
if (upload->fp != NULL)
{
- chan = Tcl_MakeFileChannel((ClientData *)fileno(upload->fp), TCL_READABLE);
+ chan = Tcl_MakeFileChannel((ClientData)fileno(upload->fp), TCL_READABLE);
Tcl_RegisterChannel(interp, chan);
channelname = Tcl_GetChannelName(chan);
Tcl_ObjSetVar2(interp,
1.3 +5 -2 tcl-moddtcl/mod_dtcl.spec
Index: mod_dtcl.spec
===================================================================
RCS file: /home/cvs/tcl-moddtcl/mod_dtcl.spec,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- mod_dtcl.spec 2001/05/02 11:29:35 1.2
+++ mod_dtcl.spec 2001/08/08 15:01:51 1.3
@@ -3,7 +3,7 @@
Summary: Simple, fast Tcl server side scripting for Apache.
Name: mod_dtcl
-Version: 0.10.1
+Version: 0.11.1
Release: 1
Copyright: Freely distributable and usable
Group: System Environment/Daemons
@@ -23,7 +23,7 @@
use the extensive codebase of existing Tcl code, on the web.
%prep
-%setup -n %{name}-%{version}
+%setup -n %{name}
sed -e 's/^INC=.*/INC=\/usr\/include\/apache/' \
-e 's/^APACHE=.*/APACHE=\/usr\/sbin/' \
< builddtcl.sh > rpm-builddtcl.sh
@@ -45,6 +45,9 @@
%{_libdir}/apache/mod_dtcl.so
%changelog
+* Wed Aug 1 2001 Simon Greaves <Si...@bigfoot.com>
+- mod_dtcl-0.11.1 packaged.
+
* Wed May 2 2001 Simon Greaves <Si...@bigfoot.com>
- slight tweaks for mod_dtcl-0.10.1.
1.15 +3 -3 tcl-moddtcl/tcl_commands.c
Index: tcl_commands.c
===================================================================
RCS file: /home/cvs/tcl-moddtcl/tcl_commands.c,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -r1.14 -r1.15
--- tcl_commands.c 2001/08/03 14:32:54 1.14
+++ tcl_commands.c 2001/08/08 15:01:51 1.15
@@ -684,7 +684,7 @@
{
/* create and return a file channel */
char *channelname = NULL;
- chan = Tcl_MakeFileChannel((ClientData *)fileno(
+ chan = Tcl_MakeFileChannel((ClientData)fileno(
ApacheUpload_FILE(upload)), TCL_READABLE);
Tcl_RegisterChannel(interp, chan);
channelname = Tcl_GetChannelName(chan);
@@ -709,7 +709,7 @@
else
Tcl_SetChannelOption(interp, savechan, "-translation", "binary");
- chan = Tcl_MakeFileChannel((ClientData *)fileno(
+ chan = Tcl_MakeFileChannel((ClientData)fileno(
ApacheUpload_FILE(upload)), TCL_READABLE);
Tcl_SetChannelOption(interp, chan, "-translation", "binary");
@@ -736,7 +736,7 @@
Tcl_Channel chan = NULL;
bytes = Tcl_Alloc(ApacheUpload_size(upload));
- chan = Tcl_MakeFileChannel((ClientData *)fileno(
+ chan = Tcl_MakeFileChannel((ClientData)fileno(
ApacheUpload_FILE(upload)), TCL_READABLE);
Tcl_SetChannelOption(interp, chan, "-translation", "binary");
Tcl_SetChannelOption(interp, chan, "-encoding", "binary");
1.2 +4 -0 tcl-moddtcl/docs/nav.html
Index: nav.html
===================================================================
RCS file: /home/cvs/tcl-moddtcl/docs/nav.html,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- nav.html 2001/06/15 17:19:47 1.1
+++ nav.html 2001/08/08 15:01:52 1.2
@@ -39,6 +39,10 @@
</tr>
<tr>
+ <td><a target="right" href="help.html">Getting Help</a></td>
+ </tr>
+
+ <tr>
<td><a target="_top" href="http://tcl.apache.org/mod_dtcl/">mod_dtcl
web site</a></td>
</tr>
1.2 +1 -22 tcl-moddtcl/docs/other.html
Index: other.html
===================================================================
RCS file: /home/cvs/tcl-moddtcl/docs/other.html,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- other.html 2001/06/15 17:19:47 1.1
+++ other.html 2001/08/08 15:01:52 1.2
@@ -71,27 +71,6 @@
arguments, whereas this was not necessary in the past.
</li>
</ul>
-
- <h3>Getting Help</h3>
- <ul>
- <li><b>Mailing list</b><br>
- <p>
- The mod_dtcl mailing list is the best place to go for help
- when you have problems.
- </p>
- <p>
- See the <a
- target="_top" href="http://tcl.apache.org/mod_dtcl/contact.ttml">Contact</a>
- page for information on sending
- mail/subscribing.
- </p>
- <p>
- Mailing list archives are also available at <a
- target="_top" href="http://archive.covalent.net">http://archive.covalent.net</a>,
- at the bottom of the page.
- </p>
- </li>
- </ul>
</body>
</html>
- <!-- $Id: other.html,v 1.1 2001/06/15 17:19:47 davidw Exp $ -->
\ No newline at end of file
+ <!-- $Id: other.html,v 1.2 2001/08/08 15:01:52 davidw Exp $ -->
\ No newline at end of file
1.1 tcl-moddtcl/docs/help.html
Index: help.html
===================================================================
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>miscellaneous mod_dtcl documentation</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<h2>Where to get help with mod_dtcl</h2>
<ul>
<li><b>Mailing list</b><br>
<p>
The mod_dtcl mailing list is the best place to go for help
when you have problems.
</p>
<p>
<a
href="mailto:mod_dtcl@tcl.apache.org">mod_dtcl@tcl.apache.org</a>
is the mailing list address.
<p>To subscribe to the mailing list, send an empty email
to <a
href="mailto:mod_dtcl-subscribe@tcl.apache.org">mod_dtcl-subscribe@tcl.apache.org</a>.</p>
</p>
<p>
Currently, lists are not archived. If you'd like to help
out, let us know.
</p>
</li>
</ul>
</body>
</html>
<!-- $Id: help.html,v 1.1 2001/08/08 15:01:52 davidw Exp $ -->