aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2018-03-06Merge pull request #86 from rvoicilas/issues/85/fix-clang-warningsRadu Voicilas1-5/+7
Fix clang warnings
2018-03-05Fix clang pointer-sign warningRadu Voicilas1-4/+4
warning: returning 'unsigned int *' from a function with result type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign] stat_ptr should've returned an unsigned to begin with since it operates on watch's unsigned fields
2018-03-05Fix clang int-to-void-pointer-cast warningRadu Voicilas1-1/+2
warning: cast to 'void *' from smaller integer type 'int' [-Wint-to-void-pointer-cast]
2018-03-05Fix clang return-type warningRadu Voicilas1-0/+1
warning: control may reach end of non-void function [-Wreturn-type]
2018-01-06inotify-tools 3.20.13.20.1Radu Voicilas1-1/+1
2018-01-06Fix man page for inotifywait about blocking timeoutRadu Voicilas1-1/+1
2018-01-06Fix cast from pointer to integer of different size warningRadu Voicilas1-1/+2
2018-01-06Remove deprecated editor commentRadu Voicilas1-2/+0
2018-01-06clang-format for test.cRadu Voicilas1-246/+270
2018-01-06Merge pull request #54 from andreas-schwab/masterRadu Voicilas1-1/+0
Fix invalid use of reserved identifier
2018-01-05Merge pull request #82 from ↵Radu Voicilas4-4/+51
rvoicilas/issue62-use-realpath-on-outfile-in-daemon-mode Use realpath on --outfile
2018-01-05Use realpath on --outfileRadu Voicilas4-4/+51
When daemonizing, the current directory is changed, which makes inotifwait to fail if --outfile is not provided as an absolute pathname.
2018-01-04Remove bug report email addressRadu Voicilas1-1/+1
Issues should come through github
2018-01-04Run clang-format on src/Radu Voicilas4-1413/+1361
clang-format -i -style=file src/*.{c,h}
2018-01-04Start using clang-format in order to enforce a code styleRadu Voicilas1-0/+89
.clang-format has been generated from running the following command: clang-format -style="{BasedOnStyle: llvm, IndentWidth: 4, AllowShortFunctionsOnASingleLine: None, KeepEmptyLinesAtTheStartOfBlocks: false}" -dump-config > .clang-format
2018-01-04inotify-tools 3.20.03.20.0Radu Voicilas1-1/+1
2018-01-04Merge pull request #79 from rvoicilas/integrate-next-into-masterRadu Voicilas8-183/+1077
Integrate next into master
2018-01-04Convert long options to an array for easier managementintegrate-next-into-masterMike Frysinger2-177/+50
Writing the array at runtime makes maintenance a huge pain -- both in terms of adding new options and in tweaking old ones. Plus, it adds runtime overhead. Sticking the old structure into the rodata section saves on all of that and allows the data to be shared among processes.
2018-01-04inotifywait: use standard daemon() funcMike Frysinger2-6/+12
2018-01-03Test that inotifywait exit code is 2 when no eventsRadu Voicilas1-0/+16
Basic test to make sure integrating with sharness works as expected.
2018-01-03Add sharness as a test frameworkRadu Voicilas4-0/+999
2015-10-19Fix invalid use of reserved identifierAndreas Schwab1-1/+0
Identifiers starting with __ are reserved for the implementation and must not be defined by the application.
2014-11-09Update email addressRadu Voicilas1-1/+1
2014-11-09Merge pull request #40 from emcrisostomo/masterRadu Voicilas12-119/+214
Improve GNU Build System scripts and packaging
2014-08-28Fix permission problems in dist-hook and remove touch calls which are ↵Enrico M. Crisostomo5-17/+3
breaking distcheck.
2014-08-28Use Autoconf output files to fill in variables in man pages instead of ↵Enrico M. Crisostomo4-16/+11
manually invoking sed on them.
2014-08-28Remove docdir definition (solves warning: docdir was already defined in ↵Enrico M. Crisostomo1-1/+0
condition TRUE, which includes condition DOXYGEN_ENABLE in configure.ac:5.
2014-08-28Add AM_CPPFLAGS so that includes work in an out-of-tree build.Enrico M. Crisostomo1-0/+1
2014-08-28Fix typo in ACLOCAL_AMFLAGS definition.Enrico M. Crisostomo1-1/+1
2014-08-28Remove GNU Build Systems artifacts from .gitignore and ignore the entire ↵Enrico M. Crisostomo1-13/+2
auxiliary configuration directory instead.
2014-08-28Update newer INSTALL file.Enrico M. Crisostomo1-58/+192
2014-08-28Use autoreconf instead of manually invoking each tool one by one. Allow ↵Enrico M. Crisostomo1-2/+1
arguments to be passed to autogen.sh.
2014-08-28Quote AC_LANG_PROGRAM to silence new Autoconf warnings and use auxiliary ↵Enrico M. Crisostomo1-12/+4
configuration directory.
2014-04-15Fix warnings reported by GCC build flagsRadu Voicilas3-8/+5
2014-04-15timeout is now a long int across all codeRadu Voicilas6-43/+59
This fixes several weird issues that might've come up because inotifytools_next_events() uses an int timeout, but handle_timeout_option() (now renamed to is_timeout_option_valid()) works with an unsigned long int. Not to mention that parse_opts() also used to work with an unsigned long int, but to get the blocking behaviour working one would have to pass in a negative timeout value. Now, having the timeout as a long int gives the user at most LONG_MAX seconds to which he can set the timeout option to.
2014-04-14Negative timeout for blocking behaviour. Fixes #37Radu Voicilas3-4/+6
This is a regression introduced by 4c3579f87
2014-04-14csv_escape checks for NULL parameterRadu Voicilas1-0/+4
2014-04-14Do not double escape names. Fixes #36Radu Voicilas1-1/+1
2014-03-30Fix doc wording for inotifytools_next_events()Radu Voicilas1-4/+3
2014-03-30Merge remote-tracking branch 'kitech/master'Radu Voicilas1-1/+1
2013-11-29fix inotifytools_next_events timeout == 0 keep blocking bugliuguangzhao1-1/+1
2013-03-11Remove m4/ from .gitignoreRadu Voicilas1-1/+0
2013-03-11start a gitignoreMike Frysinger1-0/+39
Signed-off-by: Mike Frysinger <vapier@gentoo.org> Signed-off-by: Radu Voicilas <rvoicilas@gmail.com>
2013-03-11m4: create new directory for clean autogen.sh runRamkumar Ramachandra1-0/+1
Create a m4/.gitignore file saying that all *.m4 files in the directory should be ignored.
2013-03-03Update --monitor helpRadu Voicilas1-3/+2
2013-03-03Merge remote branch 'sjon-hortensius/master'Radu Voicilas1-5/+0
2013-03-03Making inotifywatch's timeout value an unsigned long intRadu Voicilas1-3/+3
2013-03-03Getting rid of the unused constant EXCLUDE_CHUNKRadu Voicilas2-3/+0
2013-03-03Properly handle timeout values over ULLONG_MAXRadu Voicilas4-22/+40
--timeout, -t option accepts very large values, over ULLONG_MAX. When this happens the inotify scripts will default the timeout value to ULLONG_MAX and wait for that amount of time (which seems highly unlikely that someone would want that); as of now, the current behaviour is to display an error message and exit when errno != 0 after the strtoul call.
2013-01-26Merge pull request #19 from rohanpm/masterRadu Voicilas5-15/+15
Improved error reporting