[go: up one dir, main page]

Menu

Commit [r5637]  Maximize  Restore  History

new COB_LOAD_GLOBAL boolean

this allows requesting global/local symboling for loading shared objects;
previously this was system-dependent, now it is _requested_ as "local" for all environments

config/runtime.cfg: add COB_LOAD_GLOBAL

libcob:
* call.c (cob_dlopen): new function used instead of partially re-defining lt_dlopen; changed default to not load symbols to the global namespace any more but locally (was always the case for _WIN32)
* common.c, coblocal.h (cob_settings): added boolean COB_LOAD_GLOBAL to toggle into which namespace the symbols of CALLed programs should be made available
* call.c (cob_dlopen, add_to_preload, cache_preload, cob_exit_call): handle COB_LOAD_GLOBAL (load_global)

sf-mensch 2026-01-22

changed /branches/gnucobol-3.x/NEWS
changed /branches/gnucobol-3.x/config/ChangeLog
changed /branches/gnucobol-3.x/config/runtime.cfg
changed /branches/gnucobol-3.x/libcob/ChangeLog
changed /branches/gnucobol-3.x/libcob/call.c
changed /branches/gnucobol-3.x/libcob/coblocal.h
changed /branches/gnucobol-3.x/libcob/common.c
changed /branches/gnucobol-3.x/tests/testsuite.src/run_misc.at