diff --git a/gnulib b/gnulib index c5e76a95..c58eb574 160000 --- a/gnulib +++ b/gnulib @@ -1 +1 @@ -Subproject commit c5e76a95605b1ef70559f90ebb656e0a4efb8fd9 +Subproject commit c58eb574c3a2cb76113ad4d9afea19ab5562f292 diff --git a/src/misc.c b/src/misc.c index cd07f530..65833b10 100644 --- a/src/misc.c +++ b/src/misc.c @@ -727,7 +727,7 @@ maybe_backup_file (const char *file_name, bool this_is_the_archive) && (S_ISBLK (file_stat.st_mode) || S_ISCHR (file_stat.st_mode))) return true; - after_backup_name = find_backup_file_name (file_name, backup_type); + after_backup_name = find_backup_file_name (AT_FDCWD, file_name, backup_type); if (! after_backup_name) xalloc_die ();