Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2006-10-26 | inotail.c: Support inotail -n +<num> | Tobias Klauser | 1 | -4/+51 | |
Add function lines_to_offset_from_begin() to allow tailing relative to the begin of the file. Also handle the case where the argument for '-c' or 'n' is '+0'. Like GNU tail (and according to its source also tail in UNIX) print the whole file in this case. | |||||
2006-10-25 | Various change to allow tailing bytes relative to the begin | Tobias Klauser | 2 | -10/+10 | |
"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-24 | inotail.c: Introduce relative tailing | Tobias Klauser | 1 | -6/+9 | |
The global variable 'relative' states whether we're tailing relative to the end (R_END, default) or the begin of the file. Also do some minor comment reformatting. | |||||
2006-10-21 | Unify wording all over the tree | Tobias Klauser | 6 | -8/+8 | |
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 | 2 | -2/+9 | |
2006-10-20 | inotail.c: More n_units cleanup | Tobias Klauser | 1 | -6/+6 | |
Make n_units unsigned and rename some more variables to the appropriate form. | |||||
2006-10-20 | inotail.c: rename n_lines to n_units | Tobias Klauser | 1 | -5/+5 | |
2006-10-17 | inotail.c: Better error handling in tail_file() | Tobias Klauser | 1 | -9/+14 | |
Close fd on any error, rename rc variable to cleanly state what it's for. | |||||
2006-10-16 | inotail.c: Make pretty_name() an inline | Tobias Klauser | 1 | -1/+1 | |
2006-10-05 | Makefile: Simplify clean rule | Tobias Klauser | 1 | -3/+1 | |
2006-10-05 | Better file type checking and more meaningful return values | Tobias Klauser | 1 | -3/+12 | |
2006-10-05 | Clean all cscope generated files | Tobias Klauser | 1 | -1/+1 | |
2006-09-27 | Move inotify event handling into own function | Tobias Klauser | 1 | -50/+53 | |
2006-09-26 | Add notice about inotify.h and inotify-syscalls.h to License section | Tobias Klauser | 1 | -0/+4 | |
Thanks to Daniel Baumann | |||||
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 | 2 | -2/+4 | |
And use it for a really unlikely case | |||||
2006-09-26 | Add check for the case that no file produced the inotify event | Tobias Klauser | 1 | -2/+5 | |
This could use an unlikely() | |||||
2006-09-24 | Add license and copyright. | Tobias Klauser | 1 | -0/+9 | |
Don't know whether it is correct to set myself as copyright holder as I only drew this file together from various source in the kernel source, but all of them stating no copyright information. | |||||
2006-09-24 | Add license information | Tobias Klauser | 1 | -0/+5 | |
2006-09-24 | Add copyright information | Tobias Klauser | 1 | -0/+1 | |
2006-09-21 | Update manpage according to README | Tobias Klauser | 1 | -7/+11 | |
2006-09-20 | Just tail everything in tail_pipe() for nowv0.1 | Tobias Klauser | 1 | -1/+8 | |
2006-09-20 | Update README | Tobias Klauser | 1 | -7/+10 | |
2006-09-20 | Use getopt for command option parsing | Tobias Klauser | 2 | -30/+36 | |
2006-09-20 | Print pretty name for stdin in verbose mode | Tobias Klauser | 1 | -2/+9 | |
2006-09-13 | Simplify re-tailing after IN_MODIFY | Tobias Klauser | 1 | -16/+4 | |
2006-09-13 | Remove one more debugging output | Tobias Klauser | 1 | -2/+0 | |
2006-09-13 | Further cleanup | Tobias Klauser | 1 | -4/+4 | |
2006-09-13 | Reorder defines | Tobias Klauser | 1 | -5/+1 | |
2006-09-03 | Set mode explicitely when -n command line is specified | Tobias Klauser | 1 | -0/+1 | |
This prevents us from doing the wrong thing in such (very unlikely) cases: $ inotail -c 6 -n 6 file.txt | |||||
2006-09-03 | Remove some debugging ouput. | Tobias Klauser | 1 | -3/+1 | |
Alos adjust the notice about turbotail, there isn't really any code from turbotail anymore. | |||||
2006-08-26 | Better error handling and preparation for tail from stdin | Tobias Klauser | 1 | -13/+46 | |
2006-08-23 | Fix hyphen-used-as-minus-sign warning spit out by lintian | Tobias Klauser | 1 | -1/+1 | |
2006-08-23 | Fix wrong path on manpage install | Tobias Klauser | 1 | -1/+1 | |
2006-08-23 | Unify commandline switch description between binary and manpage | Tobias Klauser | 2 | -9/+9 | |
2006-08-23 | Fix up docco | Tobias Klauser | 2 | -4/+4 | |
2006-08-22 | Correctly set and handle $prefix and $DESTDIR | Tobias Klauser | 1 | -5/+3 | |
2006-08-20 | Close open fd's on failed fstat() | Tobias Klauser | 1 | -2/+4 | |
2006-08-20 | Cleanup | Tobias Klauser | 1 | -11/+8 | |
2006-08-20 | Indent clenaup | Tobias Klauser | 1 | -2/+2 | |
2006-08-20 | Syscall number update | Tobias Klauser | 1 | -4/+32 | |
Update syscall numbers and add them for some more architectures | |||||
2006-08-15 | Updates to manpage | Tobias Klauser | 1 | -4/+6 | |
2006-08-15 | Also install inotail manpage on 'make install' | Tobias Klauser | 1 | -1/+3 | |
2006-08-13 | Also delete these from Makefile | Tobias Klauser | 1 | -2/+0 | |
2006-08-13 | Remove inotify-watchdir.c | Tobias Klauser | 1 | -89/+0 | |
2006-08-13 | Delete inotail-old.c | Tobias Klauser | 1 | -389/+0 | |
2006-08-13 | Alos check for fd when adding watch to file. | Tobias Klauser | 1 | -1/+1 | |
2006-08-13 | Delete generate_text.pl test program | Tobias Klauser | 1 | -12/+0 | |
2006-08-13 | Makefile cleanups | Tobias Klauser | 1 | -3/+3 | |
2006-08-13 | Small cleanups | Tobias Klauser | 1 | -6/+5 | |
* Check for VERSION being set from Makefile * Remove needless code |