Red Hat Bugzilla – Bug 122699
a2ps "too many includes" error in sheets.map
Last modified: 2007-11-30 17:10:42 EST
Description of problem:
When overriding the default sheets.map in ~/.a2ps/sheets.map and
including /usr/share/a2ps/sheets/sheets.map, a2ps aborts with error
"too many includes".
Version-Release number of selected component (if applicable):
Fedora Core release 1 (Yarrow)
Steps to Reproduce:
1. mkdir ~/.a2ps
2. echo 'include(/usr/share/a2ps/sheets/sheets.map)' >~/.a2ps/sheets.map
3.a2ps -o ~/hosts.ps /etc/hosts
a2ps: too many includes
PostScript file ~/hosts.ps created.
Created attachment 100061 [details]
Patch for sheets-map.l
I found this patch at
but it seems it is not integrated in the latest version available from
http://www.infres.enst.fr/~demaille/a2ps/ and it is not listed as known bug,
I didn't test this patch too carefully but it works for me.
Oops. The filename in the first line of the patch is incorrect. Remove
the '.orig'. Apologies.
Fixed in CVS. Thanks.