mirror of
https://github.com/RsyncProject/rsync.git
synced 2026-03-09 01:46:59 -04:00
Fix old stats bug that counted devices as symlinks.
This commit is contained in:
2
NEWS.md
2
NEWS.md
@@ -30,6 +30,8 @@
|
||||
|
||||
- Fixed `rsync -VV` on Cygwin -- it needed a flush of stdout.
|
||||
|
||||
- Fixed an old stats bug that counted devices as symlinks.
|
||||
|
||||
### ENHANCEMENTS:
|
||||
|
||||
- Enhanced rrsync with the `-no-overwrite` option that allows you to ensure
|
||||
|
||||
2
delete.c
2
delete.c
@@ -188,7 +188,7 @@ enum delret delete_item(char *fbuf, uint16 mode, uint16 flags)
|
||||
stats.deleted_symlinks++;
|
||||
#endif
|
||||
else if (IS_DEVICE(mode))
|
||||
stats.deleted_symlinks++;
|
||||
stats.deleted_devices++;
|
||||
else
|
||||
stats.deleted_specials++;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user