Not requiring $gtm_dist/$ydb_dist to be set when entering mumps/mupip/dse etc. Instead we
will figure out the currently running executable full-path and use that to set ydb_dist/gtm_dist
env var.
In case of call-ins, if $ydb_dist is not set, set it to currently running libyottadb.so
absolute path before calling common_startup_init() which does ydb_dist validation; If ydb_dist
is already set in at ydb_init() call time, then we expect it to be good or else we issue an error
(unlike mumps/mupip/lke etc. where we ignore ydb_dist).
In case of gtmsecshr, enhance verification to check that currently executing image is
$ydb_dist/gtmsecshrdir/gtmsecshr and if not error out; Differentiate the many type
gtmsecshr error messages so we know exactly which of the many similar such messages actually
happened in the field; gtmsecshr does not dlopen libyottadb.so so skip the $ydb_dist/libyottadb.so
check in common_startup_init().
Nix IMAGENAME error (not sure it serves any purpose anymore). That is, it is okay to
rename "mumps" as "mymumps" (or some other name) and invoke it. This should still get to
the YottaDB prompt without errors.
New LIBYOTTAMISMTCH error if $ydb_dist/libyottadb.so does not match currently running
shared library at entry into libyottadb (to catch rogue C callers); Fix pre-existing bug in
dlopen_libyottadb() which incorrectly relied on argv[0] (instead use /proc/self/exe)
Other changes done in this commit are
Rename GT.M usages to YottaDB (mainly in .hlp files)
Rename GTM- usages to YDB- in *.hlp files
Reworked copyright in .hlp files to match online documentation
Rename gtm_dist usages to ydb_dist
Rename GTM_DIST usages to YDB_DIST
Rename gtmdist usages to ydbdist
Rename GTMDIST usages to YDBDIST
Rename GTM_PATH_MAX usages to YDB_PATH_MAX
Rename GTM_IMAGE_NAME usages to YDB_IMAGE_NAME
Replace gtm_dist env var with ydb_dist env var.
Nix VMS-only error message codes
Rename gtm_chk_dist usages to ydb_chk_dist
Rename gtm_startup_chk usages to ydb_startup_chk
Remove set of ydb_dist_ok_to_use to TRUE in gtm_main and move ydb_chk_dist higher up (that
will set ydb_dist_ok_to_use if appropriate)
Rename ydb_startup_chk.c -> ydb_chk_dist.c now that there is only 1 function in this module
The main changes in this commit are
Other changes done in this commit are