[acassen/keepalived] 4d5412: Define _GNU_SOURCE for all compilation units

Quentin Armitage <[email protected]> Tue, 13 Feb 2018 04:59:17 -0800
Newsgroups gmane.linux.keepalived.devel
Message-ID <5a82e125ec055_3f362ade71babc18415a8@hookshot-fe-5a11256.cp1-iad.github.net.mail>
  Branch: refs/heads/master
  Home:   https://github.com/acassen/keepalived
  Commit: 4d5412690b43da86a5222a61d2442f8dc4a136b8
      https://github.com/acassen/keepalived/commit/4d5412690b43da86a5222a61d2442f8dc4a136b8
  Author: Quentin Armitage <[email protected]>
  Date:   2018-02-12 (Mon, 12 Feb 2018)

  Changed paths:
    M configure
    M configure.ac
    M keepalived/check/ipvswrapper.c
    M keepalived/core/main.c
    M keepalived/core/namespaces.c
    M keepalived/vrrp/vrrp.c
    M keepalived/vrrp/vrrp_dbus.c
    M lib/notify.c
    M lib/signals.c

  Log Message:
  -----------
  Define _GNU_SOURCE for all compilation units

Rather than defining _GNU_SOURCE when needed, let configure add
it to the flags passed to the C compiler, so that it is defined
for all compilation units. This ensures consistence.

Signed-off-by: Quentin Armitage <[email protected]>


  Commit: b688df38c2cc03f661767b65c530869d849aed73
      https://github.com/acassen/keepalived/commit/b688df38c2cc03f661767b65c530869d849aed73
  Author: Quentin Armitage <[email protected]>
  Date:   2018-02-12 (Mon, 12 Feb 2018)

  Changed paths:
    M genhash/include/hash.h
    M keepalived/check/check_ssl.c
    M keepalived/check/ipvswrapper.c
    M keepalived/core/global_parser.c
    M keepalived/include/ip_vs.h
    M keepalived/include/vrrp_if.h
    M keepalived/vrrp/vrrp_if.c
    M keepalived/vrrp/vrrp_parser.c
    M keepalived/vrrp/vrrp_vmac.c
    M lib/utils.c

  Log Message:
  -----------
  Fix new warnings procuded by gcc 8

Signed-off-by: Quentin Armitage <[email protected]>


  Commit: 050dd0568b1db41cb5b8e4a70434017ec53697bf
      https://github.com/acassen/keepalived/commit/050dd0568b1db41cb5b8e4a70434017ec53697bf
  Author: Quentin Armitage <[email protected]>
  Date:   2018-02-13 (Tue, 13 Feb 2018)

  Changed paths:
    M lib/list.c

  Log Message:
  -----------
  Fix dumping empty lists

Add a check in dump_list() for an empty list, and don't attempt
to dump it if it is empty.

Signed-off-by: Quentin Armitage <[email protected]>


  Commit: 4e053ab8487710dbf825a01a07fdf9ca5a60c40f
      https://github.com/acassen/keepalived/commit/4e053ab8487710dbf825a01a07fdf9ca5a60c40f
  Author: Quentin Armitage <[email protected]>
  Date:   2018-02-13 (Tue, 13 Feb 2018)

  Changed paths:
    M genhash/http.c
    M keepalived/check/check_http.c
    M lib/html.c
    M lib/parser.c

  Log Message:
  -----------
  Resolve conversion-check compiler warnings

Signed-off-by: Quentin Armitage <[email protected]>


  Commit: cfa511b4fd3681f761bfad2e3be18bcca8bc8aae
      https://github.com/acassen/keepalived/commit/cfa511b4fd3681f761bfad2e3be18bcca8bc8aae
  Author: Quentin Armitage <[email protected]>
  Date:   2018-02-13 (Tue, 13 Feb 2018)

  Changed paths:
    M configure
    M configure.ac
    M genhash/http.c
    M genhash/include/hash.h
    M keepalived/check/check_http.c
    M keepalived/check/check_ssl.c
    M keepalived/check/ipvswrapper.c
    M keepalived/core/global_parser.c
    M keepalived/core/main.c
    M keepalived/core/namespaces.c
    M keepalived/include/ip_vs.h
    M keepalived/include/vrrp_if.h
    M keepalived/vrrp/vrrp.c
    M keepalived/vrrp/vrrp_dbus.c
    M keepalived/vrrp/vrrp_if.c
    M keepalived/vrrp/vrrp_parser.c
    M keepalived/vrrp/vrrp_vmac.c
    M lib/html.c
    M lib/list.c
    M lib/notify.c
    M lib/parser.c
    M lib/signals.c
    M lib/utils.c

  Log Message:
  -----------
  Merge pull request #780 from pqarmitage/fixes

Fix compiler warnings and dumping empty lists


Compare: https://github.com/acassen/keepalived/compare/a5457d3a1f57...cfa511b4fd36

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot

_______________________________________________
Keepalived-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/keepalived-devel