diff options
author | Werner Koch <[email protected]> | 2018-04-30 05:49:11 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2018-04-30 05:49:11 +0000 |
commit | 4f45f3e0bb404b4a9787cb55ca154c6f60c1437b (patch) | |
tree | 9baca1c024ea6bd108be934df84b032e281d656f /src/w32-estream.c | |
parent | doc: Add SPDX indentifier for the versioninfo template. (diff) | |
download | libgpg-error-4f45f3e0bb404b4a9787cb55ca154c6f60c1437b.tar.gz libgpg-error-4f45f3e0bb404b4a9787cb55ca154c6f60c1437b.zip |
core: Fix gpgrt_poll for Windows under nPth.
* src/estream.c (_gpgrt_poll) [W32]: Use syscall clamp.
Signed-off-by: Werner Koch <[email protected]>
Diffstat (limited to 'src/w32-estream.c')
-rw-r--r-- | src/w32-estream.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/w32-estream.c b/src/w32-estream.c index 2122c59..c1bf212 100644 --- a/src/w32-estream.c +++ b/src/w32-estream.c @@ -771,6 +771,8 @@ func_w32_pollable_write (void *cookie, const void *buffer, size_t count) } +/* This is the core of _gpgrt_poll. The caller needs to make sure that + * the syscall clamp has been engaged. */ int _gpgrt_w32_poll (gpgrt_poll_t *fds, size_t nfds, int timeout) { |