Page MenuHome GnuPG

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


Fix the following build failure with glibc >= 2.34 raised because closefrom doesn't return an int but a void since its addition with

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 and the github mirror at is not up to date. Do you have an other mirror?

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