Files
rtems/testsuites/libtests/POSIX
zack leung 19c101281a libtests/calloc.c: Fix reported memory leak
This fix came from Code Inspector, flagged by one of the analysis that
was done.

This test code is compiled only but better to address the issues so
future static analysis reports will not include it.
2021-11-03 08:39:12 -05:00
..
2011-02-22 07:37:03 +00:00
2018-08-10 08:24:29 -05:00
2018-08-10 08:24:29 -05:00
2018-08-10 08:24:29 -05:00
2018-08-10 08:24:29 -05:00
2018-08-10 08:24:29 -05:00
2018-08-10 08:24:29 -05:00
2018-08-10 08:24:29 -05:00
2018-11-20 09:45:51 -06:00
2018-08-10 08:24:29 -05:00
2018-08-10 08:24:29 -05:00

This testsuite consists of a collection of (non-functional) program snippets 
to check an RTEMS toolchain consisting of 
* GCC (libgcc etc.)
* binutils
* newlib (libc)
* RTEMS (librtemscpu + librtemsbsp)
for IEEE Std 1003.1-2008 (aka. POSIX[1]) compliance by link-tests.

All of these programs are supposed to be compilable without any warning,
independently of the configuration used in any of the components
involved.

NB: 
- Using "advanced GCC warning flags" may trigger warnings. Such warnings
  should be avoided if possible.

- These program snippets are not supposed to be functional.

- This suite only checks for a subset of POSIX library calls, which are
  known to have been critical to RTEMS/GCC/newlib interaction at some point
  in RTEMS/GCC/newlib's history.

References:
[1] The Open Group Base Specifications Issue 7, IEEE Std 1003.1™-2008,
    http://www.opengroup.org/onlinepubs/9699919799