Bug in remote CSS loading, amaya 7.1, OSX, got it!

Carine Bournez <[email protected]>
Newsgroups gmane.comp.web.amaya.general,gmane.comp.web.amaya.devel
Message-ID <[email protected]>




I finally found where the bug [1] is.

In AHTURLTools.c, function GetTempName, the second test is
if (len + L_tmpnam > FILENAME_MAX)
    return NULL;


In MacOSX, L_tmpnam = FILENAME_MAX = 1024, so the condition
is always true and the function always returns NULL.

Note that it is not a bug in OSX, it's quite logical to have temp
file names that can reach the maximum length admitted by the system, even
if most of OSes have shorter limits for tmpnam.


[1] http://lists.w3.org/Archives/Public/www-amaya-dev/2003Jan/0001.html

-- 
Carine Bournez -+- W3C / INRIA Sophia-Antipolis
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.