On Tue, 9 Nov 2010, Norbert Preining wrote:
In the bug report there is also a backtrace of the segfault and two patches by Mathias Kende, quoting his email:The first patch duplicates some code in tex-file.c (approx. 15 lines), but is smaller and simpler. The second creates a helper function which reads properly a "va_list" list of arguments. Choose your preferred one.I attach the two patches, both apply (with some fuzzyness) to current sources in TeX Live.
Hi Karl, Norbert, I'd definitely vote for the second alternative, i.e., both kpathsea_set_suffixes and kpse_set_suffixes (with varargs) using one and the same static helper functions (with one va_list argument). Regards Peter Breitenlohner <peb@mppmu.mpg.de>