On Thu, Aug 06, 2015 at 11:24:02AM +0300, Mihai Popescu wrote:
> We have to live with it for a while. I am not able to rewrite this.
>
> http://marc.info/?l=openbsd-tech&m=141867225703413&w=2
Have faith and try this:
Index: conf.c
===================================================================
RCS file: /cvs/xenocara/app/cwm/conf.c,v
retrieving revision 1.191
diff -u -p -r1.191 conf.c
--- conf.c 12 Jul 2015 14:31:47 -0000 1.191
+++ conf.c 6 Aug 2015 10:28:28 -0000
@@ -56,11 +56,13 @@ conf_cmd_add(struct conf *c, const char
TAILQ_INSERT_TAIL(&c->cmdq, cmd, entry);
/* keep queue sorted by name */
+ /*
while ((prev = TAILQ_PREV(cmd, cmd_q, entry)) &&
(strcmp(prev->name, cmd->name) > 0)) {
TAILQ_REMOVE(&c->cmdq, cmd, entry);
TAILQ_INSERT_BEFORE(prev, cmd, entry);
}
+ */
return(1);
}