Lars Gullik Bjønnes wrote: > fs::exists should never throw.... if it does we are feeding it really > bogus data already. So IMHO the try/catch should not be needed. > That is why I really would like to know _what_ throws really.
One reason was that the length of the string was exceeding MAX_PATH on windows. This should not happen anymore. The most recent cause of exception we did not find out. I hoped that we get proper error messages from boost when catching the exceptions, so that we can try to fix the problems subsequently. However, the main problem is that the LaTeX log file is just not suitable for file name parsing. Wahtever we do, there will always be cases where we pass bogus data to fs. The alternative is a really bad file name parsing that misses 40% of all file names (as is the case in 1.4 and earlier). Jürgen