[Toybox] [PATCH 2/8] mdev: Do not use strndupa().

Rob Landley rob at landley.net
Wed May 9 04:23:12 PDT 2012


On 04/24/2012 04:20 AM, Georgi Chorbadzhiyski wrote:
> strndupa() is GNU specific function. Using it prevents mdev compilation
> with musl. Just use strndup() and free() where needed.

The problem with this one is that mdev needs major surgery.

A) dirtree changed out from under it.
B) it was never remotely finished (no hotplug support)
C) these days there's devtmpfs, and I need to think through how that
impacts the design.

So I can apply the strndupa removal patch, but the result still won't
compile.  Hmmm...

Rob
-- 
GNU/Linux isn't: Linux=GPLv2, GNU=GPLv3+, they can't share code.
Either it's "mere aggregation", or a license violation.  Pick one.

 1336562592.0


More information about the Toybox mailing list