Page MenuHome GnuPG

src/posix-io.c: fix build with glibc >= 2.34
Closed, ResolvedPublic

Description

Fix the following build failure with glibc >= 2.34 raised because closefrom doesn't return an int but a void since its addition with https://github.com/bminor/glibc/commit/607449506f197cc9514408908f41f22537a47a8c

posix-io.c: In function '_gpgme_io_spawn':
posix-io.c:577:23: error: void value not ignored as it ought to be
  577 |             while ((i = closefrom (fd)) && errno == EINTR)
      |                       ^

Event Timeline

ffontaine created this object in space S1 Public.
ffontaine updated the task description. (Show Details)
werner claimed this task.
werner added a subscriber: werner.

Thanks. This has already been fixed in July with rM4b64774b6d13ffa4f59dddf947a97d61bcfa2f2e

Note: Please don't use the Github mirror when reporting bugs - it is currently not up to date.

Thanks for noticing me but I can't access your git repository at https://dev.gnupg.org/source/gnupg.git and the github mirror at https://github.com/gpg/gpgme is not up to date. Do you have an other mirror?

Nevermind, I found the appropriate link above, thanks again.