search for: conv_read_fd

Displaying 1 result from an estimated 1 matches for "conv_read_fd".

2004 May 29
1
[patch] Filename conversion
...rrors are always considered fatal, since an + * incorrectly named file could cause unpredictable damage. + */ + +#include <rsync.h> + +#define FNAME_CONV_PERSISTENCE_TIMEOUT 3000 /* milliseconds */ + +static int conv_persistent = 1; +static pid_t conv_pid = -1; +static int conv_write_fd = -1, conv_read_fd; +extern char* fname_convert_cmd; +extern int blocking_io; + +/** + * Splits cmd on spaces. + */ +static void split_on_spaces(char* cmd, char** parts) { + int nparts=0; + char *tok; + char *cmd2 = strdup(cmd); + if (!cmd2) { + rprintf(FERROR, "Out of memory while parsing filename filter %s\n&...