diff options
author | Tobias Klauser <klto@zhaw.ch> | 2009-04-06 08:20:09 +0200 |
---|---|---|
committer | Tobias Klauser <klto@zhaw.ch> | 2009-04-06 08:20:09 +0200 |
commit | 1ed419bfccdac6018edf9dc3c79d4d9e06b3b529 (patch) | |
tree | b8ef0d1ea333debd13467b95bb9e6fab2dc5cc60 | |
parent | 41d2b1e8332e80b71e3d8b96c94d0407f39d6a66 (diff) |
Large file support for inotail
Patch by hondza <sedaj2@gmail.com>
Inotail fails to fstat() large files with "Error: Could not stat file
'/large/file' (Value too large for defined data type)". Following patch
makes it work.
-rw-r--r-- | inotail.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -21,6 +21,7 @@ * Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ +#define _FILE_OFFSET_BITS 64 #define _GNU_SOURCE #include <stdio.h> |