Re: [PATCH 0/2] Add -R to less applet (bug #5546)

2018-01-23 Thread Kang-Che Sung
Hi Denys Vlasenko, I think I found a typo in the recent commit 8528d3d4f8240ab4715f671aa819fe034f0fc285 > @@ -106,7 +122,7 @@ > > //usage:#define less_trivial_usage > //usage: "[-E" IF_FEATURE_LESS_REGEXP("I")IF_FEATURE_LESS_FLAGS("Mm") > -//usage: "N" IF_FEATURE_LESS_TRUNCATE("S") "h~] [FILE].

Re: [PATCH 0/4] Add SCHED_BATCH and SCHED_IDLE support to chrt

2018-01-23 Thread Povilas Kanapickas
On 23/01/2018 17:09, Denys Vlasenko wrote: > On Sat, Jan 13, 2018 at 10:25 PM, Povilas Kanapickas wrote: >> Hi, >> >> The following patches add SCHED_BATCH and SCHED_IDLE support to chrt. >> The priority limits are fixed to follow the specification. The last >> patch avoids hardcoding the values o

Re: [PATCH 4/4] chrt: don't rely on exact values of SCHED_* defines

2018-01-23 Thread Povilas Kanapickas
Hi, On 14/01/2018 07:48, Kang-Che Sung wrote: > On Sun, Jan 14, 2018 at 5:30 AM, Povilas Kanapickas wrote: >> --- a/util-linux/chrt.c >> +++ b/util-linux/chrt.c >> @@ -36,17 +36,20 @@ >> #include >> #include "libbb.h" >> >> -static const struct { >> - int policy; >> - char name[siz

Re: [PATCH] nandwrite: alternative fix for MTD_FILE_MODE_RAW related build problems with kernels < 3.2.0

2018-01-23 Thread Eugene Rudoy
Hi Denys, it depends on your definition of the "problem". Both, the current git version and my version, compile and work. Current git version always define MTD_FILE_MODE_RAW (and sets it to 3) regardless of whether the kernel version used provide the MTD_FILE_MODE_RAW symbol or not. As your comm

Re: [PATCH v2] - Add support for link without MAC (like PPPoE/PPPoA)

2018-01-23 Thread Denys Vlasenko
Added a fix for that, please test. On Sat, Jan 20, 2018 at 1:06 PM, 蔡崴丞 wrote: > Unfortunately, it doesn't work. > > I'll get NAK response from my ISP because of client id difference between > dhcp6 solicit and dhcp6 request. > > The random mac address should keep the same across dhcp session. >

Re: [PATCH 0/4] Add SCHED_BATCH and SCHED_IDLE support to chrt

2018-01-23 Thread Denys Vlasenko
On Sat, Jan 13, 2018 at 10:25 PM, Povilas Kanapickas wrote: > Hi, > > The following patches add SCHED_BATCH and SCHED_IDLE support to chrt. > The priority limits are fixed to follow the specification. The last > patch avoids hardcoding the values of SCHED_* macros as array indices. > Perhaps count

Re: adding lineno implementation

2018-01-23 Thread Denys Vlasenko
On Tue, Jan 23, 2018 at 2:48 PM, daggs wrote: >> >> Care to send the patch? >> >> >> > >> > sure, see attached. >> >> >> Implemented in git a bit differently >> > > not sure I follow, is there an existing implementation for busybox? I applied an implementation to busybox git, please "git pull" an

Re: adding lineno implementation

2018-01-23 Thread daggs
Greetings Denys, > On Tue, Jan 16, 2018 at 9:28 AM, daggs wrote: > > Greetings Denys, > > > >> Sent: Monday, January 15, 2018 at 1:16 PM > >> From: "Denys Vlasenko" > >> To: daggs > >> Cc: busybox > >> Subject: Re: adding lineno implementation > >> > >> On Mon, Jan 15, 2018 at 10:52 AM, daggs

Re: [PATCH] nandwrite: alternative fix for MTD_FILE_MODE_RAW related build problems with kernels < 3.2.0

2018-01-23 Thread Denys Vlasenko
On Tue, Jan 23, 2018 at 12:18 AM, Eugene Rudoy wrote: > Unfortunately it is not possible in C to check for the existence of an enum > value at compile-time. Implement an alternative "kernel version check"-based > approach to workaround MTD_FILE_MODE_RAW related build problems with kernel > version