[mapserver-dev] RFC 66 - Better handling of temporary files

thomas bonfort thomas.bonfort at gmail.com
Fri Jan 14 03:25:45 EST 2011


Alan,

The default TEMPPATH set to /tmp/ or c:\temp makes me twinge, does
c:\temp even exist on recent windows platforms?

are there valid reasons for not using mktemp (or even better mkstemp,
but that returns a file handle, maybe the mapserver functions require
a file name) ?

regards,
thomas

On Fri, Jan 14, 2011 at 06:36, Stephen Woodbridge
<woodbri at swoodbridge.com> wrote:
> +1
>
> While having the memory files would be nice, I think your updated RFC is
> prudent give the time and priorities.
>
> Thanks,
>  Steve W
>
> On 1/13/2011 1:52 PM, Alan Boudreault wrote:
>>
>> I updated the RFC 66. I separate it in 2 RFCs. Since the memory file
>> support
>> is a little bit more complicated than expected and that there are a few
>> other
>> tickets, which are more critical for MS 6.0, I suggest to to only do
>> TEMPPATH
>> setting for the moment and we will write another rfc for the memory file
>> support in the future.
>>
>> Let me know if you agree.
>>
>> regards,
>> Alan
>>
>> On January 12, 2011 02:38:22 pm Frank Warmerdam wrote:
>>>
>>> On 11-01-12 01:52 PM, Alan Boudreault wrote:
>>>>
>>>> Hi,
>>>>
>>>> I would like to put forward MS RFC 66 to provide a better handling of
>>>> temporary files. Here's the RFC:
>>>>
>>>> http://mapserver.org/development/rfc/ms-rfc-66.html
>>>>
>>>> I start with my +1
>>>
>>> Alan,
>>>
>>> I understand the aspects that relate to msTmpFile().  What is less clear
>>> to
>>> me is what how the in memory temorary file handling will be implemented.
>>> Will this be accomplished by hooking the mapio.c (msIO*) functions to use
>>> CPL when available?
>>>
>>> Would you be willing to enumerate the purposes for which temp files are
>>> used in mapserver?  Do they all use msIO now?  Should any of them
>>> deliberately be kept in the IMAGEPATH to be web accessable or was that
>>> always just a side effect?
>>>
>>> Best regards,
>>
>
> _______________________________________________
> mapserver-dev mailing list
> mapserver-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-dev
>


More information about the mapserver-dev mailing list