Displaying 7 results from an estimated 7 matches for "setup_iconv".
2008 Feb 26
4
rsync-3.0.0pre10 and iconv
Hello,
I am trying to get rsync-3.0.0pre10 --iconv option working between two linux hosts in local network.
The client host is running Fedora Core 4 (kernel 2.6.17) and is using iso8859-1 character set. LANG=en_US
The daemon host is running Centos 5 (kernel 2.6.18) and is using utf-8 character set. LANG=en_US.UTF-8
Rsync is transferring files properly without --iconv switch:
fc4: (connected
2007 Sep 22
0
rsync build on IA64 using icc
...6.9 configuration successful
~/src/rsync-2.6.9$ make
/opt/intel/compilo_9/l_cc_c_9.1.042/bin/icc -c99 -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -c rsync.c -o rsync.o
icc: Command line remark: option '-W' not supported
proto.h(224): remark #310: old-style parameter list (anachronism)
void setup_iconv();
^
rsync.c(33): remark #1419: external declaration in primary source file
extern int verbose;
^
rsync.c(34): remark #1419: external declaration in primary source file
extern int dry_run;
^
rsync.c(35): remark #1419: external declaration in primary source fi...
2006 Oct 29
3
rsync+iconv
...fferently. Perhaps
> configure decided that it needed -liconv when that that library
> doesn't really work?
$ nm ./test | grep iconv
U iconv_open@@GLIBC_2.1
$ nm ./rsync | grep iconv
U iconv@@GLIBC_2.1
U iconv_open@@GLIBC_2.1
08091cfc B iconv_opt
0804ada0 T setup_iconv
As I undersnand, programs are linked equally?
> Also, did you run the test program on the same machine that is logging
> the error? (I assume the sending/server side, not the client side.)
Sure.
When I started to play with iconv, I've used ALT linux (russian distribution)
box as CP12...
2007 Oct 07
2
DO NOT REPLY [Bug 5012] New: iconv: client charset used by server process
...ReportedBy: kaarle@web.de
QAContact: rsync-qa@samba.org
If rsync-3.0.0pre1 is called like
rsync --iconv=UTF-8-MAC,UTF-8 SOURCE HOST:DEST
the client charset, here UTF-8-MAC, is forwarded to the server process rather
than the specified destination charset UTF-8. This is due a bug in
setup_iconv() where iconv_opt isn't truncated to the destination charset as
expected by server_options(...).
--
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.
2008 Feb 11
3
Rsync 3.0.0pre9 released
I've just released rsync 3.0.0pre9. We needed one last bug-fix release
prior to the 3.0.0 final release, so here it is. I'm not anticipating
any large changes prior to that milestone. Please help to test it to
ensure that we're ready to go! Send email to the rsync mailing list
with your questions, comments, bug reports, etc.
You can download the source tar file and its signature
2008 Feb 11
3
Rsync 3.0.0pre9 released
I've just released rsync 3.0.0pre9. We needed one last bug-fix release
prior to the 3.0.0 final release, so here it is. I'm not anticipating
any large changes prior to that milestone. Please help to test it to
ensure that we're ready to go! Send email to the rsync mailing list
with your questions, comments, bug reports, etc.
You can download the source tar file and its signature
2009 Nov 04
0
PATCH: fast copy of files in local server mode
...STDOUT_FILENO) < 0) {
rsyserr(FERROR, errno, "Failed to dup/close");
@@ -150,6 +158,9 @@
close(to_child_pipe[0]);
if (from_child_pipe[1] != STDOUT_FILENO)
close(from_child_pipe[1]);
+#ifdef HAVE_SOCKETPAIR
+ local_socket = child_socket[0];
+#endif
#ifdef ICONV_CONST
setup_iconv();
#endif
@@ -157,6 +168,9 @@
}
if (close(from_child_pipe[1]) < 0 ||
+#ifdef HAVE_SOCKETPAIR
+ close(child_socket[0]) < 0 ||
+#endif
close(to_child_pipe[0]) < 0) {
rsyserr(FERROR, errno, "Failed to close");
exit_cleanup(RERR_IPC);
@@ -164,6 +178,9 @@
*f...