[OpenSIPS-Devel] [OpenSIPS/opensips] 183952: Fix build on non-linux systems. The HOST_NAME_MAX ...

Maksym Sobolyev noreply at github.com
Fri Jun 16 06:33:07 UTC 2023


  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 1839528a7e9a95ae9847fff962f100d3e166fa24
      https://github.com/OpenSIPS/opensips/commit/1839528a7e9a95ae9847fff962f100d3e166fa24
  Author: Maksym Sobolyev <sobomax at sippysoft.com>
  Date:   2023-06-15 (Thu, 15 Jun 2023)

  Changed paths:
    M dprint.c

  Log Message:
  -----------
  Fix build on non-linux systems. The HOST_NAME_MAX is not portable,
POSIX way to find it out is to use sysconf(_SC_HOST_NAME_MAX),
but for now just fix it with ifndef.


  Commit: af8028becbf1e56931850d49c17d031c034139eb
      https://github.com/OpenSIPS/opensips/commit/af8028becbf1e56931850d49c17d031c034139eb
  Author: Maksym Sobolyev <sobomax at sippysoft.com>
  Date:   2023-06-15 (Thu, 15 Jun 2023)

  Changed paths:
    M lib/dbg/profiling.h
    M main.c
    M pt.c
    M pt.h

  Log Message:
  -----------
  Add support for post-fork handlers. This is to perform various
cleanups after forking is done (i.e. close unused pipes etc).


  Commit: c6789859450cfc91125578155014ebbf0b268e56
      https://github.com/OpenSIPS/opensips/commit/c6789859450cfc91125578155014ebbf0b268e56
  Author: Maksym Sobolyev <sobomax at sippysoft.com>
  Date:   2023-06-15 (Thu, 15 Jun 2023)

  Changed paths:
    M ut.h

  Log Message:
  -----------
  Add handy howmany() macro.


  Commit: b323136506a8d33f71135f473b7f336f8a148554
      https://github.com/OpenSIPS/opensips/commit/b323136506a8d33f71135f473b7f336f8a148554
  Author: Maksym Sobolyev <sobomax at sippysoft.com>
  Date:   2023-06-15 (Thu, 15 Jun 2023)

  Changed paths:
    M main.c
    A main_script.h

  Log Message:
  -----------
  Script out running of setup routine in the main process.


Compare: https://github.com/OpenSIPS/opensips/compare/a5f85013ea91...b323136506a8



More information about the Devel mailing list