Line
Link Here
|
0 |
-- a/lib/cfg-lex.l |
0 |
++ b/lib/cfg-lex.l |
Lines 284-290
cfg_lexer_unput_string(CfgLexer *self, c
Link Here
|
284 |
void |
284 |
void |
285 |
cfg_lexer_start_block_state(CfgLexer *self, gchar block_boundary[2]) |
285 |
cfg_lexer_start_block_state(CfgLexer *self, gchar block_boundary[2]) |
286 |
{ |
286 |
{ |
287 |
memcpy(&self->block_boundary, block_boundary, sizeof(block_boundary)); |
287 |
memcpy(&self->block_boundary, block_boundary, sizeof(*block_boundary)); |
288 |
yy_push_state(block, self->state); |
288 |
yy_push_state(block, self->state); |
289 |
} |
289 |
} |
290 |
|
290 |
|
291 |
-- a/lib/templates.c |
291 |
++ b/lib/templates.c |
Lines 1373-1379
log_template_options_destroy(LogTemplate
Link Here
|
1373 |
void |
1373 |
void |
1374 |
log_template_options_defaults(LogTemplateOptions *options) |
1374 |
log_template_options_defaults(LogTemplateOptions *options) |
1375 |
{ |
1375 |
{ |
1376 |
memset(options, 0, sizeof(options)); |
1376 |
memset(options, 0, sizeof(*options)); |
1377 |
options->frac_digits = -1; |
1377 |
options->frac_digits = -1; |
1378 |
options->ts_format = -1; |
1378 |
options->ts_format = -1; |
1379 |
} |
1379 |
} |
1380 |
-- a/libtest/Makefile.am |
1380 |
++ b/libtest/Makefile.am |
Lines 1-6
Link Here
|
1 |
|
1 |
|
2 |
# we need the dotdot version of the include path to find generated headers |
2 |
# we need the dotdot version of the include path to find generated headers |
3 |
AM_CFLAGS = -I$(top_srcdir)/lib -I$(top_srcdir)/modules -I../lib -I../modules |
3 |
INCLUDES = -I$(top_srcdir)/lib -I$(top_srcdir)/modules -I../lib -I../modules |
4 |
|
4 |
|
5 |
noinst_LIBRARIES = libsyslog-ng-test.a |
5 |
noinst_LIBRARIES = libsyslog-ng-test.a |