Propagate: Change temp file name

.. to something already in the exclude list
This commit is contained in:
Markus Goetz 2012-12-10 19:07:52 +01:00 committed by Olivier Goffart
parent 885e073b8a
commit 42b090ec0d

View File

@ -189,7 +189,7 @@ static int _csync_push_file(CSYNC *ctx, csync_file_stat_t *st) {
if (_push_to_tmp_first(ctx)) {
/* create the temporary file name */
if (asprintf(&turi, "%s.XXXXXX", duri) < 0) {
if (asprintf(&turi, "%s.~XXXXXX", duri) < 0) {
rc = -1;
goto out;
}