temp file names not unique

Bart van den Eijnden (OSGIS) bartvde at XS4ALL.NL
Mon May 29 11:31:42 EDT 2006


Hi Frank,

apparently the php code does not use the tmp file name functions from 
maputil.c, at least that is what I could make up out of the following 
bug report:

http://mapserver.gis.umn.edu/bugs/show_bug.cgi?id=1322

which was the one I was looking for earlier on.

It is hard to make a testcase for this kind of behaviour. If someone is 
able to make a patch, I would be happy to test it in our environment 
ofcourse.

Best regards,
Bart

Frank Warmerdam wrote:

> Bart van den Eijnden (OSGIS) wrote:
>
>> Hi list,
>>
>> using Mapscript 4.8.3 we have encountered a problem with the 
>> uniqueness of
>> the filenames of scalebar images saved to the ms_tmp directory 
>> (filenames
>> are being reused, resulting in problems with the browser cache). We are
>> running PHP 4.3.11 as an Apache module.
>>
>> What is the status of this problem? I do remember a bugzilla entry about
>> this by Bill Binko and Daniel Morissette, but I am unable to find it.
>
>
> Bart,
>
> Based on an examination of the code, I don't see how this could be 
> happening,
> but it has been reliably reported.  Is it possible for you to construct a
> case PHP script that demonstrates the problem?  What do the temp 
> filenames
> look like?
>
> Looking at the maputil.c log messages, I suspect bug 1312 is the one in
> question.
>
>   http://mapserver.gis.umn.edu/bugs/show_bug.cgi?id=1312
>
> Best regards,



-- 
Bart van den Eijnden
OSGIS, Open Source GIS
http://www.osgis.nl



More information about the mapserver-users mailing list