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

           Summary: using iconv with pre7 chops last special character in
                    filenames
           Product: rsync
           Version: 3.0.0
          Platform: x86
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P3
         Component: core
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]
         QAContact: [EMAIL PROTECTED]


i'm syncing two directories;
src on winxp @ x86
dst on ubunty 7.10 64bit

on my src i have hebrew filenames.
while syncing, filenames are correctly converted to utf8 on the dst (otherwise
they are unreadable on the linux machine) however if a filename ends with a
hebrew charater it's chopped. 
i will examplify this transform:
let a-z signify english letters
and A-Z signify hebrew letters
src filename -> dst filename
abc          -> abc
ABc          -> ABc
ABC          -> AB
A            -> <empty>

I'm using pre release 7 with --enable-iconv=. on both machines.
on cygwin i had to hardcode #define HAVE_ICONV_OPEN 1 into config.h to get it
to comile correctly.

libiconv-1.11

note also that if i use --log-file on the client, the log file shows the
correctly transformed filenames, yet they are created chopped on the dst
filesystem.
note also that simply copying the files from the xp machine using a samba mount
works perfectly.

this error applies both to files and directories.
if a directory was formed malnamed on the dst, then it will not be populated
with anyfiles, only with it's subdirs.


-- 
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.
-- 
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Reply via email to