Update shipped Tcl.html

Signed-off-by: Steve Bennett <steveb@workware.net.au>
aio: fix open called with wrong number of arguments
jim.c: properly free cached callframes

Commit 87ea45c91e removed the code to free cached callframes
when the interpreter is freed. Restore that code.

Signed-off-by: Steve Bennett <steveb@workware.net.au>
build-jim-ext: load using ./$filename

dlopen() may ignore the current directory if the pathname
doesn't include a slash

Reported-by: Paul Chakravarti <paul.chakravarti@gmail.com>
Signed-off-by: Steve Bennett <steveb@workware.net.au>
package: fix corruption of versions string

Partially revert 5f31686cb40c5b84638dbb5ffe1ad327440e1903

The version isn't allocated in the hash table, so we
can't take a reference to a version object.

Packages once again have a fixed, dummy "1.0" version.

Reported-by: Florian Schäfer <florian.schaefer+github@gmail.com>
Signed-off-by: Steve Bennett <steveb@workware.net.au>
file: fix stat file size for large files

Reported-by: Andy <jimdevel@hummypkg.org.uk>
Signed-off-by: Steve Bennett <steveb@workware.net.au>
jim.c: preserve source info on interpolation

Preserve the source info for an interpolated script where possible.
e.g.

  set script "puts $x"

Signed-off-by: Steve Bennett <steveb@workware.net.au>
jim.c: check for missing quotes, etc. in eval, expr

Throw an error if a script or expression is missing a trailing bracket, brace
or quote rather than simply ignoring the error.

Reported-by: Florian Schäfer <florian.schaefer+github@gmail.com>
Signed-off-by: Steve Bennett <steveb@workware.net.au>
jim.c: Restore errors for Jim_EvalFile()

Jim_EvalFile() needs to explictly add an error stack frame.

Reported-by: Florian Schäfer <florian.schaefer+github@gmail.com>
Signed-off-by: Steve Bennett <steveb@workware.net.au>
aio: close filehandle after Jim_DeleteFileHandler

Avoids a coverity warning

Signed-off-by: Steve Bennett <steveb@workware.net.au>
os.gethostname: avoid mem leak on gethostname failure

Courtesy of coverity

Signed-off-by: Steve Bennett <steveb@workware.net.au>
file: avoid mem leak on mkstemp failure

Courtesy of coverity

Signed-off-by: Steve Bennett <steveb@workware.net.au>
jim.c: missing va_end

Courtesy of coverity

Signed-off-by: Steve Bennett <steveb@workware.net.au>
array: avoid crash on unset variable

Fix the case where the variable does not exist and a pattern is specified.

Courtesy of coverity

Signed-off-by: Steve Bennett <steveb@workware.net.au>
jimregexp: missing break for \U handling

Courtesy of coverity

Signed-off-by: Steve Bennett <steveb@workware.net.au>
jim.c: fix a minor typo

Courtesy of coverity

Signed-off-by: Steve Bennett <steveb@workware.net.au>
jimregexp: remove dead code

Courtesy of coverity

Signed-off-by: Steve Bennett <steveb@workware.net.au>
jim.c: Fix invalid bit shift

Courtesy of coverity

Signed-off-by: Steve Bennett <steveb@workware.net.au>
jim.c: fix mem leak in foreach

In this invalid script:

	foreach a {0 1 2} {} {3 4 5} {
		# ...
	}

Courtesy of coverity

Signed-off-by: Steve Bennett <steveb@workware.net.au>
signal: remote a coverity false positive

Just use memset to initialise the sigaction

Signed-off-by: Steve Bennett <steveb@workware.net.au>