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

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  

Received on Tuesday, 7 January 2003 08:50:20 UTC