summaryrefslogtreecommitdiff
path: root/src/common.h
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2022-09-02 16:32:27 -0500
committerPaul Eggert <eggert@cs.ucla.edu>2022-09-02 16:33:47 -0500
commitf8e14746d2ca72804a4520c059d7bf65ca00c5ac (patch)
tree455dde125161a38e5f56d9ce7afe08133aa9c1dc /src/common.h
parent35d9845d5d410237e418113ec79d8f9e4b0b2bb8 (diff)
downloadtar-f8e14746d2ca72804a4520c059d7bf65ca00c5ac.tar.gz
Fix --delete bug with short reads
* gnulib.modules: Add idx. * src/common.h: Include idx.h. * src/delete.c (move_archive): Don’t botch short reads.
Diffstat (limited to 'src/common.h')
-rw-r--r--src/common.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/common.h b/src/common.h
index 58c1b6c1..24166524 100644
--- a/src/common.h
+++ b/src/common.h
@@ -53,6 +53,7 @@
#include <backupfile.h>
#include <exclude.h>
#include <full-write.h>
+#include <idx.h>
#include <modechange.h>
#include <quote.h>
#include <safe-read.h>