1
1

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

Этот коммит содержится в:
Roland Illig 2005-07-03 11:37:28 +00:00
родитель 1ee7a7c31f
Коммит c3f40d150f
2 изменённых файлов: 9 добавлений и 0 удалений

Просмотреть файл

@ -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> 2005-07-01 Roland Illig <roland.illig@gmx.de>
* view.c (view_fix_cursor_position): Fixed a division-by-zero * view.c (view_fix_cursor_position): Fixed a division-by-zero

Просмотреть файл

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