You are viewing a plain text version of this content. The canonical link for it is here.
Posted to rivet-dev@tcl.apache.org by mx...@apache.org on 2009/11/03 19:12:28 UTC
svn commit: r832490 - /tcl/rivet/trunk/src/apache-2/rivetCore.c
Author: mxmanghi
Date: Tue Nov 3 18:12:28 2009
New Revision: 832490
URL: http://svn.apache.org/viewvc?rev=832490&view=rev
Log:
* src/apache-2/rivetCore.c: in function Rivet_Upload the list of subcommands had 2 entries for 'tempname" leading Tcl_GetIndexfromObject to mismatch the entry for the 'names' subcommand with its numerical counterpart. This caused the child process to segfault when processing a 'upload names' command.
Modified:
tcl/rivet/trunk/src/apache-2/rivetCore.c
Modified: tcl/rivet/trunk/src/apache-2/rivetCore.c
URL: http://svn.apache.org/viewvc/tcl/rivet/trunk/src/apache-2/rivetCore.c?rev=832490&r1=832489&r2=832490&view=diff
==============================================================================
--- tcl/rivet/trunk/src/apache-2/rivetCore.c (original)
+++ tcl/rivet/trunk/src/apache-2/rivetCore.c Tue Nov 3 18:12:28 2009
@@ -836,7 +836,6 @@
"filename",
"tempname",
"names",
- "tempname",
NULL
};
@@ -848,8 +847,8 @@
SIZE,
TYPE,
FILENAME,
- NAMES,
- TEMPNAME
+ TEMPNAME,
+ NAMES
};
rivet_interp_globals *globals = Tcl_GetAssocData(interp, "rivet", NULL);
@@ -863,7 +862,8 @@
/* If it's any of these, we need to find a specific name. */
- /* Excluded cases are EXISTS and NAMES. */
+ /* Excluded case is NAMES. */
+
if ((enum subcommand)subcommandindex == CHANNEL ||
(enum subcommand)subcommandindex == SAVE ||
(enum subcommand)subcommandindex == DATA ||
---------------------------------------------------------------------
To unsubscribe, e-mail: rivet-cvs-unsubscribe@tcl.apache.org
For additional commands, e-mail: rivet-cvs-help@tcl.apache.org