Displaying 1 result from an estimated 1 matches for "pfound".
Did you mean:
found
2010 Nov 09
5
Changes made to main.c on implementing real time Rsync
...ream (code 12) at io.c(610)
[sender=3.0.7]
So, I changed main.c to create folder recursively. The following are the
changes.
if (mkdir_defmode(dest_path) != 0)
{
/*create folder recursively*/
char parentFolder[200];
char *pFound = dest_path + 1;//ignore the first /
STRUCT_STAT st1;
while( (pFound = strchr(pFound, '/')) != NULL)
{
memcpy(parentFolder, dest_path, pFound - dest_path);
parentFolder[pFound - dest_path] = '\0'...