mirror of
https://github.com/sudo-project/sudo.git
synced 2025-08-22 09:57:41 +00:00
Remove closefrom_fallback() from lib/util/util.exp.
It is a static function and should not be exported.
This commit is contained in:
parent
92e5d81943
commit
e9997c8ec4
2
configure
vendored
2
configure
vendored
@ -21295,7 +21295,7 @@ else
|
||||
esac
|
||||
|
||||
|
||||
for _sym in closefrom_fallback sudo_closefrom; do
|
||||
for _sym in sudo_closefrom; do
|
||||
COMPAT_EXP="${COMPAT_EXP}${_sym}
|
||||
"
|
||||
done
|
||||
|
@ -2945,7 +2945,7 @@ AC_CHECK_FUNCS([getopt_long], [], [
|
||||
AC_MSG_RESULT($sudo_cv_optreset)
|
||||
])
|
||||
AC_CHECK_FUNCS([closefrom], [], [AC_LIBOBJ(closefrom)
|
||||
SUDO_APPEND_COMPAT_EXP(closefrom_fallback sudo_closefrom)
|
||||
SUDO_APPEND_COMPAT_EXP(sudo_closefrom)
|
||||
AC_CHECK_DECL(F_CLOSEM, AC_DEFINE(HAVE_FCNTL_CLOSEM), [], [
|
||||
# include <limits.h>
|
||||
# include <fcntl.h> ])
|
||||
|
Loading…
x
Reference in New Issue
Block a user