Displaying 1 result from an estimated 1 matches for "bufst".
Did you mean:
bufs
2005 May 31
0
[Bug 2758] New: "File exists" error using options -b and --backup-dir with device files.
...was already a device file
--- backup.c.gen Mon Feb 21 17:57:58 2005
+++ backup.c Tue May 31 11:33:30 2005
@@ -171,7 +171,7 @@
* We will move the file to be deleted into a parallel directory tree. */
static int keep_backup(char *fname)
{
- STRUCT_STAT st;
+ STRUCT_STAT st, bufst;
struct file_struct *file;
char *buf;
int kept = 0;
@@ -190,6 +190,12 @@
/* Check to see if this is a device file, or link */
if (IS_DEVICE(file->mode)) {
if (am_root && preserve_devices) {
+ /* delete backup_d...