mirror of
https://github.com/sudo-project/sudo.git
synced 2025-08-22 09:57:41 +00:00
cfmakeraw(3) is broken on AIX, don't use it there
The cfmakeraw(3) function exists but does not set VMIN to 1 or VTIME to 0 in c_cc[] in struct termios, which makes it useless. The AIX version also doesn't clear the CSIZE and PARENB flags from c_cflag.
This commit is contained in:
parent
af0d840322
commit
d3b710b0da
3
configure
vendored
3
configure
vendored
@ -15605,6 +15605,9 @@ fi
|
|||||||
*) RTLD_PRELOAD_VAR="LDR_PRELOAD";;
|
*) RTLD_PRELOAD_VAR="LDR_PRELOAD";;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
# cfmakeraw is broken on AIX (and is not documented)
|
||||||
|
: ${ac_cv_func_cfmakeraw='no'}
|
||||||
|
|
||||||
# strnlen/strndup may be broken on AIX < 6 depending
|
# strnlen/strndup may be broken on AIX < 6 depending
|
||||||
# on the libc version, use our own.
|
# on the libc version, use our own.
|
||||||
if test $OSMAJOR -lt 6; then
|
if test $OSMAJOR -lt 6; then
|
||||||
|
@ -1894,6 +1894,9 @@ case "$host" in
|
|||||||
*) RTLD_PRELOAD_VAR="LDR_PRELOAD";;
|
*) RTLD_PRELOAD_VAR="LDR_PRELOAD";;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
# cfmakeraw is broken on AIX (and is not documented)
|
||||||
|
: ${ac_cv_func_cfmakeraw='no'}
|
||||||
|
|
||||||
# strnlen/strndup may be broken on AIX < 6 depending
|
# strnlen/strndup may be broken on AIX < 6 depending
|
||||||
# on the libc version, use our own.
|
# on the libc version, use our own.
|
||||||
if test $OSMAJOR -lt 6; then
|
if test $OSMAJOR -lt 6; then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user