[PATCH 4/7] xfuncs: Handle missing non-POSIX termios constants

Kang-Che Sung explorer09 at gmail.com
Sun Oct 8 01:34:13 UTC 2017


On Sun, Oct 8, 2017 at 1:53 AM, James Clarke <jrtc27 at jrtc27.com> wrote:
> diff --git a/libbb/xfuncs.c b/libbb/xfuncs.c
> index 9cbfb2836..95dac656a 100644
> --- a/libbb/xfuncs.c
> +++ b/libbb/xfuncs.c
> @@ -22,6 +22,16 @@
>   */
>  #include "libbb.h"
>
> +#ifndef IMAXBEL
> +# define IMAXBEL 0
> +#endif
> +#ifndef IUCLC
> +# define IUCLC 0
> +#endif
> +#ifndef IXANY
> +# define IXANY 0
> +#endif
> +


I wonder, how do these break, and why does defining them as 0 solve the problem?


More information about the busybox mailing list