The ops EL_SIGNAL, EL_EDITMODE, EL_UNBUFFERED, and EL_PREP_TERM all take
an int, not an int*. Sponsored by: DARPA, AFRL Discovered with: CHERI Differential Revision: https://reviews.freebsd.org/D4071
This commit is contained in:
parent
d1a6f62c45
commit
942505ca1c
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=290298
@ -325,11 +325,11 @@ el_get(EditLine *el, int op, ...)
|
||||
ret = el_wget(el, op, va_arg(ap, const char **));
|
||||
break;
|
||||
|
||||
case EL_SIGNAL: /* int * */
|
||||
case EL_SIGNAL: /* int */
|
||||
case EL_EDITMODE:
|
||||
case EL_UNBUFFERED:
|
||||
case EL_PREP_TERM:
|
||||
ret = el_wget(el, op, va_arg(ap, int *));
|
||||
ret = el_wget(el, op, va_arg(ap, int));
|
||||
break;
|
||||
|
||||
case EL_GETTC: {
|
||||
|
Loading…
Reference in New Issue
Block a user