Re: [Toybox] [patch] add renice

2013-08-02 Thread Rob Landley
On 07/30/2013 07:08:11 PM, Strake wrote: On 30/07/2013, Felix Janda felix.ja...@posteo.de wrote: You don't really need the index. Just loop over toys.optargs, which are conveniently null terminated. To me, at least, it is clearer with the index, as it's a commoner idiom. I can't

Re: [Toybox] [TOY] lspci

2013-08-02 Thread Andre Renaud
Hi Issac, to elements (one for each device) of an array of struct bar and the ref fields of the elements of this array should point back to the corresponding list element. Then, sort the array of struct bars according to ref-vendor and ref-device. Next, update ref-strs to point to the right