Displaying 3 results from an estimated 3 matches for "filesfrom_convert".
2007 Sep 18
1
DO NOT REPLY [Bug 4981] New: iconv confusion
...g on OS X due to HAVE_ICONV_OPEN not being set. But
iconv_open() exists, so maybe there's a problem with the configuration tests.
2. Attempting to disable iconv support via --disable-iconv fails because some
parts of the code are not conditionalized. I came across proto.h:258 and
flist.c:1649 (filesfrom_convert). There are probably others.
--
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.
2015 Jul 11
2
C coding tips please / Localisation
...textdomain("rsync");
#endif
flist.c
-------
Below a lot of "extern" declarations, I added the following line ...
#define _(String) gettext (String)
... so that the code becomes as follows.
extern struct filter_list_struct daemon_filter_list;
#ifdef ICONV_OPTION
extern int filesfrom_convert;
extern iconv_t ic_send, ic_recv;
#endif
#define PTR_SIZE (sizeof (struct file_struct *))
/* Following line added for Localisation. This requires libintl.h to be
included in the main.c file.*/
#define _(String) gettext (String)
int io_error;
With the above modifications, when I use "make&q...
2008 Feb 15
4
Revised flags patch
...tor;
@@ -60,7 +61,7 @@ extern iconv_t ic_send, ic_recv;
#endif
/* These index values are for the file-list's extra-attribute array. */
-int uid_ndx, gid_ndx, acls_ndx, xattrs_ndx, unsort_ndx;
+int uid_ndx, gid_ndx, fileflags_ndx, acls_ndx, xattrs_ndx, unsort_ndx;
#ifdef ICONV_OPTION
int filesfrom_convert = 0;
@@ -124,6 +125,8 @@ void setup_protocol(int f_out,int f_in)
uid_ndx = ++file_extra_cnt;
if (preserve_gid)
gid_ndx = ++file_extra_cnt;
+ if (preserve_fileflags)
+ fileflags_ndx = ++file_extra_cnt;
if (preserve_acls && !am_sender)
acls_ndx = ++file_extra_cnt;
if (preserve...