freebsd-src/lib/libfetch
Ricardo Branco 8768b60de1 lib: Fix calls that naively set F_SETFD.
With the recent inclusion of the FD_CLOFORK and FD_RESOLVE_BENEATH flags,
we must avoid clearing them when setting only FD_CLOEXEC.

Signed-off-by: Ricardo Branco <rbranco@suse.de>

Reviewed by:	kib, markj
MFC after:	1 month
Pull Request:	https://github.com/freebsd/freebsd-src/pull/1766
2025-07-17 17:00:32 +00:00
..
common.c lib: Fix calls that naively set F_SETFD. 2025-07-17 17:00:32 +00:00
common.h Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:16 -06:00
fetch.3 libfetch, fetch: Stop recommending the use of ca_root_nss. 2023-10-08 06:35:15 +02:00
fetch.c libfetch: don't include fragments in HTTP requests 2024-08-21 12:35:27 +00:00
fetch.h Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:16 -06:00
file.c lib: Automated cleanup of cdefs and other formatting 2023-11-26 22:23:59 -07:00
ftp.c Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:42 -06:00
ftp.errors Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
http.c Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:42 -06:00
http.errors Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
Makefile Remove residual blank line at start of Makefile 2024-07-15 16:43:39 -06:00
Makefile.depend Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
Makefile.depend.options Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00