From ea1438dad8dafb5c4e55a00c5919fe619fb4f0ef Mon Sep 17 00:00:00 2001 From: Martin Pool Date: Fri, 11 Jan 2002 07:09:22 +0000 Subject: [PATCH] Merge ChangeSet@1.12: tls now shows number of links to a file to aid in testing -H --- tls.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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); } -- 2.34.1