aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorRon Yorston <rmy@pobox.com>2023-01-22 09:42:18 +0000
committerRon Yorston <rmy@pobox.com>2023-01-22 09:50:48 +0000
commitafbf21c45d2e6a710aa27cb2784a540bb3ceedea (patch)
tree0a4e68be3233f251cd5b6cd8f54b6a7132d3a5ed /docs
parent728738553fb473e4ad9f2c4efc88e7e28fcda20d (diff)
downloadbusybox-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 'docs')
0 files changed, 0 insertions, 0 deletions