1. Oct 02, 2020
  2. Sep 03, 2020
  3. Aug 24, 2020
  4. May 25, 2019
  5. May 24, 2019
  6. Apr 18, 2018
    • Reini Urban's avatar
      doc: add link to n1967 · 23c53a95
      Reini Urban authored
      C17 reconsidered safeclib but looked only at the old incomplete Cisco version,
      not our complete and fixed version.
      They have an Annex K
      23c53a95
  7. Mar 03, 2018
  8. Feb 27, 2018
  9. Feb 21, 2018
  10. Feb 11, 2018
  11. Feb 08, 2018
  12. Jan 28, 2018
    • Fabrice Fontaine's avatar
      Fix kernel module · 1c0acaec
      Fabrice Fontaine authored
      
      
       - Fix path in Kbuild and slkm_init.c
       - Specify in README that configure must be called with --disable-wchar
      to build kernel module (as wchar is not available in kernel space)
       - Include config.h in kernel mode (for restrict define if needed)
       - Fix calls to EXPORT_SYMBOL in all files (missing trailing ;)
       - Do not include time.h in kernel space
       - Do not declare functions that use FILE in kernel space
       - Do not define handle_werror in safe_str_constraint.h if wchar is
      disabled
      
      Signed-off-by: default avatarFabrice Fontaine <fontaine.fabrice@gmail.com>
      1c0acaec
  13. Jan 11, 2018
  14. Dec 21, 2017
  15. Oct 04, 2017
  16. Sep 12, 2017
  17. Sep 07, 2017
  18. Sep 06, 2017
    • Reini Urban's avatar
      fix tests on freebsd · 8044359e
      Reini Urban authored
      apparently BSDs have the same broken vswscanf as newlib (with %%n)
      and also a broken mbstowcs with \0. Only tested with FreeBSD, will
      test later with the other BSDs
      8044359e
    • Reini Urban's avatar
      HAVE_C99 · 95c1334f
      Reini Urban authored
      do something with the c99 check.
      either warn and disable __VA_ARGS__
      or error. testcase cygwin64 gcc-4
      95c1334f
    • Reini Urban's avatar
      fix cygwin: -Wchar-subscripts · a1248e85
      Reini Urban authored
      toupper requires an unsigned number.
      only cygwin caught that.
      
      L'\xd834df01' is only valid with sizeof(wchar_t) == 4,
      with size 2, the first word is legal unicode.
      
      Adds cygwin support. Closes #18
      a1248e85
  19. Sep 05, 2017
  20. Sep 01, 2017
  21. Aug 24, 2017
    • Reini Urban's avatar
      add docs target, add C11 references · 26cfec25
      Reini Urban authored
      Revert some #4 changes to argument names (of cosmetic nature).
      
      bump version to 2017-08-24
      See #6
      
      dist the 2 generated architecture-specific headers.
      They are needed.
      
      added docs man perf targets, docs and man via doxygen.
      man needed a pre-gen markdown file and some post-gen cleanup.
      26cfec25
  22. Apr 13, 2017
  23. May 10, 2013
    • Jonathan Toppins's avatar
      Bugfix: compile error missing type · 88a3bf7c
      Jonathan Toppins authored
      == Problem
      When the library was installed to the system and a user attempted
      to compile against the library the compile would fail.
      
      == Reason
      The problem was due to some types not being defined in the public API
      of the library.
      
      == Solution
      Changed the public API, header files, of the library so that a few
      of the files are now auto-generated based on information discovered
      by the configure script. The header files that are now auto-generated
      are 'safe_lib_errno.h' and 'safe_types.h'.
      88a3bf7c
  24. Dec 05, 2012
  25. Jun 19, 2012
    • Jonathan Toppins's avatar
      Library and tests build · 8379e6f6
      Jonathan Toppins authored
      What changed from original:
      - Documented how to setup the source tree for building in the README
      - removed all makefiles that were obsoleted by autotools
      - removed runtime_environment.c as it was not referenced by any other
        code within the library
      - had to edit safe_types.h due to a compile error, may
        need to make this more portable later
      - library can now be compiled as a shared and static object, all symbols
        are exported which is something I hope to change
      - tests are now run when 'make check' is run
      - converted the build to be silent like a Linux source compile
      - requires/has been tested with autoconf(v2.65), automake(v1.11),
        and libtool(v2.2.6)
      
      Still a lot of things need to be done:
      - finish writing the definitions for the rest of the test programs
      - convert the configure options to actually be configurable
        instead of someone having to go in and change code
      - fix up the header files so that they can be parsed to
        generate an export symbols files
      - fix up the header files so that they are C++ compatible
      - convert to a non-recursive make setup (low priority)
      - enable support for gcov and let it be selectable at configure
        time
      - convert to using the config.h file for testing if a platform
        has certain features
      - check for other portability issues
      - remove all '^M's from the files, arg!!!
      - fix and make consistent the versioning of the library
      8379e6f6