* textconf.c: mc --version prints the number of bits of off_t.

This commit is contained in:
Roland Illig 2005-07-03 11:37:28 +00:00
parent 1ee7a7c31f
commit c3f40d150f
2 changed files with 9 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2005-07-03 Roland Illig <roland.illig@gmx.de>
* textconf.c: mc --version prints the number of bits of off_t.
2005-07-01 Roland Illig <roland.illig@gmx.de>
* view.c (view_fix_cursor_position): Fixed a division-by-zero

View File

@ -19,8 +19,11 @@
#include <config.h>
#include <limits.h>
#include <stdio.h>
#include <sys/types.h>
#include "global.h"
#ifdef USE_VFS
@ -133,4 +136,6 @@ show_version (int verbose)
for (i = 0; features[i]; i++)
printf ("%s", _(features[i]));
(void)printf("Using %d bits for file sizes\n", CHAR_BIT * sizeof(off_t));
}