diff options
author | Ron Yorston <rmy@pobox.com> | 2023-01-22 09:42:18 +0000 |
---|---|---|
committer | Ron Yorston <rmy@pobox.com> | 2023-01-22 09:50:48 +0000 |
commit | afbf21c45d2e6a710aa27cb2784a540bb3ceedea (patch) | |
tree | 0a4e68be3233f251cd5b6cd8f54b6a7132d3a5ed /TODO | |
parent | 728738553fb473e4ad9f2c4efc88e7e28fcda20d (diff) | |
download | busybox-w32-afbf21c45d2e6a710aa27cb2784a540bb3ceedea.tar.gz busybox-w32-afbf21c45d2e6a710aa27cb2784a540bb3ceedea.tar.bz2 busybox-w32-afbf21c45d2e6a710aa27cb2784a540bb3ceedea.zip |
win32: limit setting of errno when lazy loading fails
The function get_proc_addr() facilitates dynamic loading of functions
from DLLs. In the event of failure it set errno to ENOSYS.
This is sometimes useful, such as in the implementations of link(2),
symlink(2) and realpath(3). However, many other uses of lazy loading
can recover from failure or simply don't care. In these cases setting
errno is unnecessary and may be counterproductive.
(GitHub issue #283)
Diffstat (limited to 'TODO')
0 files changed, 0 insertions, 0 deletions