Displaying 1 result from an estimated 1 matches for "unlink_tmp".
Did you mean:
unlink_dma
2003 Nov 17
0
[PATCH] --source-filter && --dest-filter for rsync 2.5.6
...00000000 +0100
@@ -109,6 +109,27 @@
char buff[CHUNK_SIZE]; /* dw */
int j; /* dw */
int done; /* dw */
+ extern char *source_filter;
+#define MAX_FILTER_ARGS 100
+ char *filter_argv[MAX_FILTER_ARGS + 1];
+ char *tmp = 0, *tmpl = "/tmp/rsync-filtered_sourceXXXXXX";
+ int unlink_tmp = 0;
+
+ if (source_filter) {
+ char *p;
+ char *sep = " \t";
+ int i;
+ for (p = strtok(source_filter, sep), i = 0;
+ p && i < MAX_FILTER_ARGS;
+ p = strtok(0, sep)) {
+ filter_argv[i++] = p;
+ }
+ filter_argv[i] = 0;
+ if (p) {
+ rprintf(FERROR,&quo...