Really abort if failed to read /proc for library registration (Linux)
authorIvan Maidanski <ivmai@mail.ru>
Fri, 4 May 2018 08:15:55 +0000 (11:15 +0300)
committerIvan Maidanski <ivmai@mail.ru>
Fri, 4 May 2018 08:15:55 +0000 (11:15 +0300)
commiteba63329da6ccb3bd1f2293affd655575a688c59
tree7c876f65f90abc95278a25ed42d4b04367a5c48c
parent8d954191267082122348ae3b919673d8f3493247
Really abort if failed to read /proc for library registration (Linux)

* dyn_load.c [USE_PROC_FOR_LIBRARIES] (GC_register_map_entries):
Change return type from word to void; remove "return 1".
* dyn_load.c [USE_PROC_FOR_LIBRARIES] (GC_register_dynamic_libraries):
Call ABORT() if GC_get_maps() returned null.
* os_dep.c [NEED_PROC_MAPS] (GC_get_maps): Remove outdated comment
(about fn).
dyn_load.c
os_dep.c