summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2006-10-24inotail.c: Introduce relative tailingTobias Klauser1-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-21Unify wording all over the treeTobias Klauser6-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-20inotail.c: Add basic support for +/-<num> to -c/-nTobias Klauser2-2/+9
2006-10-20inotail.c: More n_units cleanupTobias Klauser1-6/+6
Make n_units unsigned and rename some more variables to the appropriate form.
2006-10-20inotail.c: rename n_lines to n_unitsTobias Klauser1-5/+5
2006-10-17inotail.c: Better error handling in tail_file()Tobias Klauser1-9/+14
Close fd on any error, rename rc variable to cleanly state what it's for.
2006-10-16inotail.c: Make pretty_name() an inlineTobias Klauser1-1/+1
2006-10-05Makefile: Simplify clean ruleTobias Klauser1-3/+1
2006-10-05Better file type checking and more meaningful return valuesTobias Klauser1-3/+12
2006-10-05Clean all cscope generated filesTobias Klauser1-1/+1
2006-09-27Move inotify event handling into own functionTobias Klauser1-50/+53
2006-09-26Add notice about inotify.h and inotify-syscalls.h to License sectionTobias Klauser1-0/+4
Thanks to Daniel Baumann
2006-09-26Define unlikely() only for GCCTobias Klauser1-2/+5
Some compilers probably don't know __builtin_expect
2006-09-26Add unlikely macroTobias Klauser2-2/+4
And use it for a really unlikely case
2006-09-26Add check for the case that no file produced the inotify eventTobias Klauser1-2/+5
This could use an unlikely()
2006-09-24Add license and copyright.Tobias Klauser1-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-24Add license informationTobias Klauser1-0/+5
2006-09-24Add copyright informationTobias Klauser1-0/+1
2006-09-21Update manpage according to READMETobias Klauser1-7/+11
2006-09-20Just tail everything in tail_pipe() for nowv0.1Tobias Klauser1-1/+8
2006-09-20Update READMETobias Klauser1-7/+10
2006-09-20Use getopt for command option parsingTobias Klauser2-30/+36
2006-09-20Print pretty name for stdin in verbose modeTobias Klauser1-2/+9
2006-09-13Simplify re-tailing after IN_MODIFYTobias Klauser1-16/+4
2006-09-13Remove one more debugging outputTobias Klauser1-2/+0
2006-09-13Further cleanupTobias Klauser1-4/+4
2006-09-13Reorder definesTobias Klauser1-5/+1
2006-09-03Set mode explicitely when -n command line is specifiedTobias Klauser1-0/+1
This prevents us from doing the wrong thing in such (very unlikely) cases: $ inotail -c 6 -n 6 file.txt
2006-09-03Remove some debugging ouput.Tobias Klauser1-3/+1
Alos adjust the notice about turbotail, there isn't really any code from turbotail anymore.
2006-08-26Better error handling and preparation for tail from stdinTobias Klauser1-13/+46
2006-08-23Fix hyphen-used-as-minus-sign warning spit out by lintianTobias Klauser1-1/+1
2006-08-23Fix wrong path on manpage installTobias Klauser1-1/+1
2006-08-23Unify commandline switch description between binary and manpageTobias Klauser2-9/+9
2006-08-23Fix up doccoTobias Klauser2-4/+4
2006-08-22Correctly set and handle $prefix and $DESTDIRTobias Klauser1-5/+3
2006-08-20Close open fd's on failed fstat()Tobias Klauser1-2/+4
2006-08-20CleanupTobias Klauser1-11/+8
2006-08-20Indent clenaupTobias Klauser1-2/+2
2006-08-20Syscall number updateTobias Klauser1-4/+32
Update syscall numbers and add them for some more architectures
2006-08-15Updates to manpageTobias Klauser1-4/+6
2006-08-15Also install inotail manpage on 'make install'Tobias Klauser1-1/+3
2006-08-13Also delete these from MakefileTobias Klauser1-2/+0
2006-08-13Remove inotify-watchdir.cTobias Klauser1-89/+0
2006-08-13Delete inotail-old.cTobias Klauser1-389/+0
2006-08-13Alos check for fd when adding watch to file.Tobias Klauser1-1/+1
2006-08-13Delete generate_text.pl test programTobias Klauser1-12/+0
2006-08-13Makefile cleanupsTobias Klauser1-3/+3
2006-08-13Small cleanupsTobias Klauser1-6/+5
* Check for VERSION being set from Makefile * Remove needless code
2006-08-13Add manpageTobias Klauser1-0/+51
2006-08-12Add README and LICENSE filesTobias Klauser2-0/+360