Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2011-02-07 | Add __noreturn attribute, update copyright | Tobias Klauser | 1 | -6/+9 | |
2009-10-30 | inotail: Support reopening rotated files | Dominguez Bonini, David | 1 | -3/+6 | |
We changed the behaviour of the "follow" option so that it detects that file has been moved or deleted it keeps monitoring for the file instead of ignoring it. This is useful when tailing syslog circular logs, where syslog periodically moves the log to another filename and recreates the log file. Without the patch inotail would issue a "file has been moved" or a "file has been deleted message" and stop tracking the file. Now it will close the file and refresh the inotify +descriptor. When a notification arrives with a CREATE or MODIFY event, it will reopen the file and set the size to zero. We are using the patched program in an embedded ARM system with satisfactory results. | |||||
2009-07-14 | inotail.h: Correct typo | Tobias Klauser | 1 | -1/+1 | |
2009-01-26 | Prepare for -F/--follow=name options (no effect yet) | Tobias Klauser | 1 | -0/+6 | |
2009-01-25 | Make sure that st_blksize is greater than 0 | Tobias Klauser | 1 | -0/+2 | |
2009-01-25 | Update copyright | Tobias Klauser | 1 | -2/+2 | |
2009-01-24 | Move linked list structs for pipe_{bytes,lines} into these functions | Tobias Klauser | 1 | -15/+0 | |
2009-01-18 | inotail.h: Use sys/inotify.h | Tobias Klauser | 1 | -1/+1 | |
2008-05-10 | Resolve some merge conflicts. | Tobias Klauser | 1 | -2/+1 | |
2008-03-01 | Merge branch 'pipe' | Tobias Klauser | 1 | -2/+16 | |
Conflicts: inotail.c | |||||
2008-03-01 | Move all #define's except PROGRAM_NAME to inotail.h | Tobias Klauser | 1 | -6/+11 | |
2007-09-25 | inotail.c: typdef mode_t | Tobias Klauser | 1 | -1/+1 | |
2007-09-18 | inotail.c: Implement tail_pipe_bytes() | Tobias Klauser | 1 | -0/+7 | |
For now more or less a copy from coreutils | |||||
2007-09-18 | inotail.c: Use BUFSIZ and post-increment | Tobias Klauser | 1 | -2/+1 | |
For consistency reasons mostly :-) | |||||
2007-09-07 | Merge branch 'master' into pipe | Tobias Klauser | 1 | -2/+5 | |
Conflicts: changelog inotail.c inotail.h | |||||
2007-09-07 | Rename file_struct members | Tobias Klauser | 1 | -2/+2 | |
The rationale behind this is to only use the 'st_' prefix for values gotten by calls to fstat() | |||||
2007-06-20 | inotail.h: Update copyright | Tobias Klauser | 1 | -1/+1 | |
2007-06-16 | Merge branch 'master' into buffersize | Tobias Klauser | 1 | -0/+2 | |
Conflicts: inotail.c | |||||
2007-06-11 | inotail.c/.h: Clean up a bit | Tobias Klauser | 1 | -2/+10 | |
2007-06-11 | inotail.c/.h: Implement is_digit to save some bytes of ctype.h inclusion | Tobias Klauser | 1 | -0/+2 | |
2007-05-21 | Use optimal buffer size depending on the filesystem containing the file | Tobias Klauser | 1 | -0/+3 | |
The st_blksize attribute of struct stat conatains the blocksize for filesystem I/O (see stat(2)) which is the optimal size for reading/writing chunks of data. Based on a patch by Folkert van Heusden | |||||
2006-12-14 | inotail.c: Move some macros to inotail.h | Tobias Klauser | 1 | -3/+8 | |
Some typos and useless blank lines are also fixed. | |||||
2006-11-15 | Add license information to Makefile and inotail.h | Tobias Klauser | 1 | -0/+6 | |
2006-10-25 | Various change to allow tailing bytes relative to the begin | Tobias Klauser | 1 | -3/+0 | |
"Simplyfy" and inline bytes_to_offset, extend it to support tailing relative to begin of file. Boolean relative makes no sense, make it a char containing 0 for relative to end and 1 for relative to begin. | |||||
2006-10-21 | Unify wording all over the tree | Tobias Klauser | 1 | -2/+2 | |
According to the Linux source it's: * s/linux/Linux/ * s/Kernel/kernel/ * s/Inotify/inotify/ (except at the beginning of a sentence) | |||||
2006-10-20 | inotail.c: Add basic support for +/-<num> to -c/-n | Tobias Klauser | 1 | -0/+3 | |
2006-09-26 | Define unlikely() only for GCC | Tobias Klauser | 1 | -2/+5 | |
Some compilers probably don't know __builtin_expect | |||||
2006-09-26 | Add unlikely macro | Tobias Klauser | 1 | -0/+3 | |
And use it for a really unlikely case | |||||
2006-08-20 | Indent clenaup | Tobias Klauser | 1 | -2/+2 | |
2006-08-12 | Added ignore flag to struct file_struct | Tobias Klauser | 1 | -4/+6 | |
2006-07-17 | Clean up header and remove ignore field in file_struct (as not really needed ↵ | Tobias Klauser | 1 | -14/+1 | |
atm) | |||||
2006-07-01 | Further cleanup | Tobias Klauser | 1 | -3/+0 | |
2006-07-01 | Cleanup | Tobias Klauser | 1 | -2/+6 | |
2006-05-11 | simpletail is the new inotail | Tobias Klauser | 1 | -4/+4 | |
2006-03-13 | Initial import | Tobias Klauser | 1 | -0/+37 | |