W3C home > Mailing lists > Public > www-amaya-dev@w3.org > January 2003

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

From: Carine Bournez <carine@w3.org>
Date: Tue, 7 Jan 2003 08:34:37 -0500 (EST)
To: www-amaya-dev@w3.org, irene.vatton@inrialpes.fr
Message-ID: <20030107133434.GL8855@ender.inria.fr>

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 09:44:01 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:25:48 UTC