Re: [devel] [PATCH 1 of 3] log: Fix validity check for IMM create/modify stream [#448]

2014-08-21 Thread Lennart Lund
Hi Mathi, Sorry for a late answer. The reason is that this validation where applicable follows the same rules as in lgs_api.c when creating an application stream. In the lga validation . if (logFileCreateAttributes->maxLogFileSize == 0) { TRACE("maxLogFileSize"); return SA_AIS_E

Re: [devel] [PATCH 1 of 3] log: Fix validity check for IMM create/modify stream [#448]

2014-08-20 Thread Mathivanan Naickan Palanivelu
Hi Lennart, Why would you want to consider maxfilesize=0 as an error? Mathi. - lennart.l...@ericsson.com wrote: > osaf/libs/saf/include/saLog.h |8 +- > osaf/services/saf/logsv/lgs/lgs_imm.c | 806 > +++- > osaf/services/saf/logsv/lgs/lgs_util.c |

[devel] [PATCH 1 of 3] log: Fix validity check for IMM create/modify stream [#448]

2014-08-13 Thread Lennart Lund
osaf/libs/saf/include/saLog.h |8 +- osaf/services/saf/logsv/lgs/lgs_imm.c | 806 +++- osaf/services/saf/logsv/lgs/lgs_util.c |2 +- 3 files changed, 667 insertions(+), 149 deletions(-) Fix incorrect existing validation and add missing validation wh