Commit Graph

874 Commits

Author SHA1 Message Date
Junichi Uekawa c35c712791 Made more error code outputs.
It will give 0 when successful, 1-5 when there is some error. 
Document the error codes in the manpage too.
2008-11-02 12:23:37 +00:00
Junichi Uekawa c04d167c76 refactor code to use execv instead of execl. 2008-10-23 14:07:57 +00:00
Junichi Uekawa e6782df02d remove %userwww
It doesn't work, so remove this feature.
2008-10-23 14:07:50 +00:00
Junichi Uekawa ba73b1cc5e autogenerate files using autoconf/automake.
These files are not VCS controlled, but available on releases.  To
help ease check-out -> build flow, add a script to run the commands
for autogenerating the build scripts.
2008-10-13 23:51:50 +00:00
Junichi Uekawa cabd55bce0 add error checking with rsync, and re-run rsync from the parent
directory if possible.

userwww handling seems broken, but at least check for breakages.
2008-10-13 02:06:19 +00:00
Junichi Uekawa e21b43fd31 Get version string from autoconf macros. 2008-10-13 02:06:12 +00:00
Junichi Uekawa 0060b65929 remove config.h.in; it is auto-generated also 2008-10-13 02:06:06 +00:00
Junichi Uekawa 82302ad03e testsuite to move directory and remove a directory.
lsyncd1.0 doesn't handle this case very well, and lsyncd does not copy
the files, and does not detect an error condition, or simply dies.
2008-10-08 04:09:02 +00:00
Junichi Uekawa 03a32b6e1e add sanity checking in filenames and paths.
Check files exist, and check paths are specified absolute.
I am relying on paths starting from '/' when they are absolute.

daemon() will chdir to /, and that means giving relative paths to this
program will give unexpected (to the user) results.
2008-10-08 04:08:56 +00:00
Junichi Uekawa f62c1f3cc2 make --pidfile option for handling pids.
Add manpage on the way
2008-10-08 04:08:52 +00:00
Junichi Uekawa 673570ea06 add tabstop specifier for emacs editing. 2008-10-08 04:08:46 +00:00
Junichi Uekawa e7c1af91d7 add check-syntax Makefile target to facilitate hacking with flymake(emacs) 2008-10-08 04:08:42 +00:00
Junichi Uekawa ca8cfa8c67 start adding a basic testsuite. test for --help, --version, --logfile and --rsync-binary. 2008-10-08 04:08:38 +00:00
Junichi Uekawa 179ec99736 Change help output to be based on variable contents, not hard-coded. 2008-10-08 04:08:31 +00:00
Junichi Uekawa 7b8b13316c Revise configure.in to be more sensible.
Reduce the number of header files checked in configure.
Source code doesn't really use the output, and we're linux specific.

Other configure.in parts are fixed to use m4 features rather than
relying on shell features.
2008-10-08 04:08:28 +00:00
Junichi Uekawa 713d84e439 remove auto-generated files from VCS control. 2008-10-08 04:08:24 +00:00
Axel Kittenberger 465511bd19 oh indeed, but this should work 2008-10-07 06:30:40 +00:00
Axel Kittenberger f29445ebba stupid error 2008-10-06 20:40:28 +00:00
Axel Kittenberger be93533418 some more files 2008-10-06 20:35:52 +00:00
Axel Kittenberger 742789e258 incooperated changes from dancerj 2008-10-04 08:49:54 +00:00
Axel Kittenberger 5d97d982b1 incooperating some of the simple stuff 2008-10-04 08:31:22 +00:00
Axel Kittenberger c91e84045b this time really just astyled the source, please skip last commit. 2008-10-04 08:22:28 +00:00
Axel Kittenberger 846ec0acb9 astyled source 2008-08-12 11:51:46 +00:00
Axel Kittenberger 814c133e82 imported version 1.0 2008-08-06 13:04:01 +00:00