httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From c...@decus.org (Rodent of Unusual Size)
Subject Re: [PATCH] Enable sortable columns in FancyIndexed directories
Date Thu, 24 Jul 1997 10:04:43 GMT
>From the fingers of Dean Gaudet flowed the following:
>
>I haven't tested this, but it looks fine except:
>
>> +    char *qvalue = "?.=.";
>> +    qvalue[1] = fname;
>> +    qvalue[3] = reverse ? D_DESCENDING : D_ASCENDING;
>
>qvalue points to a const char *... which most compilers don't warn about
>because it's such a common problem.  Your code here isn't thread safe.

    D'oh!  Fixed..

    #ken    :-)}

Mime
View raw message