diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2021-04-18 16:05:30 -0700 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2021-04-18 20:59:51 -0700 |
commit | 650f0a6c66a9debb71e9cdab5ba7494f97206e59 (patch) | |
tree | 36b8a48ff79863cbbb385dd50493ba72f8836e11 /modules | |
parent | 9396fa38446d9bc2192e23eb01e2ca03271cf723 (diff) | |
download | gnulib-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/backupfile | 2 |
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 |