search for: human_num

Displaying 4 results from an estimated 4 matches for "human_num".

2007 Feb 07
3
Redirect --stats to STDERR.
...ts.num_transferred_files);/ /- rprintf(FINFO,"Total file size: %s bytes\n",/ /+ rprintf(FERROR,"Total file size: %s bytes\n",/ / human_num(stats.total_size));/ /- rprintf(FINFO,"Total transferred file size: %s bytes\n",/ /+ rprintf(FERROR,"Total transferred file size: %s bytes\n",/ /...
2007 Aug 01
0
[PATCH] prevent negative "time left" values with --progress when file grows
...ving revision 1.23 diff -u -r1.23 progress.c --- progress.c 10 Jul 2007 13:55:49 -0000 1.23 +++ progress.c 1 Aug 2007 12:43:33 -0000 @@ -104,9 +104,16 @@ stats.num_files); } else strlcpy(eol, "\r", sizeof eol); - rprintf(FCLIENT, "%12s %3d%% %7.2f%s %4d:%02d:%02d%s", - human_num(ofs), pct, rate, units, - remain_h, remain_m, remain_s, eol); + if (remain < 0) + /* file size increased on sending side during xfer */ + /* so prevent negative times like 0:-1:-49 */ + rprintf(FCLIENT, "%12s %3d%% %7.2f%s ??:??:??%s", + human_num(ofs), pct, rate, units...
2008 Jun 09
4
DO NOT REPLY [Bug 5529] New: Use commas in displayed numbers
https://bugzilla.samba.org/show_bug.cgi?id=5529 Summary: Use commas in displayed numbers Product: rsync Version: 3.0.2 Platform: All OS/Version: All Status: NEW Severity: enhancement Priority: P3 Component: core AssignedTo: wayned@samba.org ReportedBy: Dave@Yost.com QAContact:
2007 Sep 22
0
rsync build on IA64 using icc
...rce file extern char curr_dir[MAXPATHLEN]; ^ main.c(72): remark #1419: external declaration in primary source file extern struct filter_list_struct server_filter_list; ^ main.c(260): remark #981: operands are evaluated in unspecified order human_num(total_written), human_num(total_read), ^ main.c(258): remark #981: operands are evaluated in unspecified order rprintf(FINFO, ^ main.c(285): remark #981: operands are evaluated in unspecified order am_daemon ? "daemon " : "", who_am_i...