Home GnuPG

Fix the nanosleep case of __assuan_usleep.

Description

Fix the nanosleep case of __assuan_usleep.

* src/system-posix.c (__assuan_usleep): Handle full seconds.

This function would have failed for any value >= 1000000 because the
nsec field is limited to 999999999 and the function fails for larger
values.

  • Signed-off-by: Werner Koch <wk@gnupg.org>

Details

Provenance
wernerAuthored on Nov 15 2017, 3:43 PM
Parents
rA87c2bb5708ff: We can't support fd passing, if the system doesn't support it.
Branches
Unknown
Tags
Unknown