2014-12-11 23:33 GMT+01:00 Xabier Oneca  --  xOneca <[email protected]>:
> Well, I think it's better with conditional compiling... This way would
> make the code easier to understand. Indeed, it doesn't make sense to
> try to open a device in a path when you known it wont be there.
> Moreover, with the current code it will warn if you don't have the
> correct kernel... That, IMHO, isn't convenient.

I can't seem to find the exact kernel version at which the filename
pattern changed. Unless we can find it, both names have to be checked.
For now I can just go back to the initial version of this function.

Bart
_______________________________________________
busybox mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/busybox

Reply via email to