[tex-live] Runtime limitations on open files?

Hans Hagen pragma at wxs.nl
Fri Aug 17 18:26:02 CEST 2007


Martin Schröder wrote:
> 2007/8/17, Akira Kakuto <kakuto at fsci.fuk.kindai.ac.jp>:
>> I've confirmed that by
>>
>> #if defined(pdfTeX) || defined(luaTeX)
>>   _setmaxstdio(2048);
>> #endif
>>
>> 2041 files in
>> Vladimir's example are included. Probably 7 are stdin, ... etc.
> 
> And I claim that this is a Windows-only problem that doesn't appear on Unix. ;-)

well, it has been a problem there (till the number was jumped there; i 
clearly remember such problems a few years ago); also, fabrice 
investigated the problem years ago and provided solutions but as usual 
his patches were never included in the code base so no wonder that the 
problem creeps up again ...

I'm pretty fed up with these windows rants and 'no problem on unix' kind 
of crap ... and i also much disliked the tone of mails posted to the lua 
list about this problem suggesting that it's a windows problem etc etc 
and suggesting that it's near to impssible to compile something on 
windows ... a fact that is proven wrong by fabrice and akira

(anyhow, it's no problem to macro program around the problem, either by 
using immediate flushing (if remember right one solution was to close 
1-page docs afterwards because it's the multipage docs that complicate 
things but i dunno what's left of that patch) and/or do a multipass job)

Hans

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
      tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
                                              | www.pragma-pod.nl
-----------------------------------------------------------------


More information about the tex-live mailing list