let me know if you'd rather have the #ifdef in portability.h --- i'm
not sure whether your aim is to have all #ifdefery in there, or
whether something should be needed in two places first.

(the other alternative would be to always try both locations, but that
seemed even worse.)

On Wed, Nov 29, 2017 at 6:49 PM, enh <[email protected]> wrote:
> By reason of historical accident, Android uses "/dev/block/loopX" rather
> than "/dev/loopX" (though the control file is in the usual place). Work
> around that.
> ---
>  toys/other/losetup.c | 8 +++++++-
>  1 file changed, 7 insertions(+), 1 deletion(-)



-- 
Elliott Hughes - http://who/enh - http://jessies.org/~enh/
Android native code/tools questions? Mail me/drop by/add me as a reviewer.
_______________________________________________
Toybox mailing list
[email protected]
http://lists.landley.net/listinfo.cgi/toybox-landley.net

Reply via email to