https://bugs.gentoo.org/122026 --- a2ps-4.14.orig/contrib/psset.in 2007-12-29 12:29:01.000000000 +0900 +++ a2ps-4.14/contrib/psset.in 2009-04-12 12:17:43.000000000 +0900 @@ -219,7 +219,7 @@ done pspagedevice="% Pagedevice definitions: -countdictstack + countdictstack % Push our own mark, since there can be several PS marks pushed depending % where the failure really occured. /psset_mark @@ -227,7 +227,7 @@ } stopped % My cleartomark { /psset_mark eq { exit } if } loop -countdictstack exch sub dup 0 gt + countdictstack exch sub dup 0 gt { { end } repeat }{