Re: [question] libbb/get_line_from_file.c : bb_get_chunk_from_file function meet the '\0', maybe not break, should continue?

2016-09-25 Thread dengke...@windriver.com
OK, the GNU sed didn't use the standard posix function, such as strlen(), regexec() and so on, it used the function are non-standard, and implemented by gnulib, which they process the string with an additional 'length' parameter, so the embedded NULs can be treated like other characters.

Re: [question] libbb/get_line_from_file.c : bb_get_chunk_from_file function meet the '\0', maybe not break, should continue?

2016-09-25 Thread Denys Vlasenko
If you change something here, make sure to run testsuite and see whether something broke On Tue, Sep 6, 2016 at 9:20 AM, dengke...@windriver.com wrote: > Hi all > > In file ./libbb/get_line_from_file.c, function bb_get_chunk_from_file > contain the following: > >

Re: ifup/down broken!!!

2016-09-25 Thread Danomi Manchego
All, i thought I'd share a previous experience, in case it helped. In one of our projects, we had multiple ethernet interfaces for a time, controlled by full-blown ifplugd, but using bb ifupdown. On start-up, I would find that the two interfaces coming up at the same time would result in