summaryrefslogtreecommitdiff
path: root/modules/backupfile
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2021-04-06 17:39:31 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2021-04-06 17:51:35 -0700
commit4392cab3a01e2df101f3fd269c5b17aa969d0669 (patch)
tree1d9443627d98db3bec1939eb63ec6b57fd5bcd3b /modules/backupfile
parenta1cbbe4664a9c06b40f8e5d489ea574537b78945 (diff)
downloadgnulib-4392cab3a01e2df101f3fd269c5b17aa969d0669.tar.gz
backupfile: less-aggressive buffer growth
* lib/backupfile.c: Include intprops.h. (numbered_backup): Grow buffer by the usual 50%, not 100%. This is easier to do now that we have xalloc_count_t. * modules/backup-rename, modules/backupfile: Depend on intprops.
Diffstat (limited to 'modules/backupfile')
-rw-r--r--modules/backupfile1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/backupfile b/modules/backupfile
index 41cf99b025..42c8c9ed53 100644
--- a/modules/backupfile
+++ b/modules/backupfile
@@ -17,6 +17,7 @@ closedir
d-ino
fcntl-h
idx
+intprops
memcmp
opendirat
readdir