Hi,

The OFF_T_PRINTF #defines at the top of tools/ps_inspect.c seem very
buggy too me, I guess you should be checking this kind of things from
configure.


The easier way is to use patch bellow. The "long long" type
is mandatory in ISO C99 and supported for a very long time by gcc.

Petr

--- tools/ps_inspect.c
+++ tools/ps_inspect.c
@@ -339,7 +339,7 @@

        file_size = stat_buf.st_size;

-       PRINT("filename: %s (%" OFF_T_PRINTF " bytes)\n", argv[1], file_size);
+       PRINT("filename: %s (%lld bytes)\n", argv[1], (long long) file_size);

        rc = inspect(f, file_size);





--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to