ED_minlen(e) = x;
/* ED_minlen(e) = cp->data.box.UR.x; */
#if (DEBUG==2)
- fprintf(stderr, "col edge %s -> %s %d\n", t->name, h->name,
- ED_minlen(e));
+ fprintf(stderr, "col edge %s ", agnameof(t));
+ fprintf(stderr, "-> %s %d\n", agnameof(h), ED_minlen(e));
#endif
elist_append(e, ND_out(t));
elist_append(e, ND_in(h));
ufds[0].events = POLLIN;
ufds[0].revents = 0;
r = poll(ufds,1,0);
- if (ufds[0].revents == POLLIN) return -1;
+ if (ufds[0].revents & POLLIN) return -1;
/* Beware of bugs in the above code; I have only proved it correct, not tried it. */
#endif
(job->callbacks->read)(job, job->input_filename, job->layout_type);