- 264 license table entries with exact download URLs (224/264 resolved) - Complete sources/ directory with all BitBake recipes - Build configuration: tqma6ul-multi-mba6ulx, spaetzle (musl) - Full traceability for Softwarefreigabeantrag - GCC 13.4.0, Linux 6.6.102, U-Boot 2023.04, musl 1.2.4 - License distribution: GPL-2.0 (24), MIT (23), GPL-2.0+ (18), BSD-3 (16)
29 lines
956 B
Diff
29 lines
956 B
Diff
From e1fc4b06dcb62e1c2d85ae99f39ef1a8860570e1 Mon Sep 17 00:00:00 2001
|
|
From: Khem Raj <raj.khem@gmail.com>
|
|
Date: Thu, 15 Jul 2021 12:33:13 -0700
|
|
Subject: [PATCH] use closefrom() on linux and glibc 2.34+
|
|
|
|
Upstream-Status: Pending
|
|
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
Rebase to 1.17.0
|
|
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
|
|
|
|
---
|
|
src/posix-io.c | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/src/posix-io.c b/src/posix-io.c
|
|
index a422d8f..0d0a98b 100644
|
|
--- a/src/posix-io.c
|
|
+++ b/src/posix-io.c
|
|
@@ -577,7 +577,7 @@ _gpgme_io_spawn (const char *path, char *const argv[], unsigned int flags,
|
|
if (fd_list[i].fd > fd)
|
|
fd = fd_list[i].fd;
|
|
fd++;
|
|
-#if defined(__sun) || defined(__FreeBSD__) || defined(__GLIBC__)
|
|
+#if defined(__sun) || defined(__FreeBSD__) || (defined(__GLIBC__) && __GNUC_PREREQ(2, 34))
|
|
closefrom (fd);
|
|
max_fds = fd;
|
|
#else /*!__sun */
|