[OSM-dev] tiles at home: frollo leaves dead files

Hakan Tandogan hakan at gurkensalat.com
Thu Mar 22 13:12:29 GMT 2007


Hi,


Frollo leaves dead temp files in the working directory. I don't have svn
write access, a quick fix could be:

Index: tilesGen.pl
===================================================================
--- tilesGen.pl (revision 2316)
+++ tilesGen.pl (working copy)
@@ -352,6 +356,9 @@

   # Delete OSM map data
   killafile($DataFile);
+
+  # Delete frollo temp file
+  killafile("temp-$PID.osm");

   # Find the size of the SVG file
   my ($ImgH,$ImgW,$Valid) =
getSize("$Config{WorkingDirectory}output-$PID-z$Config{MaxZoom}.svg");





-- 
The key to immortality is first living a life worth remembering...






More information about the dev mailing list