Blame SOURCES/a2ps-overrun-dynamic.patch

0d8902
diff -up a2ps-4.14/lib/darray.c.overrun-dynamic a2ps-4.14/lib/darray.c
0d8902
--- a2ps-4.14/lib/darray.c.overrun-dynamic	2011-08-10 16:16:49.607014904 +0100
0d8902
+++ a2ps-4.14/lib/darray.c	2011-08-10 16:17:10.965625881 +0100
0d8902
@@ -430,7 +430,7 @@ da_qsort (struct darray * arr)
0d8902
 	  jstack += 2;
0d8902
 	  /* Push pointers to larger subarry on stack.
0d8902
 	   * Process smaller subarrays now	*/
0d8902
-	  if (jstack > QSORT_STACK)
0d8902
+	  if (jstack >= QSORT_STACK)
0d8902
 	    error (da_exit_error, 0, "da_qsort: QSORT_STACK too small (%d)",
0d8902
 			   QSORT_STACK);
0d8902
 	  if (ir - i + 1 >= j - l) {
0d8902
@@ -509,7 +509,7 @@ da_qsort_with_arg (struct darray * arr, 
0d8902
 	  jstack += 2;
0d8902
 	  /* Push pointers to larger subarry on stack.
0d8902
 	   * Process smaller subarrays now	*/
0d8902
-	  if (jstack > QSORT_STACK)
0d8902
+	  if (jstack >= QSORT_STACK)
0d8902
 	    error (da_exit_error, 0, "da_qsort: QSORT_STACK too small (%d)",
0d8902
 			   QSORT_STACK);
0d8902
 	  if (ir - i + 1 >= j - l) {