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-AntipolisReceived on Tuesday, 7 January 2003 09:44:01 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 18 May 2007 18:39:17 GMT