X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/6e69cff118cf6533854052d90295fdc7d117511d..736a6a291cf0fc9ab9410f300174a70e868e4122:/options.c diff --git a/options.c b/options.c index 8893195a..4bc482e6 100644 --- a/options.c +++ b/options.c @@ -1,7 +1,7 @@ /* -*- c-file-style: "linux" -*- Copyright (C) 1998-2001 by Andrew Tridgell - Copyright (C) 2000-2001 by Martin Pool + Copyright (C) 2000, 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 as published by @@ -122,6 +122,7 @@ static void print_rsync_version(enum logcode f) char const *hardlinks = "no "; char const *links = "no "; char const *ipv6 = "no "; + STRUCT_STAT *dumstat; #ifdef HAVE_SOCKETPAIR got_socketpair = ""; @@ -145,10 +146,17 @@ static void print_rsync_version(enum logcode f) "Copyright (C) 1996-2001 by Andrew Tridgell and others\n"); rprintf(f, "\n"); rprintf(f, "Capabilities: %d-bit files, %ssocketpairs, " - "%shard links, %ssymlinks, batchfiles, %sIPv6\n\n", + "%shard links, %ssymlinks, batchfiles, %sIPv6,\n", (int) (sizeof(OFF_T) * 8), got_socketpair, hardlinks, links, ipv6); + /* Note that this field may not have type ino_t. It depends + * on the complicated interaction between largefile feature + * macros. */ + rprintf(f, " %d-bit inums, %d-bit INO_T\n", + (int) (sizeof(dumstat->st_ino) * 8), + (int) (sizeof(INO_T) * 8)); + #ifdef NO_INT64 rprintf(f, "WARNING: no 64-bit integers on this platform!\n"); #endif