X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/3a8fad78053e1fb9fdaa227a066bb62e814cb3c1..7f0db4fd8e039a031f5eeebf80f2803ec56fb61c:/generator.c diff --git a/generator.c b/generator.c index 2fc23d13..a0a95d9f 100644 --- a/generator.c +++ b/generator.c @@ -1198,7 +1198,7 @@ static int try_dests_non(struct file_struct *file, char *fname, int ndx, static void list_file_entry(struct file_struct *f) { char permbuf[PERMSTRING_SIZE]; - double len; + int64 len; if (!F_IS_ACTIVE(f)) { /* this can happen if duplicate names were removed */ @@ -1212,14 +1212,14 @@ static void list_file_entry(struct file_struct *f) #ifdef SUPPORT_LINKS if (preserve_links && S_ISLNK(f->mode)) { - rprintf(FINFO, "%s %11.0f %s %s -> %s\n", - permbuf, len, timestring(f->modtime), + rprintf(FINFO, "%s %11s %s %s -> %s\n", + permbuf, big_num(len, 0), timestring(f->modtime), f_name(f, NULL), F_SYMLINK(f)); } else #endif { - rprintf(FINFO, "%s %11.0f %s %s\n", - permbuf, len, timestring(f->modtime), + rprintf(FINFO, "%s %11s %s %s\n", + permbuf, big_num(len, 0), timestring(f->modtime), f_name(f, NULL)); } }