aboutsummaryrefslogtreecommitdiff
path: root/newlib/libc/include/stdlib.h
diff options
context:
space:
mode:
authorMichael Haubenwallner <michael.haubenwallner@ssi-schaefer.com>2016-12-07 11:58:25 +0100
committerCorinna Vinschen <corinna@vinschen.de>2019-02-03 11:00:08 +0100
commit2174880aaec78b080e0907908d191f64aece8d1c (patch)
tree53b7b30542ae6baa7c7df32d34b80446a5ec2eeb /newlib/libc/include/stdlib.h
parent49ea15ef17fda59cc279a59141c9b78cd9b9a3c1 (diff)
downloadnewlib-2174880aaec78b080e0907908d191f64aece8d1c.zip
newlib-2174880aaec78b080e0907908d191f64aece8d1c.tar.gz
newlib-2174880aaec78b080e0907908d191f64aece8d1c.tar.bz2
dll_list: Store dll file name as full NT path.
Store loaded dll's file name as full NT path. * dll_init.h (struct dll): Rename member variable name to ntname. (struct dll_list): Declare private static member variable nt_max_path_buffer. Declare public static methods form_ntname, form_shortname. Define public static methods nt_max_path_buf, buffered_shortname. (dll_list::operator []): Use PCWCHAR rather than const PWCHAR. (dll_list::find_by_modname): Ditto. * dll_init.cc (in_load_after_fork): Define earlier in file. (struct dll_list): Rename member variable name to ntname. Define nt_max_path_buffer variable. Implement static methods form_ntname, form_shortname. (dll_list::operator []): Use PCWCHAR rather than const PWCHAR. (dll_list::find_by_modname): Ditto. (reserve_at): Ditto. (release_at): Ditto. (dll_list::alloc): Use nt_max_path_buf method instead of local buffer. Store module file name as full NT path, convert using the form_ntname static method. (dll_list::load_after_fork): Call load_after_fork_impl only when reload_on_fork is set. * fork.cc (frok::child): Call dlls.load_after_fork even without need to dynamically load dlls. (frok::parent): Move syscall_printf into the retry loop.
Diffstat (limited to 'newlib/libc/include/stdlib.h')
0 files changed, 0 insertions, 0 deletions