19 Commits

Author SHA1 Message Date
Rainer Gerhards
4a578d3552 bugfix: theoretical queue file corruption when more than MAX_INT files
This also corrects some code areas that needed to be adapted to the
data type change done in the previous commit.

closes https://github.com/rsyslog/rsyslog/issues/1202
2016-10-18 15:48:15 +02:00
Rainer Gerhards
8a8675b223 fix compiler warnings 2016-06-02 10:18:05 +02:00
Janmejay Singh
2be95ef067 fix dynstats stats-publish coordinated tests that were failing on 32-bit env because field width of long (32 bits) was too small to hold millisecond-resolution time 2016-05-09 19:43:22 +05:30
Janmejay Singh
a30bf638cc Trying to switch a stats-dependent test from timing based coordination to semaphore-based coordination. 2016-04-18 21:35:07 +05:30
Janmejay Singh
4db25fb98b rainerscript: function random(max) which returns a random value in [0, max) 2015-06-23 15:38:59 +05:30
Rainer Gerhards
4bcccb64fd refactor: another round of qualifiers... 2013-12-04 12:10:07 +01:00
Martin Carpenter
5e6ba49ef3 Fix for glob(3)s that lack GLOB_NOMAGIC
Conflicts:

	configure.ac
2013-03-21 16:03:46 +01:00
Rainer Gerhards
af968e6ef9 cleanup: removing no longer needed macros 2012-05-04 09:30:47 +02:00
Rainer Gerhards
18e60f46a1 Merge branch 'v4-stable' into v5-stable
Conflicts:
	runtime/debug.h
	runtime/obj.c
	runtime/parser.h
	runtime/wti.h
2012-01-16 16:14:30 +01:00
Rainer Gerhards
f6dea36394 runtime license change 2012-01-16 12:39:01 +01:00
Rainer Gerhards
183b490155 more code simplification, should also bring some performance enhancement
reducing the number of thread cancellation state changes
2009-07-17 12:38:49 +02:00
Rainer Gerhards
d22f240bc3 Merge branch 'master' into v5-devel 2009-06-26 14:09:15 +02:00
Rainer Gerhards
d88803c8e4 got rid of the recursive requirement for msg_t mutex (finally!) 2009-06-26 13:42:52 +02:00
Rainer Gerhards
b5f3387357 Merge branch 'omfile' into v5-devel
Note that this was NOT a trivial merge, and there may be
some issues. This needs to be seen when we continue developing.

Conflicts:
	runtime/msg.h
	runtime/obj.h
	runtime/queue.c
	runtime/srUtils.h
	runtime/stream.c
	runtime/stream.h
	runtime/wti.c
	tests/Makefile.am
	tools/omfile.c
	tools/syslogd.c
2009-06-16 13:59:09 +02:00
Rainer Gerhards
16ecb90c3a omfile buffers are now synchronized after inactivity
This is the first shot at this functionality. Currently, we run off a fixed
counter in the rsyslogd mainloop, which needs to be restructured. But this
code works, so it is a good time for a commit.
2009-06-15 13:44:51 +02:00
Rainer Gerhards
0917edf26d re-enabled outchannel functionality 2009-06-12 09:47:44 +02:00
Rainer Gerhards
d4564f8399 interim commit: working on failure cases
slightly improved situation, would like to save it before carrying on
2009-05-27 19:43:28 +02:00
Rainer Gerhards
d071de5784 removed no longer needed things
... and some more cleanup. Also moved a file that I forgot
(thanks to Michael Biebl for pointing that out).
2008-04-16 15:45:13 +02:00
Rainer Gerhards
8f8f65abb6 moved files to the runtime
there are still some files left which could go into the
runtime, but I think we will delete most of them once we
are done with the full modularization.
2008-04-16 10:26:54 +02:00