1. 02 Jun, 2016 2 commits
    • Explorer09's avatar
      Add assert and __attribute__((nonnull)) on xStrdup · 3297616e
      Explorer09 authored
      __attribute__((nonnull)) will help catching "calling with NULL" mistake on
      compile time.
      
      I also convert xStrdup into a macro, that will do assert() inline when the
      code is *not* built with -DNDEBUG . For release builds (with -DNDEBUG),
      preprocessor trick will ensure that generated code remains the same.
      3297616e
    • Explorer09's avatar
      Don't check if (!str) in xStrdup · e288f690
      Explorer09 authored
      This effectively reverts "Stricter strdup." 4674b4a7
      
      If str is NULL upon the calling of strdup(), it should crash with SIGSEGV.
      Just let it crash. Adding the "if (!str) fail();" code serves nothing but
      bloat.
      e288f690
  2. 30 May, 2016 5 commits
  3. 27 May, 2016 2 commits
  4. 26 May, 2016 2 commits
  5. 25 May, 2016 1 commit
  6. 19 May, 2016 4 commits
  7. 16 May, 2016 1 commit
  8. 08 May, 2016 3 commits
    • Explorer09's avatar
      Update INSTALL text from autoconf-2.69 · c0df4047
      Explorer09 authored
      c0df4047
    • Explorer09's avatar
      Reorder configure macros to avoid "missing script" warning. · b71b07f5
      Explorer09 authored
      3 effects in this commit, with the first being the main one:
      
      1. Fix the "`missing' script is too old or missing" warning. See:
         <https://lists.gnu.org/archive/html/automake/2010-08/msg00108.html>
      
      2. By moving AC_CANONICAL_TARGET down in order, we are now able to
         set the directory for auxiliary scripts. For now it's still './'.
         I added the line "AC_CONFIG_AUX_DIR([.])" to show that the directory
         change is possible.
      
      3. AC_USE_SYSTEM_EXTENSIONS includes checks from AC_PROG_CC, by moving
         the former macro down, we can save size in 'configure' by not
         generating repeated checks.
      b71b07f5
    • Explorer09's avatar
      Replace deprecated autoconf macros. · f0df28a4
      Explorer09 authored
      AC_HELP_STRING -> AS_HELP_STRING
      AC_TRY_COMPILE -> AC_COMPILE_IFELSE([AC_LANG_PROGRAM([...])],...)
      AC_CONFIG_HEADER -> AC_CONFIG_HEADERS
      AC_PROG_LIBTOOL -> LT_INIT
      
      Note: There might be more deprecated macros that I haven't noticed.
      I just wish to avoid painful highlighting from my text editor (gedit)
      that complains about them. :)
      f0df28a4
  9. 07 May, 2016 2 commits
  10. 05 May, 2016 3 commits
  11. 04 May, 2016 7 commits
  12. 30 Apr, 2016 2 commits
  13. 28 Apr, 2016 1 commit
  14. 19 Apr, 2016 2 commits
  15. 18 Apr, 2016 2 commits
  16. 31 Mar, 2016 1 commit