mirror of
https://github.com/felt/tippecanoe.git
synced 2026-10-05 09:55:41 +02:00
Remove temporary files that were accidentally left in place
This commit is contained in:
@@ -1491,6 +1491,7 @@ int read_json(int argc, char **argv, char *fname, const char *layername, int max
|
|||||||
perror(geomname);
|
perror(geomname);
|
||||||
exit(EXIT_FAILURE);
|
exit(EXIT_FAILURE);
|
||||||
}
|
}
|
||||||
|
unlink(geomname);
|
||||||
int geomfd2;
|
int geomfd2;
|
||||||
|
|
||||||
/* Sort the index by geometry */
|
/* Sort the index by geometry */
|
||||||
@@ -1625,6 +1626,7 @@ int read_json(int argc, char **argv, char *fname, const char *layername, int max
|
|||||||
perror(geomname);
|
perror(geomname);
|
||||||
exit(EXIT_FAILURE);
|
exit(EXIT_FAILURE);
|
||||||
}
|
}
|
||||||
|
unlink(geomname);
|
||||||
|
|
||||||
for (i = 0; i < CPUS; i++) {
|
for (i = 0; i < CPUS; i++) {
|
||||||
if (reader[i].geomst.st_size > 0) {
|
if (reader[i].geomst.st_size > 0) {
|
||||||
|
|||||||
Reference in New Issue
Block a user