You are viewing a plain text version of this content. The canonical link for it is here.
Posted to site-cvs@tcl.apache.org by mx...@apache.org on 2018/02/18 00:03:09 UTC
svn commit: r1824638 - in /tcl/rivet/trunk: ChangeLog Makefile.in NOTICE
doc/rivet.xml src/mod_rivet_ng/worker_prefork_common.c
Author: mxmanghi
Date: Sun Feb 18 00:03:09 2018
New Revision: 1824638
URL: http://svn.apache.org/viewvc?rev=1824638&view=rev
Log:
* NOTICE: update copyright statement
* src/mod_rivet_ng/worker_prefork_common.c: Rivet_CleanupProcessor
to call RivetCache_Cleanup
* doc/rivet.xml: new version in docs
Modified:
tcl/rivet/trunk/ChangeLog
tcl/rivet/trunk/Makefile.in
tcl/rivet/trunk/NOTICE
tcl/rivet/trunk/doc/rivet.xml
tcl/rivet/trunk/src/mod_rivet_ng/worker_prefork_common.c
Modified: tcl/rivet/trunk/ChangeLog
URL: http://svn.apache.org/viewvc/tcl/rivet/trunk/ChangeLog?rev=1824638&r1=1824637&r2=1824638&view=diff
==============================================================================
--- tcl/rivet/trunk/ChangeLog (original)
+++ tcl/rivet/trunk/ChangeLog Sun Feb 18 00:03:09 2018
@@ -1,3 +1,9 @@
+2018-02-17 Massimo Manghi <mx...@apache.org>
+ * NOTICE: update copyright statement
+ * src/mod_rivet_ng/worker_prefork_common.c: Rivet_CleanupProcessor
+ to call RivetCache_Cleanup
+ * doc/rivet.xml: new version in docs
+
2018-02-08 Massimo Manghi <mx...@apache.org>
* VERSION,configure.ac: bumping version to 3.0.2
Modified: tcl/rivet/trunk/Makefile.in
URL: http://svn.apache.org/viewvc/tcl/rivet/trunk/Makefile.in?rev=1824638&r1=1824637&r2=1824638&view=diff
==============================================================================
--- tcl/rivet/trunk/Makefile.in (original)
+++ tcl/rivet/trunk/Makefile.in Sun Feb 18 00:03:09 2018
@@ -1,7 +1,7 @@
-# Makefile.in generated by automake 1.15 from Makefile.am.
+# Makefile.in generated by automake 1.15.1 from Makefile.am.
# @configure_input@
-# Copyright (C) 1994-2014 Free Software Foundation, Inc.
+# Copyright (C) 1994-2017 Free Software Foundation, Inc.
# This Makefile.in is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
@@ -669,7 +669,7 @@ distdir: $(DISTFILES)
! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \
|| chmod -R a+r "$(distdir)"
dist-gzip: distdir
- tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
+ tardir=$(distdir) && $(am__tar) | eval GZIP= gzip $(GZIP_ENV) -c >$(distdir).tar.gz
$(am__post_remove_distdir)
dist-bzip2: distdir
@@ -695,7 +695,7 @@ dist-shar: distdir
@echo WARNING: "Support for shar distribution archives is" \
"deprecated." >&2
@echo WARNING: "It will be removed altogether in Automake 2.0" >&2
- shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
+ shar $(distdir) | eval GZIP= gzip $(GZIP_ENV) -c >$(distdir).shar.gz
$(am__post_remove_distdir)
dist-zip: distdir
@@ -713,7 +713,7 @@ dist dist-all:
distcheck: dist
case '$(DIST_ARCHIVES)' in \
*.tar.gz*) \
- GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\
+ eval GZIP= gzip $(GZIP_ENV) -dc $(distdir).tar.gz | $(am__untar) ;;\
*.tar.bz2*) \
bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\
*.tar.lz*) \
@@ -723,7 +723,7 @@ distcheck: dist
*.tar.Z*) \
uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
*.shar.gz*) \
- GZIP=$(GZIP_ENV) gzip -dc $(distdir).shar.gz | unshar ;;\
+ eval GZIP= gzip $(GZIP_ENV) -dc $(distdir).shar.gz | unshar ;;\
*.zip*) \
unzip $(distdir).zip ;;\
esac
Modified: tcl/rivet/trunk/NOTICE
URL: http://svn.apache.org/viewvc/tcl/rivet/trunk/NOTICE?rev=1824638&r1=1824637&r2=1824638&view=diff
==============================================================================
--- tcl/rivet/trunk/NOTICE (original)
+++ tcl/rivet/trunk/NOTICE Sun Feb 18 00:03:09 2018
@@ -1,6 +1,6 @@
Apache Rivet
-Copyright 2002-17 The Apache Software Foundation
+Copyright 2002-2018 The Apache Software Foundation
This product includes software developed by
The Apache Software Foundation (http://www.apache.org/).
Modified: tcl/rivet/trunk/doc/rivet.xml
URL: http://svn.apache.org/viewvc/tcl/rivet/trunk/doc/rivet.xml?rev=1824638&r1=1824637&r2=1824638&view=diff
==============================================================================
--- tcl/rivet/trunk/doc/rivet.xml (original)
+++ tcl/rivet/trunk/doc/rivet.xml Sun Feb 18 00:03:09 2018
@@ -36,7 +36,7 @@
<!ENTITY lazybridge.xml SYSTEM "xml/lazybridge.xml" >
<!ENTITY formbroker.xml SYSTEM "xml/formbroker.xml" >
<!ENTITY version "3.0" >
- <!ENTITY fullversion "3.0.1" >
+ <!ENTITY fullversion "3.0.2" >
<!ENTITY version2-series "2.0,2.1,2.2,2.3" >
<!ENTITY version2-generic "2.x" >
<!ENTITY version30 "3.0" >
Modified: tcl/rivet/trunk/src/mod_rivet_ng/worker_prefork_common.c
URL: http://svn.apache.org/viewvc/tcl/rivet/trunk/src/mod_rivet_ng/worker_prefork_common.c?rev=1824638&r1=1824637&r2=1824638&view=diff
==============================================================================
--- tcl/rivet/trunk/src/mod_rivet_ng/worker_prefork_common.c (original)
+++ tcl/rivet/trunk/src/mod_rivet_ng/worker_prefork_common.c Sun Feb 18 00:03:09 2018
@@ -272,8 +272,6 @@ rivet_thread_private* Rivet_VirtualHosts
void Rivet_ProcessorCleanup (void *data)
{
rivet_thread_private* private = (rivet_thread_private *) data;
- Tcl_HashSearch* searchCtx;
- Tcl_HashEntry* entry;
int i;
rivet_server_conf* rsc = RIVET_SERVER_CONF(module_globals->server->module_config);
@@ -293,24 +291,14 @@ void Rivet_ProcessorCleanup (void *data)
Tcl_SetStdChannel(NULL,TCL_STDOUT);
/* there must be always a root interpreter in the slot 0 of private->interps,
- so there is always need to run at least one cycle here */
+ so we always need to run this cycle at least onece */
i = 0;
do
{
- /* cleaning the cache contents and deleting it */
+ RivetCache_Cleanup(private,private->ext->interps[i]);
- searchCtx = apr_pcalloc(private->pool,sizeof(Tcl_HashSearch));
- entry = Tcl_FirstHashEntry(private->ext->interps[i]->objCache,searchCtx);
- while (entry)
- {
- Tcl_DecrRefCount(Tcl_GetHashValue(entry)); /* Let Tcl clear the mem allocated */
- Tcl_DeleteHashEntry(entry);
-
- entry = Tcl_NextHashEntry(searchCtx);
- }
-
if ((i > 0) && rsc->separate_channels)
Rivet_ReleaseRivetChannel(private->ext->interps[i]->interp,private->channel);
---------------------------------------------------------------------
To unsubscribe, e-mail: site-cvs-unsubscribe@tcl.apache.org
For additional commands, e-mail: site-cvs-help@tcl.apache.org