mirror of
https://github.com/felt/tippecanoe.git
synced 2026-10-04 17:35:42 +02:00
Fix a place that wasn't checking for disk write errors
This commit is contained in:
@@ -341,7 +341,7 @@ static void merge(struct merge *merges, int nmerges, unsigned char *map, FILE *f
|
|||||||
}
|
}
|
||||||
|
|
||||||
while (head != NULL) {
|
while (head != NULL) {
|
||||||
fwrite(map + head->start, bytes, 1, f);
|
fwrite_check(map + head->start, bytes, 1, f, "merge temporary");
|
||||||
head->start += bytes;
|
head->start += bytes;
|
||||||
|
|
||||||
struct merge *m = head;
|
struct merge *m = head;
|
||||||
|
|||||||
Reference in New Issue
Block a user