diff options
| author | Mattias Andrée <m@maandree.se> | 2026-02-28 15:10:48 +0100 |
|---|---|---|
| committer | Mattias Andrée <m@maandree.se> | 2026-02-28 15:10:48 +0100 |
| commit | 68ebd51c62f0c962ecddbb6cf1f86e26d4be2f98 (patch) | |
| tree | 84cf504f2a700433a8c02a30e5f0c1984bfeaeaf /map.c | |
| parent | fix doc text (diff) | |
| download | deadshred-68ebd51c62f0c962ecddbb6cf1f86e26d4be2f98.tar.gz deadshred-68ebd51c62f0c962ecddbb6cf1f86e26d4be2f98.tar.bz2 deadshred-68ebd51c62f0c962ecddbb6cf1f86e26d4be2f98.tar.xz | |
Signed-off-by: Mattias Andrée <m@maandree.se>
Diffstat (limited to '')
| -rw-r--r-- | map.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -211,12 +211,12 @@ load_map(int fd, struct status *status, enum direction direction, const char *fn off = 0; } - if (!ended) - eprintf("%s: truncated file content", fname); - if (empty) return 0; + if (!ended) + eprintf("%s: truncated file content", fname); + qsort(status->spans, status->nspans, sizeof(*status->spans), &spancmp); min_start = -1; preshredded = refspan.end - refspan.start; |
