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] [patch] add renice

2013-07-30 Thread Felix Janda
Strake wrote: On 28/07/2013, Felix Janda felix.ja...@posteo.de wrote: Some comments below. Thanks. Thanks for your new patch. [...] + for (ii = 0; ii toys.optc; ii++) { You don't really need the index. Just loop over toys.optargs, which are conveniently null terminated. To me,

Re: [Toybox] [patch] add renice

2013-07-30 Thread Strake
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 really argue with that. I'm not against your

[Toybox] [patch] add renice

2013-07-28 Thread Strake
From feeb53bf11e949e48f80752a642fe551c284d7a7 Mon Sep 17 00:00:00 2001 From: Strake strake...@gmail.com Date: Sun, 28 Jul 2013 09:30:35 -0500 Subject: [PATCH] add renice --- toys/pending/renice.c | 48 1 file changed, 48 insertions(+) create mode