Henrik Hautakoski
|
ce520fc35b
|
src/queue.c: minor stuff. uint16_t -> unsigned int and a NULL check.
|
2011-01-13 15:36:59 +01:00 |
|
Henrik Hautakoski
|
463d432104
|
src/queue.c: use xalloc.
|
2011-01-13 15:36:59 +01:00 |
|
Henrik Hautakoski
|
2e2d6c7eee
|
use stdlib.h instead of malloc.h
|
2011-01-13 15:36:58 +01:00 |
|
Henrik Hautakoski
|
ae3ff5faae
|
strbuf.c: use memrchr in strbuf_rchop
|
2011-01-13 15:36:58 +01:00 |
|
Henrik Hautakoski
|
de032e9b33
|
compat: Added memrchr implementation
|
2011-01-13 15:36:58 +01:00 |
|
Henrik Hautakoski
|
132bc6e838
|
Refactoring the buildsystem
|
2010-11-26 15:30:38 +01:00 |
|
Henrik Hautakoski
|
5dd6f89946
|
xalloc.c: cleaning up and better error messages.
|
2010-11-24 21:50:02 +01:00 |
|
Henrik Hautakoski
|
3cdbc3aa57
|
archived.c: changed the usage string abit.
|
2010-12-22 14:51:29 +01:00 |
|
Henrik Hautakoski
|
97bc6ef58f
|
archived.c: moved usage string to static variable (more readable)
|
2010-12-22 14:51:29 +01:00 |
|
Henrik Hautakoski
|
34cd74bcbf
|
event.c: use xalloc instead of malloc.
|
2010-12-22 14:51:29 +01:00 |
|
Henrik Hautakoski
|
a6cec1ce34
|
event.c: removed redundant sizeof()'s.
|
2010-12-22 14:51:29 +01:00 |
|
Henrik Hautakoski
|
ed8891000f
|
event.c: fix memory leak in notify_event_del.
|
2010-12-22 14:51:28 +01:00 |
|
Henrik Hautakoski
|
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 |
|
Henrik Hautakoski
|
f156e8906c
|
removed debug.h in favor for log.h
|
2010-12-22 14:51:28 +01:00 |
|
Henrik Hautakoski
|
8ad0243c31
|
archived.c: added code for setting up log.
|
2010-12-22 14:51:28 +01:00 |
|
Henrik Hautakoski
|
055825766f
|
test/t_path.c: added is_file tests.
|
2010-12-22 14:51:27 +01:00 |
|
Henrik Hautakoski
|
f65dcaaf18
|
file.c: moved everything into path.c
|
2010-12-22 14:51:27 +01:00 |
|
Henrik Hautakoski
|
c1963d1397
|
fscrawl.c: moved errno reset and don't call perror on EACCES.
|
2010-12-22 14:51:27 +01:00 |
|
Henrik Hautakoski
|
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 |
|
Henrik Hautakoski
|
8e9f51338b
|
Makefile: compile with LFS flags to support large files on 32bit.
|
2010-12-22 14:51:27 +01:00 |
|
Henrik Hautakoski
|
fca8bba289
|
path.c: Added is_dir function
|
2010-12-22 14:51:26 +01:00 |
|
Henrik Hautakoski
|
dd0f1ae393
|
log.c: Added basic logging support.
|
2010-12-22 14:51:26 +01:00 |
|
Henrik Hautakoski
|
4a33fa091f
|
docs/strbuf.txt: Adding 'strbuf_append_repeat'
|
2010-12-22 14:51:26 +01:00 |
|
Henrik Hautakoski
|
f06a528ad0
|
strbuf.c: Added strbuf_append_repeat function
|
2010-12-22 14:51:25 +01:00 |
|
Henrik Hautakoski
|
0416fea36a
|
fscrawl.c: removed unused variable.
|
2010-12-22 14:51:25 +01:00 |
|
Henrik Hautakoski
|
5d06e3c176
|
rbtree.h: small typo
|
2010-12-22 14:51:25 +01:00 |
|
Henrik Hautakoski
|
c097750262
|
docs/strbuf.txt: added strbuf_rchop
|
2010-12-22 14:51:25 +01:00 |
|
Henrik Hautakoski
|
d1924e5c67
|
test/t_strbuf.c: added test for freeing an empty buffer
|
2010-12-22 14:51:25 +01:00 |
|
Henrik Hautakoski
|
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 |
|
Henrik Hautakoski
|
925972faa5
|
strbuf.c: make 'strbuf_rtrim' alittle more readable
|
2010-12-22 14:51:24 +01:00 |
|
Henrik Hautakoski
|
c558135c63
|
strbuf.c: move declarations that are not declared at the beginning of a scope block
|
2010-12-22 14:51:24 +01:00 |
|
Henrik Hautakoski
|
362b845030
|
inotify.c: always print notify_stat.
|
2010-12-22 14:51:24 +01:00 |
|
Henrik Hautakoski
|
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 |
|
Henrik Hautakoski
|
1cce3f7ec1
|
docs: added queue.
|
2010-11-14 13:06:09 +01:00 |
|
Henrik Hautakoski
|
9a855dcade
|
docs/Makefile: make doc generation more flexible.
|
2010-11-14 11:57:19 +01:00 |
|
Henrik Hautakoski
|
c6309dd0af
|
docs: added path
|
2010-11-14 11:36:59 +01:00 |
|
Henrik Hautakoski
|
4bf08bdc7f
|
docs/rbtree.txt: changed indent on data structure section.
|
2010-11-14 11:24:51 +01:00 |
|
Henrik Hautakoski
|
546a78ad76
|
docs: added fscrawl
|
2010-11-14 10:44:08 +01:00 |
|
Henrik Hautakoski
|
2ad92d719e
|
docs/xalloc.txt: typo fix.
|
2010-12-22 04:28:52 +01:00 |
|
Henrik Hautakoski
|
d1c548a722
|
docs/api-notify.txt: fixed the style of an code example.
|
2010-12-22 04:28:51 +01:00 |
|
Henrik Hautakoski
|
f752e03943
|
path.c: removed unneeded functions.
|
2010-11-14 09:46:34 +01:00 |
|
Henrik Hautakoski
|
de35c33c37
|
README: updated compile instructions to reflect Makefile.
|
2010-11-12 09:20:31 +01:00 |
|
Henrik Hautakoski
|
1d99ab9eea
|
test/t_inotify.c: cleanup and moved to t_notify.c
|
2010-11-11 16:10:18 +01:00 |
|
Henrik Hautakoski
|
5fd33c5115
|
inotify.c: some format cleanup
|
2010-11-11 16:07:48 +01:00 |
|
Henrik Hautakoski
|
4a2665004e
|
queue.c: remove queue_clear.
client code knows what objects is stored in the queue
and its only 3 lines to do a simple free() on the items.
|
2010-11-10 08:45:44 +01:00 |
|
Henrik Hautakoski
|
1f1e9f7764
|
inotify.c: more robust checking if we have instantiated properly.
|
2010-11-10 08:16:41 +01:00 |
|
Henrik Hautakoski
|
917666b012
|
inotify.c: cleaned up the structure.
|
2010-11-10 08:00:28 +01:00 |
|
Henrik Hautakoski
|
b27aeaa283
|
Makefile: supress warning of including Makefile.local.mk
|
2010-12-21 07:57:08 +01:00 |
|
Henrik Hautakoski
|
ef3355f600
|
lib/mongodb: removed, link to it instead.
mongo is being mongo, alot of developement with the design and buildsystem is required.
however, that should not take place here.
|
2010-11-09 16:50:54 +01:00 |
|
Henrik Hautakoski
|
220d924336
|
docs: added rbtree.
|
2010-11-08 19:11:43 +01:00 |
|