2
0
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:
Todd C. Miller 2020-09-06 15:27:21 -06:00
parent 92e5d81943
commit e9997c8ec4
2 changed files with 2 additions and 2 deletions

2
configure vendored
View File

@ -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

View File

@ -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> ])