You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tcl.apache.org by mx...@apache.org on 2018/11/20 21:51:29 UTC
[tcl-rivet] branch 3.0 updated: add variable specifier
This is an automated email from the ASF dual-hosted git repository.
mxmanghi pushed a commit to branch 3.0
in repository https://gitbox.apache.org/repos/asf/tcl-rivet.git
The following commit(s) were added to refs/heads/3.0 by this push:
new 7aed284 add variable specifier
7aed284 is described below
commit 7aed284eb955684ae4651c35783ae6651262feb0
Author: Massimo Manghi <mx...@apache.org>
AuthorDate: Tue Nov 20 22:03:30 2018 +0100
add variable specifier
---
ChangeLog | 3 +++
src/mod_rivet_ng/rivetCore.c | 2 +-
2 files changed, 4 insertions(+), 1 deletion(-)
diff --git a/ChangeLog b/ChangeLog
index 037ee0e..1b1e9ce 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,6 @@
+2018-11-20 Massimo Manghi <mx...@apache.org>
+ * src/mod_rivet_ng/rivetCore.c: add const specifier to variable definition
+
2018-11-18 Massimo Manghi <mx...@apache.org>
* configure.ac,VERSION: bumping to version 3.0.4
* src/mod_rivet_ng/rivetCore.c: stripping the namespace in the commands
diff --git a/src/mod_rivet_ng/rivetCore.c b/src/mod_rivet_ng/rivetCore.c
index fde7281..66cb9d8 100644
--- a/src/mod_rivet_ng/rivetCore.c
+++ b/src/mod_rivet_ng/rivetCore.c
@@ -638,7 +638,7 @@ TCL_CMD_HEADER ( Rivet_LoadHeaders )
TCL_CMD_HEADER ( Rivet_Var )
{
rivet_thread_private* private;
- char* cmd;
+ const char* cmd;
char* command;
Tcl_Obj* result = NULL;
int source;
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@tcl.apache.org
For additional commands, e-mail: commits-help@tcl.apache.org