diff options
author | Simon McVittie <smcv@collabora.com> | 2018-03-08 18:53:31 +0000 |
---|---|---|
committer | Simon McVittie <smcv@collabora.com> | 2018-03-09 12:25:46 +0000 |
commit | dc15de1f7b3525babd723151927fc739d7f8a249 (patch) | |
tree | 05e0cda89cc0a2e7d02260ae86e2024398e57c00 /configure.ac | |
parent | a97b6b597b53e022f11dfb265dda471ffdbfaa0f (diff) | |
download | dbus-dc15de1f7b3525babd723151927fc739d7f8a249.tar.gz |
_dbus_get_low_level_socket_errno: Add
Some libdbus functions have as their API "this function sets errno",
but that just leads to strangeness on Windows, where socket (Winsock)
functions don't actually set errno themselves, leading to those
functions having to copy the Winsock error into errno to fake the
Unix-like behaviour. With hindsight, that was probably a bad idea.
This function should be portable enough to be used with functions that
are essentially the same on Unix and Windows, like inet_ntop().
Signed-off-by: Simon McVittie <smcv@collabora.com>
Reviewed-by: Ralf Habacker <ralf.habacker@freenet.de>
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=61922
Diffstat (limited to 'configure.ac')
0 files changed, 0 insertions, 0 deletions