search for: copy_dir

Displaying 2 results from an estimated 2 matches for "copy_dir".

Did you mean: conf_dir
2008 Sep 01
0
Feature request: preallocation of directories
...t they are created first, instead of as the files are copied over. Unfortunately, being new to rsync's source code, it's not clear to me how is the best way to add this feature. I was hoping that some rsync hacker with some free time would either take a tiny bit of code for the attached copy_dirstruct.c program and add it to rsync in the appropriate place, or give me some tips about how to add it. I *think* it is in generator.c, but recv_generator is complicated enough that I'm not entirely confident how to add it without breaking some other option, or some part of its functioning....
2005 Aug 04
0
[PATCH 6/11] Xenstore watch rework
...send_error(conn, errno); + return; + } if (transaction_block(conn, node)) - return true; + return; dir = node_dir_outside_transaction(node); @@ -270,18 +275,19 @@ talloc_set_destructor(transaction, destroy_transaction); trace_create(transaction, "transaction"); - if (!copy_dir(dir, transaction->divert)) - return send_error(conn, errno); + if (!copy_dir(dir, transaction->divert)) { + send_error(conn, errno); + return; + } talloc_steal(conn, transaction); conn->transaction = transaction; - return send_ack(transaction->conn, XS_TRANSACTION_START); + sen...