src/posix-io.c:573: add the judgement of GLIBC
This commit is contained in:
parent
1f0359fd1d
commit
1a39015d1a
|
@ -1,3 +1,9 @@
|
||||||
|
gpgme1.0 (1.13.1-ok2) yangtze; urgency=medium
|
||||||
|
|
||||||
|
* src/posix-io.c:573: add the judgement of GLIBC
|
||||||
|
|
||||||
|
-- root <jingyaru@smart-core> Mon, 18 Mar 2024 07:50:30 +0000
|
||||||
|
|
||||||
gpgme1.0 (1.13.1-ok1) yangtze; urgency=medium
|
gpgme1.0 (1.13.1-ok1) yangtze; urgency=medium
|
||||||
|
|
||||||
* Build for openKylin.
|
* Build for openKylin.
|
||||||
|
|
|
@ -570,7 +570,7 @@ _gpgme_io_spawn (const char *path, char *const argv[], unsigned int flags,
|
||||||
if (fd_list[i].fd > fd)
|
if (fd_list[i].fd > fd)
|
||||||
fd = fd_list[i].fd;
|
fd = fd_list[i].fd;
|
||||||
fd++;
|
fd++;
|
||||||
#if defined(__sun) || defined(__FreeBSD__)
|
#if defined(__sun) || defined(__FreeBSD__) || defined(__GLIBC__)
|
||||||
closefrom (fd);
|
closefrom (fd);
|
||||||
max_fds = fd;
|
max_fds = fd;
|
||||||
#else /*!__sun */
|
#else /*!__sun */
|
||||||
|
|
Loading…
Reference in New Issue