DO NOT REPLY [Bug 5162] New: using iconv with pre7 chops last
special character in filenames
samba-bugs at samba.org
samba-bugs at samba.org
Wed Dec 26 22:24:37 GMT 2007
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: wayned at samba.org
ReportedBy: mehoudar at 012.net.il
QAContact: rsync-qa at samba.org
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.
More information about the rsync
mailing list