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

2017-10-08 Thread James Clarke
[Dropping debian-h...@lists.debian.org as the Hurd defines all of them] On 8 Oct 2017, at 12:18, Kang-Che Sung wrote: > 2017年10月8日 18:50,"James Clarke" 寫道: >> On 8 Oct 2017, at 02:34, Kang-Che Sung wrote: >> > On Sun, Oct 8, 2017 at 1:53 AM, James Clarke wrote: >> >> diff --git a/libbb/xfuncs.c

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

2017-10-08 Thread Kang-Che Sung
2017年10月8日 18:50,"James Clarke" 寫道: On 8 Oct 2017, at 02:34, Kang-Che Sung wrote: > On Sun, Oct 8, 2017 at 1:53 AM, James Clarke 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 @@ >> *

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

2017-10-08 Thread James Clarke
On 8 Oct 2017, at 02:34, Kang-Che Sung wrote: > On Sun, Oct 8, 2017 at 1:53 AM, James Clarke 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" >> >> +#ifnd

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

2017-10-07 Thread Kang-Che Sung
On Sun, Oct 8, 2017 at 1:53 AM, James Clarke 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 IUC

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

2017-10-07 Thread James Clarke
Signed-off-by: James Clarke --- libbb/xfuncs.c | 10 ++ 1 file changed, 10 insertions(+) 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 IMAXB