This is an automated email from the ASF dual-hosted git repository. mxmanghi pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/tcl-rivet.git
The following commit(s) were added to refs/heads/master by this push: new 0e040a4 changing wrong comment referring to the old-time cache size pointers in the rivet config structure 0e040a4 is described below commit 0e040a49fef476984077e814d56ec3e1e4e5440f Author: Massimo Manghi <mxman...@apache.org> AuthorDate: Mon Nov 18 12:14:58 2024 +0100 changing wrong comment referring to the old-time cache size pointers in the rivet config structure --- src/mod_rivet_ng/mod_rivet_common.c | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/src/mod_rivet_ng/mod_rivet_common.c b/src/mod_rivet_ng/mod_rivet_common.c index a742631..6eed1a2 100644 --- a/src/mod_rivet_ng/mod_rivet_common.c +++ b/src/mod_rivet_ng/mod_rivet_common.c @@ -329,7 +329,10 @@ void Rivet_PerInterpInit(rivet_thread_interp* interp_obj, interp_obj->flags |= RIVET_INTERP_INITIALIZED; } - /* -- Rivet_NewVHostInterp + /* + *----------------------------------------------------------------------------- + * + * -- Rivet_NewVHostInterp * * Returns a new rivet_thread_interp object with a new Tcl interpreter * configuration scripts and cache. The pool passed to Rivet_NewVHostInterp @@ -341,6 +344,7 @@ void Rivet_PerInterpInit(rivet_thread_interp* interp_obj, * Returned value: * a rivet_thread_interp* record object * + *----------------------------------------------------------------------------- */ rivet_thread_interp* Rivet_NewVHostInterp(apr_pool_t *pool,int default_cache_size) @@ -360,9 +364,9 @@ rivet_thread_interp* Rivet_NewVHostInterp(apr_pool_t *pool,int default_cache_siz return NULL; } - /* We now read from the pointers to the cache_size and cache_free conf parameters - * for compatibility with mod_rivet current version, but these values must become - * integers not pointers + /* + * Determining the default cache size of the Rivet interpreter object + * In case the argument default_cache_size == 0 the cache is disabled */ if (default_cache_size < 0) { --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@tcl.apache.org For additional commands, e-mail: commits-h...@tcl.apache.org