Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
Please login to access the resource
home:dirkmueller:Factory
libbsd
libbsd-glibc-2.34-closefrom.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File libbsd-glibc-2.34-closefrom.patch of Package libbsd
From 7b4ebd6521a693f236cad4170fce1bb5237ecae5 Mon Sep 17 00:00:00 2001 From: Callum Farmer <callumjfarmer13@gmail.com> Date: Thu, 16 Feb 2023 21:26:05 +0000 Subject: [PATCH] include: Adjust closefrom() per glibc adoption Added in glibc 2.34 https://sourceware.org/git/?p=glibc.git;a=commit;h=607449506f197cc9514408908f41f22537a47a8c Signed-off-by: Guillem Jover <guillem@hadrons.org> --- include/bsd/unistd.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/bsd/unistd.h b/include/bsd/unistd.h index 167241b..20b0993 100644 --- a/include/bsd/unistd.h +++ b/include/bsd/unistd.h @@ -59,7 +59,11 @@ int bsd_getopt(int argc, char * const argv[], const char *shortopts); mode_t getmode(const void *set, mode_t mode); void *setmode(const char *mode_str); +#if !defined(__GLIBC__) || \ + !__GLIBC_PREREQ(2, 34) || \ + !defined(_DEFAULT_SOURCE) void closefrom(int lowfd); +#endif /* Compatibility with sendmail implementations. */ #define initsetproctitle(c, a, e) setproctitle_init((c), (a), (e)) -- GitLab
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor