Corrected an error in sprintf() writing an array out-of-bounds,
as kindly pointed out by David Binderman.
Update at Mon Feb 10 09:10:28 EST 2014 by tim
Merge branch 'master' into work
Some edits as a result of David Binderman's report on the
results of running cppcheck on the source:  Two failures
to close an open file, and one string vector overrun.
Update at Tue Feb 11 09:32:08 EST 2014 by tim
Merge branch 'master' into work
Corrected two errors preventing the non-Tcl version from
compiling properly.
Update at Mon Mar  3 19:15:51 EST 2014 by tim
Merge branch 'master' into work
Remove RCS IDs. These have not been updated since the move to Git.
Remove sccsids.
Kill more lint cruft.
Fix lots of typos in comments.
Replace index() and rindex() with strchr() and strrchr().

strchr() and strrchr() are both standardized in C89.
index() and rindex() are not.
sys_errlist is not actually used, so remove all reference to it.
Always use <errno.h>, not the nonportable extern definition.
Rely on the C89 sprintf return type.
Remove FANCY_ABORT, which only ever worked on vax anyway.
Assume the C89 string functions exist.
Remove vax definition of MAXINT.