From 4efa11680a07d02d48fa70cc3df393ee6bd11082 Mon Sep 17 00:00:00 2001 From: Wayne Davison Date: Thu, 25 Oct 2007 01:40:17 +0000 Subject: [PATCH] We need to provide iconvbufs() anytime ICONV_CONST is defined. --- rsync.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/rsync.c b/rsync.c index 573641ab..79ec3845 100644 --- a/rsync.c +++ b/rsync.c @@ -134,8 +134,6 @@ void setup_iconv(void) # endif } -# ifdef ICONV_OPTION - /* This function converts the characters in the "in" xbuf into characters * in the "out" xbuf. The "len" of the "in" xbuf is used starting from its * "pos". The "size" of the "out" xbuf restricts how many characters can be @@ -205,7 +203,6 @@ int iconvbufs(iconv_t ic, xbuf *in, xbuf *out, int flags) return errno ? -1 : 0; } -# endif #endif int read_ndx_and_attrs(int f_in, int *iflag_ptr, uchar *type_ptr, -- 2.34.1