On Sat, 21 May 2011, Guilhem Bonnefille wrote:

> 2011/5/21 Sven Wegener <sven.wege...@stealer.net>:
> > If supported, store the etag values from downloaded tiles in extended
> > attributes on the local files, instead of cluttering our maps directory
> > with .etag files.
> 
> I really like the idea to let the filesystem store this information for us.
> But how portable is this solution? What about windows (we have
> significant number of users on windows)?

I don't know if Windows supports external attributes, but the code in the 
patch falls back to the .etag files in case g_file_set_attribute_string or 
g_file_info_get_attribute_string fail. The code depends on glib handling 
the complete xattr stuff. I've tested the 
glib-compiled-without-xattr-support and filesystem-without-xattr-support 
case on Linux and I expect the result to be the same on Windows.

Sven

------------------------------------------------------------------------------
What Every C/C++ and Fortran developer Should Know!
Read this article and learn how Intel has extended the reach of its 
next-generation tools to help Windows* and Linux* C/C++ and Fortran 
developers boost performance applications - including clusters. 
http://p.sf.net/sfu/intel-dev2devmay
_______________________________________________
Viking-devel mailing list
Viking-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/viking-devel
Viking home page: http://viking.sf.net/

Reply via email to