Correct posix.cfg to avoid false positives. Fix runtests.sh
This commit is contained in:
parent
85b12252d5
commit
161412dc31
|
@ -2602,9 +2602,7 @@ The function 'mktemp' is considered to be dangerous due to race conditions and s
|
||||||
<function name="wait">
|
<function name="wait">
|
||||||
<noreturn>false</noreturn>
|
<noreturn>false</noreturn>
|
||||||
<leak-ignore/>
|
<leak-ignore/>
|
||||||
<arg nr="1">
|
<arg nr="1"/>
|
||||||
<not-null/>
|
|
||||||
</arg>
|
|
||||||
</function>
|
</function>
|
||||||
<!-- pid_t waitpid(pid_t pid, int *stat_loc, int options); -->
|
<!-- pid_t waitpid(pid_t pid, int *stat_loc, int options); -->
|
||||||
<function name="waitpid">
|
<function name="waitpid">
|
||||||
|
@ -2613,9 +2611,7 @@ The function 'mktemp' is considered to be dangerous due to race conditions and s
|
||||||
<arg nr="1">
|
<arg nr="1">
|
||||||
<not-uninit/>
|
<not-uninit/>
|
||||||
</arg>
|
</arg>
|
||||||
<arg nr="2">
|
<arg nr="2"/>
|
||||||
<not-null/>
|
|
||||||
</arg>
|
|
||||||
<arg nr="3">
|
<arg nr="3">
|
||||||
<not-uninit/>
|
<not-uninit/>
|
||||||
</arg>
|
</arg>
|
||||||
|
|
|
@ -35,5 +35,5 @@ ${CPPCHECK} ${CPPCHECK_OPT} ${DIR}std.cpp
|
||||||
|
|
||||||
# windows.cpp
|
# windows.cpp
|
||||||
#${CXX} -fsyntax-only ${DIR}windows.cpp
|
#${CXX} -fsyntax-only ${DIR}windows.cpp
|
||||||
${CPPCHECK} --check-library --enable=information --enable=style --error-exitcode=1 --inline-suppr --library=windows ${DIR}windows.cpp
|
${CPPCHECK} --check-library --enable=information --enable=style --error-exitcode=1 --inline-suppr --library=windows.cfg ${DIR}windows.cpp
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue