search for: current_file_index

Displaying 7 results from an estimated 7 matches for "current_file_index".

2004 Jan 13
3
Progress reporting: N more to check
...st is up-to-date). Thoughts? Suggestions? ..wayne.. -------------- next part -------------- --- log.c 13 Jan 2004 04:50:45 -0000 1.69 +++ log.c 13 Jan 2004 04:51:01 -0000 @@ -191,6 +191,8 @@ void log_init(void) #ifndef LOG_NDELAY logit(LOG_INFO,"rsyncd started\n"); #endif + + stats.current_file_index = -1; } void log_open(void) --- progress.c 13 Jan 2004 05:13:57 -0000 1.5 +++ progress.c 13 Jan 2004 05:00:29 -0000 @@ -21,6 +21,7 @@ #include "rsync.h" +extern struct stats stats; extern int am_server; static OFF_T last_ofs; @@ -45,6 +46,7 @@ static unsigned long msdiff(str...
2008 Oct 22
1
[PATCH] Make progress output show "done" instead of "to-chk".
...s.c +++ b/progress.c @@ -72,9 +72,9 @@ static void rprint_progress(OFF_T ofs, OFF_T size, struct timeval *now, if (is_last) { int len = snprintf(eol, sizeof eol, - " (xfr#%d, to-chk=%d/%d)\n", + " (xfr#%d, done=%d/%d)\n", stats.xferred_files, - stats.num_files - current_file_index - 1, + current_file_index, stats.num_files); if (INFO_GTE(PROGRESS, 2)) { static int last_len = 0; -- 1.6.0.2.593.g91df
2004 Sep 03
1
more filelist --stats
...Copyright (C) Paul Mackerras 1996 Copyright (C) 2001, 2002 by Martin Pool <mbp@samba.org> @@ -520,6 +521,8 @@ int64 literal_data; int64 matched_data; int flist_size; + time_t flist_buildtime; + time_t flist_xfertime; int num_files; int num_transferred_files; int current_file_index;
2004 Feb 23
0
[patch] Add `--link-by-hash' option (rev 4).
...urn; + } else +#endif /* move tmp file over real file */ ret = robust_rename(fnametmp, fname, file->mode & INITACCESSPERMS); if (ret != 0) { patchwork diff rsync.h --- rsync.h 2004-02-23 10:22:51.000000000 -0500 +++ rsync.h 2004-02-23 10:22:51.000000000 -0500 @@ -513,6 +513,14 @@ int current_file_index; }; +struct hashfile_struct { + struct hashfile_struct *next; + struct hashfile_struct *prev; + char *name; + int fd; + uint32 nlink; +}; + /* we need this function because of the silly way in which duplicate entries are handled in the file lists - we can't change this
2004 Feb 17
0
[patch] Add `--link-by-hash' option (rev 3).
...ame, strerror(errno)); - } else { - set_perms(fname,file,NULL,0); - } + return; + } + + set_perms(fname,file,NULL,0); } const char *who_am_i(void) patchwork diff rsync.h --- rsync.h 2004-02-17 10:36:44.000000000 -0500 +++ rsync.h 2004-02-17 10:36:44.000000000 -0500 @@ -513,6 +513,14 @@ int current_file_index; }; +struct hashfile_struct { + struct hashfile_struct *next; + struct hashfile_struct *prev; + char *name; + int fd; + uint32 nlink; +}; + /* we need this function because of the silly way in which duplicate entries are handled in the file lists - we can't change this
2004 Feb 23
0
[patch] Add `--link-by-hash' option (rev 5).
...SPERMS); + if (ret != 0) { rprintf(FERROR, "%s %s -> \"%s\": %s\n", ret == -2 ? "copy" : "rename", patchwork diff rsync.h --- rsync.h 2004-02-23 10:22:51.000000000 -0500 +++ rsync.h 2004-02-23 12:42:59.000000000 -0500 @@ -513,6 +513,14 @@ int current_file_index; }; +struct hashfile_struct { + struct hashfile_struct *next; + struct hashfile_struct *prev; + char *name; + int fd; + uint32 nlink; +}; + /* we need this function because of the silly way in which duplicate entries are handled in the file lists - we can't change this
2004 Feb 16
1
[patch] Add `--link-by-hash' option (rev 2).
...turn; + +#ifdef HAVE_LINK + if (link_by_hash_dir) + link_by_hash(fname,file); +#endif + + set_perms(fname,file,NULL,0); } const char *who_am_i(void) patchwork diff rsync.h --- rsync.h 2004-02-16 10:24:41.000000000 -0500 +++ rsync.h 2004-02-16 10:18:59.000000000 -0500 @@ -513,6 +513,13 @@ int current_file_index; }; +struct hashfile_struct { + struct hashfile_struct *next; + struct hashfile_struct *prev; + char *name; + int fd; +}; + /* we need this function because of the silly way in which duplicate entries are handled in the file lists - we can't change this