lundi 29 décembre 2014

Does X11 still have a hardcoded limit for application resource strings?


The xterm(1) manual page states:



Due to a hardcoded limit in the X libraries on the total number of resources (to 400), the resources for 256-colors are omitted when wide-character support and luit are enabled. Besides inconsistent behavior if only part of the resources were allowed, determining the exact cutoff is difficult, and the X libraries tend to crash if the number of resources exceeds the limit. The color palette is still initialized to the same default values, and can be modified via control sequences.



I suspect that this information is dated. Can anyone confirm that this is (or is not any more) a problem for a contemporary X implementation like X.Org 1.12 (X11R7)? Where in the X11 sources would someone need to look for this limit, if it still exists?



Aucun commentaire:

Enregistrer un commentaire