|
|
e2ff9d98df
|
log.c: small fixes.
|
2010-12-20 19:42:20 +01:00 |
|
|
|
f973e29668
|
src/queue.c: don't deallocate the last block when queue becomes empty.
always keep one block in the queue so that in situations when the queue becomes empty
frequently. performance dosent blow up by calls to malloc/free.
|
2011-01-13 15:37:00 +01:00 |
|
|
|
3110bbf761
|
docs: adding log
|
2011-01-13 15:37:00 +01:00 |
|
|
|
e36fb981f2
|
archived.c: support for log levels in config
|
2011-01-13 15:37:00 +01:00 |
|
|
|
80ad7d0daa
|
log.c: added logstrtolvl
|
2011-01-13 15:36:59 +01:00 |
|
|
|
6b2465dce2
|
docs/strbuf.txt: added strbuf_explode and strbuf_free_list
|
2011-01-13 15:36:59 +01:00 |
|
|
|
b6ab5c88a8
|
strbuf.c: added strbuf_explode
|
2011-01-13 15:36:59 +01:00 |
|
|
|
ce520fc35b
|
src/queue.c: minor stuff. uint16_t -> unsigned int and a NULL check.
|
2011-01-13 15:36:59 +01:00 |
|
|
|
463d432104
|
src/queue.c: use xalloc.
|
2011-01-13 15:36:59 +01:00 |
|
|
|
2e2d6c7eee
|
use stdlib.h instead of malloc.h
|
2011-01-13 15:36:58 +01:00 |
|
|
|
ae3ff5faae
|
strbuf.c: use memrchr in strbuf_rchop
|
2011-01-13 15:36:58 +01:00 |
|
|
|
de032e9b33
|
compat: Added memrchr implementation
|
2011-01-13 15:36:58 +01:00 |
|
|
|
132bc6e838
|
Refactoring the buildsystem
|
2010-11-26 15:30:38 +01:00 |
|
|
|
5dd6f89946
|
xalloc.c: cleaning up and better error messages.
|
2010-11-24 21:50:02 +01:00 |
|
|
|
3cdbc3aa57
|
archived.c: changed the usage string abit.
|
2010-12-22 14:51:29 +01:00 |
|
|
|
97bc6ef58f
|
archived.c: moved usage string to static variable (more readable)
|
2010-12-22 14:51:29 +01:00 |
|
|
|
34cd74bcbf
|
event.c: use xalloc instead of malloc.
|
2010-12-22 14:51:29 +01:00 |
|
|
|
a6cec1ce34
|
event.c: removed redundant sizeof()'s.
|
2010-12-22 14:51:29 +01:00 |
|
|
|
ed8891000f
|
event.c: fix memory leak in notify_event_del.
|
2010-12-22 14:51:28 +01:00 |
|
|
|
18e9de6bc2
|
archived.c: setup signals as soon as possible
The setup of signals is done very late in the initialization process and therefor
not available if signals is cought during initialization.
|
2010-12-22 14:51:28 +01:00 |
|
|
|
f156e8906c
|
removed debug.h in favor for log.h
|
2010-12-22 14:51:28 +01:00 |
|
|
|
8ad0243c31
|
archived.c: added code for setting up log.
|
2010-12-22 14:51:28 +01:00 |
|
|
|
055825766f
|
test/t_path.c: added is_file tests.
|
2010-12-22 14:51:27 +01:00 |
|
|
|
f65dcaaf18
|
file.c: moved everything into path.c
|
2010-12-22 14:51:27 +01:00 |
|
|
|
c1963d1397
|
fscrawl.c: moved errno reset and don't call perror on EACCES.
|
2010-12-22 14:51:27 +01:00 |
|
|
|
63b4beb8b0
|
fscrawl.c: don't ignore DT_UNKNOWN.
issue with struct dirent->d_type set to DT_UNKNOWN on some filesystems.
this is solved by doing a call to 'is_dir' in those cases.
|
2010-12-22 14:51:27 +01:00 |
|
|
|
8e9f51338b
|
Makefile: compile with LFS flags to support large files on 32bit.
|
2010-12-22 14:51:27 +01:00 |
|
|
|
fca8bba289
|
path.c: Added is_dir function
|
2010-12-22 14:51:26 +01:00 |
|
|
|
dd0f1ae393
|
log.c: Added basic logging support.
|
2010-12-22 14:51:26 +01:00 |
|
|
|
4a33fa091f
|
docs/strbuf.txt: Adding 'strbuf_append_repeat'
|
2010-12-22 14:51:26 +01:00 |
|
|
|
f06a528ad0
|
strbuf.c: Added strbuf_append_repeat function
|
2010-12-22 14:51:25 +01:00 |
|
|
|
0416fea36a
|
fscrawl.c: removed unused variable.
|
2010-12-22 14:51:25 +01:00 |
|
|
|
5d06e3c176
|
rbtree.h: small typo
|
2010-12-22 14:51:25 +01:00 |
|
|
|
c097750262
|
docs/strbuf.txt: added strbuf_rchop
|
2010-12-22 14:51:25 +01:00 |
|
|
|
d1924e5c67
|
test/t_strbuf.c: added test for freeing an empty buffer
|
2010-12-22 14:51:25 +01:00 |
|
|
|
30ae4449ea
|
test/t_strbuf.c: refactoring to individual function tests.
to improve readability. one test-function for one test.
|
2010-12-22 14:51:24 +01:00 |
|
|
|
925972faa5
|
strbuf.c: make 'strbuf_rtrim' alittle more readable
|
2010-12-22 14:51:24 +01:00 |
|
|
|
c558135c63
|
strbuf.c: move declarations that are not declared at the beginning of a scope block
|
2010-12-22 14:51:24 +01:00 |
|
|
|
362b845030
|
inotify.c: always print notify_stat.
|
2010-12-22 14:51:24 +01:00 |
|
|
|
fd6a122c04
|
archived.c: don't exit on SIGUSR.
the bug refered to in the source is not reproduceable anymore, for some reason.
|
2010-12-22 14:51:23 +01:00 |
|
|
|
1cce3f7ec1
|
docs: added queue.
|
2010-11-14 13:06:09 +01:00 |
|
|
|
9a855dcade
|
docs/Makefile: make doc generation more flexible.
|
2010-11-14 11:57:19 +01:00 |
|
|
|
c6309dd0af
|
docs: added path
|
2010-11-14 11:36:59 +01:00 |
|
|
|
4bf08bdc7f
|
docs/rbtree.txt: changed indent on data structure section.
|
2010-11-14 11:24:51 +01:00 |
|
|
|
546a78ad76
|
docs: added fscrawl
|
2010-11-14 10:44:08 +01:00 |
|
|
|
2ad92d719e
|
docs/xalloc.txt: typo fix.
|
2010-12-22 04:28:52 +01:00 |
|
|
|
d1c548a722
|
docs/api-notify.txt: fixed the style of an code example.
|
2010-12-22 04:28:51 +01:00 |
|
|
|
f752e03943
|
path.c: removed unneeded functions.
|
2010-11-14 09:46:34 +01:00 |
|
|
|
de35c33c37
|
README: updated compile instructions to reflect Makefile.
|
2010-11-12 09:20:31 +01:00 |
|
|
|
1d99ab9eea
|
test/t_inotify.c: cleanup and moved to t_notify.c
|
2010-11-11 16:10:18 +01:00 |
|