From: Martin Pool Date: Fri, 11 Jan 2002 07:09:22 +0000 (+0000) Subject: Merge ChangeSet@1.12: tls now shows number of links to a file to aid in testing -H X-Git-Tag: v2.5.2pre1~52 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ea1438dad8dafb5c4e55a00c5919fe619fb4f0ef;p=thirdparty%2Frsync.git Merge ChangeSet@1.12: tls now shows number of links to a file to aid in testing -H --- diff --git a/tls.c b/tls.c index f57648da..44e290e3 100644 --- a/tls.c +++ b/tls.c @@ -1,6 +1,6 @@ /* -*- c-file-style: "linux" -*- * - * Copyright (C) 2001 by Martin Pool + * Copyright (C) 2001, 2002 by Martin Pool * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License version @@ -117,9 +117,10 @@ static void list_file (const char *fname) /* NB: need to pass size as a double because it might be be * too large for a long. */ - printf("%s %12.0f %6d.%-6d %s %s%s\n", + printf("%s %12.0f %6d.%-6d %6d %s %s%s\n", permbuf, (double) buf.st_size, buf.st_uid, buf.st_gid, + buf.st_nlink, datebuf, fname, linkbuf); }