[Bug 13492] New: report modified dir when using iconv

samba-bugs at samba.org samba-bugs at samba.org
Thu Jun 28 11:09:56 UTC 2018


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

            Bug ID: 13492
           Summary: report modified dir when using iconv
           Product: rsync
           Version: 3.1.3
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P5
         Component: core
          Assignee: wayned at samba.org
          Reporter: bugzilla.samba.org-prf at jf-luce.name
        QA Contact: rsync-qa at samba.org

Created attachment 14263
  --> https://bugzilla.samba.org/attachment.cgi?id=14263&action=edit
Terminal screenshot.

In a folder rsynctest_dst (for example)
  create a folder 'a'
  create a folder 'B'

Sync to a destination with --iconv options (I use rsync -a
--iconv=UTF8-MAC,UTF-8 --out-format='%i  - %n  - %M' rsynctest_src/
rsynctest_dst/)

Touch folder 'B'
Dry run a sync with --iconv option (same as before with -n), folder 'a' is
reported touched.
Dry run without iconv, folder 'B' is reported touched.
It looks like it syncs correctly because after a sync with --iconv, I have no
dir reported touched anymore.

I compiled myself version 3.1.3 for my mac (high sierra).

I tried to fix. So far I'm wondering if it's because "need_unsorted_flist" is 1
when --iconv is used, but dir_list global var only keep sorted list. Not
sure...

-- 
You are receiving this mail because:
You are the QA Contact for the bug.



More information about the rsync mailing list