[OpenSIPS-Devel] [OpenSIPS/opensips] 66feee: Revert "Add strSC_strcmp() to compare const str * ...

Maksym Sobolyev noreply at github.com
Wed Jan 27 18:48:51 EST 2021


  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 66feeea592374262a0d28ca75269f5f1e661d67f
      https://github.com/OpenSIPS/opensips/commit/66feeea592374262a0d28ca75269f5f1e661d67f
  Author: Maksym Sobolyev <sobomax at sippysoft.com>
  Date:   2021-01-27 (Wed, 27 Jan 2021)

  Changed paths:
    M flags.c
    M strcommon.c
    M strcommon.h
    M ut.h

  Log Message:
  -----------
  Revert "Add strSC_strcmp() to compare const str * to const str_const *"

This reverts commit cab6edbf80044272ce0325a41a1341e28603f104.

Revert "Unbreak build on legacy arches (i.e. CentOS), turns out we are not ready to use _Generic(),"

This reverts commit 2f554c80a659b34c3e3105f654792fee50115156.


  Commit: 5af4f120245a033ca193a4840ac5be95f53f4ef9
      https://github.com/OpenSIPS/opensips/commit/5af4f120245a033ca193a4840ac5be95f53f4ef9
  Author: Maksym Sobolyev <sobomax at sippysoft.com>
  Date:   2021-01-27 (Wed, 27 Jan 2021)

  Changed paths:
    M Makefile.defs

  Log Message:
  -----------
  Test if _Generic() is supported and set HAVE_GENERICS if so.


  Commit: a14c74f605c4c6bede3ea450574bc126d8069bb3
      https://github.com/OpenSIPS/opensips/commit/a14c74f605c4c6bede3ea450574bc126d8069bb3
  Author: Maksym Sobolyev <sobomax at sippysoft.com>
  Date:   2021-01-27 (Wed, 27 Jan 2021)

  Changed paths:
    A lib/str2const.h
    M str.h
    M strcommon.h
    M ut.h

  Log Message:
  -----------
  Move all _Generic() statements into lib/str2const.h, so that we can have
a less-typesafe callback for older compilers.

Provide a fallback if HAVE_GENERICS is not definedi (e.g. CentOS 7).


Compare: https://github.com/OpenSIPS/opensips/compare/cab6edbf8004...a14c74f605c4



More information about the Devel mailing list