Duplicate code
At line 1359 of gl2ps.c the following line has the same expression twice: (*t2)->boundary = ((quad->boundary & 4) ? 2 : 0) | ((quad->boundary & 4) ? 2 : 0);
A few lines upper, there is a similar line but with different instructions: (*t1)->boundary = ((quad->boundary & 1) ? 1 : 0) | ((quad->boundary & 2) ? 2 : 0);
Issue found thanks to Coccinelle: http://coccinelle.lip6.fr/
Sylvestre Ledru