Jérémy Bobbio <[EMAIL PROTECTED]> writes:

>
> I see two possible fixes here:
>
>  * Stop sorting devices in snapshot_devs() anymore.  I don't see why
>    the kernel would reorder the content of /proc/net/dev when new
>    modules are inserted.  From my tests, this nicely solved the issue.
>  * Make compare_dev() able to detect the addition in the middle of the
>    device list.  For the record, modifying compare_devs to use the
>    following did the trick:
>
>      sed="$(echo $olddevs | sed -e 's#\([a-z0-9]\+\) *#s/\1 *//;#g')"
>      echo $devs | sed -e "$sed"
>
> I tried to dig the history of the repository in order to figure out why
> snapshot_dev() used "sort" in the first place, but I was not able to get
> any meaningful result.  Do anyone have an idea?
>
> Otherwise, removing the sorting sounds like the best option to me.

I also do not see a reason for it. If noone complains in next days I'd
say for us to go with the sort removal and get it uploaded.

-- 
        O T A V I O    S A L V A D O R
---------------------------------------------
 E-mail: [EMAIL PROTECTED]      UIN: 5906116
 GNU/Linux User: 239058     GPG ID: 49A5F855
 Home Page: http://otavio.ossystems.com.br
---------------------------------------------
"Microsoft sells you Windows ... Linux gives
 you the whole house."



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to