Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2008-08-31 | Check for file being a pipe before seeking | Tobias Klauser | 1 | -1/+1 | |
Otherwise inotail -f on a named pipe (fifo) would not work. Thanks Alexander Sulfrian. | |||||
2008-05-10 | Resolve some merge conflicts. | Tobias Klauser | 2 | -4/+3 | |
2008-04-14 | inotail.c: Comment some oarts of tail_pipe_lines/tail_pipe_bytes | Tobias Klauser | 1 | -5/+20 | |
2008-03-24 | Prevent double calls to ignore_file() in/after tail_file() | Tobias Klauser | 1 | -6/+1 | |
2008-03-01 | Merge branch 'pipe' | Tobias Klauser | 2 | -19/+260 | |
Conflicts: inotail.c | |||||
2008-03-01 | Move all #define's except PROGRAM_NAME to inotail.h | Tobias Klauser | 2 | -12/+11 | |
2008-02-11 | inotail.c: Handle IN_IGNORED event | Tobias Klauser | 1 | -0/+2 | |
This event is e.g. emitted when we remove a watch on a file. | |||||
2008-02-11 | inotail.c: Check ignore flag before ignoreing the file | Tobias Klauser | 1 | -2/+4 | |
This makes ignore_file reentrant. Calling the function on a file which is already ignored shouldn't lead to n_ignored getting incremented. | |||||
2008-01-14 | Update copyright and bump version to pre0 (ti fix Debian bug #460527) | Tobias Klauser | 2 | -3/+3 | |
2008-01-14 | inotail.c: Correct format specifier for size_t | Tobias Klauser | 1 | -1/+1 | |
2008-01-14 | inotail.c: Handle file truncation in follow mode | Tobias Klauser | 1 | -10/+15 | |
2008-01-13 | inotail.c: Correct format for size_t (fixes warning on amd64) | Tobias Klauser | 1 | -1/+1 | |
2007-11-11 | Revert "inotail.c: Decrement n_units before calling tail_pipe_from_begin"pipe | Tobias Klauser | 1 | -2/+5 | |
This reverts commit 21cddfba5f53ed0ad9d8f14bc1555c57cad9790e. Makes inotail -n +0 work again. Sometimes reducing code leads to unrecognised errors ;-) | |||||
2007-09-25 | inotail.c: typdef mode_t | Tobias Klauser | 2 | -3/+4 | |
2007-09-25 | inotail.c: Decrement n_units before calling tail_pipe_from_begin | Tobias Klauser | 1 | -5/+2 | |
Saves 2 lines of code | |||||
2007-09-19 | inotail.c: Check for n_units == 0 only if tailing from end | Tobias Klauser | 1 | -4/+9 | |
inotail -n+0/-c+0 should be allowed | |||||
2007-09-18 | inotail.c: Implement pipe tailing lines from begin | Tobias Klauser | 1 | -5/+57 | |
Use a general function for lines and bytes to prevent duplicating code. | |||||
2007-09-18 | intotail.c: Check for n_units == 0 before calling tail_pipe_*() | Tobias Klauser | 1 | -6/+3 | |
2007-09-18 | inotail.c: Implement tail_pipe_bytes() | Tobias Klauser | 2 | -9/+77 | |
For now more or less a copy from coreutils | |||||
2007-09-18 | inotail.c: Use BUFSIZ and post-increment | Tobias Klauser | 2 | -14/+11 | |
For consistency reasons mostly :-) | |||||
2007-09-18 | inotail.c: Set rc/ret when calling the functions | Tobias Klauser | 1 | -6/+3 | |
2007-09-17 | inotail.c: Correct error handling in tail_pipe_lines() | Tobias Klauser | 1 | -4/+7 | |
2007-09-17 | inotail.c: Fix initialization of blksize | Tobias Klauser | 1 | -1/+1 | |
2007-09-15 | Merge branch 'master' into pipe | Tobias Klauser | 2 | -1/+8 | |
2007-09-07 | Release inotail 0.5v0.5 | Tobias Klauser | 2 | -1/+8 | |
2007-09-07 | Merge branch 'master' into pipe | Tobias Klauser | 3 | -44/+76 | |
Conflicts: changelog inotail.c inotail.h | |||||
2007-09-07 | Rename file_struct members | Tobias Klauser | 2 | -22/+22 | |
The rationale behind this is to only use the 'st_' prefix for values gotten by calls to fstat() | |||||
2007-09-07 | Also print strerror when file type is not supported | Tobias Klauser | 1 | -1/+1 | |
2007-07-02 | inotail.c: Correct error message | Tobias Klauser | 1 | -1/+1 | |
These could also be bytes | |||||
2007-06-24 | inotail.c: Flush stdout in write_header() | Tobias Klauser | 1 | -1/+3 | |
To make sure the header is also printed when piping inotail output to pipes. | |||||
2007-06-21 | inotail.c: Reorder emalloc/free in handle_inotify_event() | Tobias Klauser | 1 | -4/+4 | |
Get rid of the following warning when compiling with -Os: inotail.c:338: warning: 'fbuf' may be used uninitialized in this function | |||||
2007-06-20 | Release inotail 0.4v0.4 | Tobias Klauser | 2 | -1/+12 | |
2007-06-20 | inotail.h: Update copyright | Tobias Klauser | 1 | -1/+1 | |
2007-06-20 | inotail.c: Correct comment | Tobias Klauser | 1 | -1/+1 | |
2007-06-20 | inotail.c: Move allocation of buffer before place where buf is used | Tobias Klauser | 1 | -4/+2 | |
This saves two possible free calls | |||||
2007-06-20 | inotail.c: Add missing free() calls after lseek() failure | Tobias Klauser | 1 | -0/+3 | |
2007-06-17 | inotail.c: One more unlikely | Tobias Klauser | 1 | -1/+1 | |
2007-06-17 | inotail.c: emalloc should return void * | Tobias Klauser | 1 | -3/+3 | |
Also add the unlikely() to the check of the malloc retval. This patch seems to have gotten lost during a merge. | |||||
2007-06-17 | inotail.c: Use emalloc | Tobias Klauser | 1 | -5/+1 | |
2007-06-17 | Merge branch 'master' into buffersize | Tobias Klauser | 1 | -2/+2 | |
Conflicts: inotail.c | |||||
2007-06-17 | inotail.c: Cleanup comments | Tobias Klauser | 1 | -3/+2 | |
2007-06-16 | Merge branch 'master' into buffersize | Tobias Klauser | 2 | -19/+38 | |
Conflicts: inotail.c | |||||
2007-06-15 | inotail.c: s/Inotify/inotify/ | Tobias Klauser | 1 | -2/+2 | |
2007-06-15 | inotail.c: Simplify tail_pipe_lines() | Tobias Klauser | 1 | -15/+13 | |
2007-06-15 | Merge branch 'master' into pipe | Tobias Klauser | 1 | -20/+11 | |
2007-06-15 | inotail.c: Simplify EINTR handling in watch_files() | Tobias Klauser | 1 | -13/+8 | |
We don't need another loop, just continue the surrounding while() on EINTR/EAGAIN | |||||
2007-06-12 | inotail.c: Also handle EAGAIN in watch_files() | Tobias Klauser | 1 | -2/+2 | |
2007-06-12 | inotail.c: Handle EINTR and EAGAIN in tail_pipe_lines() | Tobias Klauser | 1 | -4/+6 | |
2007-06-12 | inotail.c: Cleanup | Tobias Klauser | 1 | -11/+7 | |
Save us some lines | |||||
2007-06-11 | inotail.c/.h: Clean up a bit | Tobias Klauser | 2 | -11/+10 | |