Displaying 2 results from an estimated 2 matches for "necessarh".
Did you mean:
necessary
2005 Jul 28
2
Filename enocings
Hello everyone,
I have run into the same issue which the fname-convert patch solves:
http://rsync.samba.org/ftp/unpacked/rsync/patches/fname-convert.diff
i.e. rsyncing between and latin 1 and utf-8 locales.
First I'd really like to thank Eran Tromer for providing the patch as
this fixes my immediate issue! I've attached an updated version which
applies to the rsync-2.6.5 release and
2004 May 29
1
[patch] Filename conversion
...rintf(FERROR, "Filename conversion command is too long: %s\n", cmd);
+ exit_cleanup(RERR_SYNTAX);
+ }
+ parts[nparts++] = tok;
+ }
+ parts[nparts] = NULL;
+}
+
+
+/**
+ * Runs the filename converter process. Should be called before filename
+ * conversion begins (actually it's not necessarh, but it keeps the proress report
+ * nice and clean.
+ **/
+void init_fname_convert()
+{
+ if (fname_convert_cmd && conv_pid<0) {
+ char *args[MAX_ARGS];
+
+ if (verbose > 2)
+ rprintf(FINFO, "Running filename converter: %s\n", fname_convert_cmd);
+ split_on_spaces(fn...