summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2021-04-18 16:05:30 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2021-04-18 20:59:51 -0700
commit650f0a6c66a9debb71e9cdab5ba7494f97206e59 (patch)
tree36b8a48ff79863cbbb385dd50493ba72f8836e11 /modules
parent9396fa38446d9bc2192e23eb01e2ca03271cf723 (diff)
downloadgnulib-650f0a6c66a9debb71e9cdab5ba7494f97206e59.tar.gz
backupfile: simplify via realloc-gnu
* lib/backupfile.c: Do not include xalloc-oversized.h. (numbered_backup): Simplify now that realloc will do the right thing about ptrdiff_t overflow. * modules/backupfile (Depends-on): Add realloc-gnu; remove xalloc-oversized.
Diffstat (limited to 'modules')
-rw-r--r--modules/backupfile2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/backupfile b/modules/backupfile
index 42c8c9ed53..342a7bdff1 100644
--- a/modules/backupfile
+++ b/modules/backupfile
@@ -21,11 +21,11 @@ intprops
memcmp
opendirat
readdir
+realloc-gnu
renameatu
stdbool
stdint
xalloc-die
-xalloc-oversized
configure.ac:
gl_BACKUPFILE