Displaying 2 results from an estimated 2 matches for "start_read".
2004 May 29
1
[patch] Filename conversion
...t;);
@@ -1217,6 +1227,9 @@ struct file_list *send_file_list(int f,
write_batch_flist_info(flist->count, flist->files);
}
+ if (!am_server)
+ cleanup_fname_convert();
+
if (verbose > 3)
output_flist(flist);
@@ -1239,6 +1252,9 @@ struct file_list *recv_file_list(int f)
start_read = stats.total_read;
+ if (!am_server)
+ init_fname_convert();
+
flist = flist_new(WITH_HLINK, "recv_file_list");
flist->count = 0;
@@ -1293,6 +1309,9 @@ struct file_list *recv_file_list(int f)
}
}
+ if (!am_server)
+ cleanup_fname_convert();
+
if (verbose > 3)...
2004 Feb 06
4
memory reduction
...ile_list *send_file_list(int f,
finish_filelist_progress(flist);
}
+ if (flist->hlink_pool)
+ {
+ pool_destroy(flist->hlink_pool);
+ flist->hlink_pool = NULL;
+ }
+
clean_flist(flist, 0, 0);
if (f != -1) {
@@ -1216,10 +1236,10 @@ struct file_list *recv_file_list(int f)
start_read = stats.total_read;
- flist = new(struct file_list);
- if (!flist)
- goto oom;
+ flist = flist_new(WITH_HLINK, "recv_file_list");
+ flist->hlink_pool = pool_create(128 * 1024, sizeof (struct idev),
+ out_of_memory, POOL_INTERN);
flist->count = 0;
flist->malloced = 10...