diff options
-rw-r--r-- | Makefile | 2 | ||||
-rw-r--r-- | changelog | 1 | ||||
-rw-r--r-- | inotail.c | 2 | ||||
-rw-r--r-- | inotail.h | 4 |
4 files changed, 5 insertions, 4 deletions
@@ -1,6 +1,6 @@ # Makefile for inotail # -# Copyright (C) 2006-2008 Tobias Klauser <tklauser@distanz.ch> +# Copyright (C) 2006-2009 Tobias Klauser <tklauser@distanz.ch> # # Licensed under the terms of the GNU General Public License; version 2 or later. @@ -5,6 +5,7 @@ inotail 0.6 * Handle file truncation in follow mode * Use sys/inotify.h instead of private copy of the inotify header (patch by Adrian Bunk) + * Support all GNU commandline options (even the ones that make no sense) * Various small fixes -- Tobias Klauser <tklauser@distanz.ch> 2008-09-23 09:46 @@ -3,7 +3,7 @@ * A fast implementation of tail which uses the inotify API present in * recent versions of the Linux kernel. * - * Copyright (C) 2005-2008, Tobias Klauser <tklauser@distanz.ch> + * Copyright (C) 2005-2009, Tobias Klauser <tklauser@distanz.ch> * * The idea was taken from turbotail. * @@ -1,5 +1,5 @@ /* - * Copyright (C) 2005-2007, Tobias Klauser <tklauser@distanz.ch> + * Copyright (C) 2005-2009, Tobias Klauser <tklauser@distanz.ch> * * Licensed under the terms of the GNU General Public License; version 2 or later. */ @@ -21,7 +21,7 @@ enum tail_mode { M_LINES, M_BYTES }; /* Every tailed file is represented as a file_struct */ struct file_struct { char *name; /* Name of file (or '-' for stdin) */ - int fd; /* File descriptor (or -1 if file is not open */ + int fd; /* File descriptor (or -1 if file is not open) */ off_t size; /* File size */ blksize_t blksize; /* Blocksize for filesystem I/O */ unsigned ignore; /* Whether to ignore the file in further processing */ |