cppcheck/cfg
Sebastian de7aa8f513 Fix #7504: posix: open() was twice in configuration file (#1032)
* Fix #7504: posix: open() was twice in configuration file

This fixes ticket #7504: Problems with the open function were not always
detected because the open function was twice in posix.cfg and only the
second configuration was used by cppcheck. Like suggested now only
one configuration is used and the third parameter has a default value
and is thereby optional.
use-retval has been removed to avoid duplicate warnings because the
alloc/dealloc configuration already warns about unused retval.
According tests to verify that open is configured
correctly now have been added to test/cfg/posix.c.

* posix.cfg: open(): Add TODO for use-retval configuration
2018-01-18 13:56:36 +01:00
..
avr.cfg Fixed #8078 (cppcheck-cfg.rng outdated) 2017-07-23 12:09:41 +02:00
bsd.cfg Add configuration file for BSD os family 2017-08-28 22:48:39 +02:00
cppcheck-cfg.rng ValidateCFG: Fix 'valid' pattern 2017-07-28 19:46:55 +02:00
cppcheck-lib.cfg std.cfg: Added support for std::swap. 2017-10-11 13:12:00 +02:00
embedded_sql.cfg astyle 2017-11-05 17:56:24 +01:00
gnu.cfg gnu.cfg Remove redundant function and resource configurations (#1036) 2018-01-16 17:13:15 +01:00
gtk.cfg Fixed #8078 (cppcheck-cfg.rng outdated) 2017-07-23 12:09:41 +02:00
microsoft_sal.cfg MS SAL config: add more defines for annotations (#1006) 2017-11-29 08:25:43 +01:00
motif.cfg Add more interfaces 2017-06-06 23:21:05 +02:00
posix.cfg Fix #7504: posix: open() was twice in configuration file (#1032) 2018-01-18 13:56:36 +01:00
qt.cfg qt.cfg: split configuration for QSettings::setValue and QSettings::value 2017-10-11 08:30:10 +02:00
sdl.cfg Fixed #8078 (cppcheck-cfg.rng outdated) 2017-07-23 12:09:41 +02:00
sfml.cfg Fixed #8078 (cppcheck-cfg.rng outdated) 2017-07-23 12:09:41 +02:00
std.cfg std.cfg: Fix copy&paste error or typo (#1033) 2018-01-16 08:36:04 +01:00
windows.cfg windows.cfg: Add Semaphore function configuration (#1038) 2018-01-18 03:39:15 +01:00
wxwidgets.cfg wxwidgets.cfg: There is no need to use the return value from wxMenu::Append(). 2017-10-20 11:01:37 +02:00