DO NOT REPLY [Bug 4195] New: "--list-only" option has an off-by-one error and misses out the last file of the list

samba-bugs at samba.org samba-bugs at samba.org
Sun Oct 29 17:37:55 GMT 2006


https://bugzilla.samba.org/show_bug.cgi?id=4195

           Summary: "--list-only" option has an off-by-one error and misses
                    out the last file of the list
           Product: rsync
           Version: 2.6.8
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P3
         Component: core
        AssignedTo: wayned at samba.org
        ReportedBy: rsync_spam at i-am-free.net
         QAContact: rsync-qa at samba.org


Observed in version 2.6.8 on Linux.

$ ls -l
total 0
-rw------- 1 tom tom 0 Oct 29 17:34 a
-rw------- 1 tom tom 0 Oct 29 17:34 b
-rw------- 1 tom tom 0 Oct 29 17:34 c

$ rsync --list-only *
-rw-------           0 2006/10/29 17:34:49 a
-rw-------           0 2006/10/29 17:34:49 b

The "--dry-run --verbose" combination of options seems to work correctly.


-- 
Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.


More information about the rsync mailing list