diff options
author | antirez <antirez> | 2005-03-17 14:47:35 +0000 |
---|---|---|
committer | antirez <antirez> | 2005-03-17 14:47:35 +0000 |
commit | 61e816dc6e8b2beb4e0bb613b59129c6b654955a (patch) | |
tree | 8c5c9cbb3a9d4774ebd38448e79edfb94bb6c483 | |
parent | 6a42d4f854a9f8ec278a8a9c6ed9be9fb2209548 (diff) | |
download | jimtcl-61e816dc6e8b2beb4e0bb613b59129c6b654955a.zip jimtcl-61e816dc6e8b2beb4e0bb613b59129c6b654955a.tar.gz jimtcl-61e816dc6e8b2beb4e0bb613b59129c6b654955a.tar.bz2 |
Applied PATCH #389
"debug command is missing NULL terminator in options :)"
Thanks to Jaen Saul for report + patch.
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | jim.c | 5 |
2 files changed, 7 insertions, 2 deletions
@@ -1,3 +1,7 @@ +2005-03-17 14:06 antirez + + * ChangeLog, jim.c, jim.h: Objects hash function changed. + 2005-03-17 08:40 antirez * ChangeLog, jim.c, jim.h: [source] command added. @@ -1,7 +1,7 @@ /* Jim - A small embeddable Tcl interpreter * Copyright 2005 Salvatore Sanfilippo <antirez@invece.org> * - * $Id: jim.c,v 1.116 2005/03/17 13:06:27 antirez Exp $ + * $Id: jim.c,v 1.117 2005/03/17 14:47:35 antirez Exp $ * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -8799,6 +8799,7 @@ static int Jim_DebugCoreCommand(Jim_Interp *interp, int argc, { const char *options[] = { "refcount", "objcount", "objects", "invstr", "scriptlen", "exprlen", + NULL }; enum { OPT_REFCOUNT, OPT_OBJCOUNT, OPT_OBJECTS, OPT_INVSTR, OPT_SCRIPTLEN, @@ -10134,7 +10135,7 @@ int Jim_InteractivePrompt(Jim_Interp *interp) printf("Welcome to Jim version %d.%d, " "Copyright (c) 2005 Salvatore Sanfilippo\n", JIM_VERSION / 100, JIM_VERSION % 100); - printf("CVS ID: $Id: jim.c,v 1.116 2005/03/17 13:06:27 antirez Exp $\n"); + printf("CVS ID: $Id: jim.c,v 1.117 2005/03/17 14:47:35 antirez Exp $\n"); while (1) { char buf[1024]; const char *result; |