[acassen/keepalived] e6daee: Fix config include files when file has no director...

pqarmitage <[email protected]> Fri, 06 Oct 2017 15:00:56 -0700
Newsgroups gmane.linux.keepalived.devel
Message-ID <59d7fd18179cc_aae3f841103dc3c104996@hookshot-fe6-cp1-prd.iad.github.net.mail>
  Branch: refs/heads/master
  Home:   https://github.com/acassen/keepalived
  Commit: e6daee2e7c6485f7beafa336498b8756ccc79d2d
      https://github.com/acassen/keepalived/commit/e6daee2e7c6485f7beafa336498b8756ccc79d2d
  Author: Quentin Armitage <[email protected]>
  Date:   2017-10-06 (Fri, 06 Oct 2017)

  Changed paths:
    M lib/parser.c

  Log Message:
  -----------
  Fix config include files when file has no directory part

When an include file name has no directory part, there is no
directory to change to, so don't try to do so.

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


  Commit: 9458c9b90c6f4ee762dc66136917066ffdc5933e
      https://github.com/acassen/keepalived/commit/9458c9b90c6f4ee762dc66136917066ffdc5933e
  Author: Quentin Armitage <[email protected]>
  Date:   2017-10-06 (Fri, 06 Oct 2017)

  Changed paths:
    M configure
    M configure.ac
    M lib/config.h.in
    M lib/parser.c

  Log Message:
  -----------
  Use getcwd() malloc functionality if available

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


  Commit: 7058795dcd09d2154ac1699dcd73e7d8cd158409
      https://github.com/acassen/keepalived/commit/7058795dcd09d2154ac1699dcd73e7d8cd158409
  Author: Quentin Armitage <[email protected]>
  Date:   2017-10-06 (Fri, 06 Oct 2017)

  Changed paths:
    M lib/parser.c

  Log Message:
  -----------
  Add support for csh brace globs in config file names

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


  Commit: 9be02e978b0bfb47505c4dbcc379ec12313715bc
      https://github.com/acassen/keepalived/commit/9be02e978b0bfb47505c4dbcc379ec12313715bc
  Author: Quentin Armitage <[email protected]>
  Date:   2017-10-06 (Fri, 06 Oct 2017)

  Changed paths:
    M doc/keepalived.conf.SYNOPSIS
    M doc/man/man5/keepalived.conf.5

  Log Message:
  -----------
  Update documentation for config file include directive

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


  Commit: 5f1c5c9efd6209cb5eb681e50cc9748028c0ea41
      https://github.com/acassen/keepalived/commit/5f1c5c9efd6209cb5eb681e50cc9748028c0ea41
  Author: Quentin Armitage <[email protected]>
  Date:   2017-10-06 (Fri, 06 Oct 2017)

  Changed paths:
    M configure
    M configure.ac
    M lib/config.h.in
    M lib/parser.c

  Log Message:
  -----------
  Use fchdir() when changing direcories while reading include files

The getcwd(3) man page recommends using open()/fchdir() rather than
getcwd()/chdir() since fchdir() is guarantee to return to the previous
directory even if directories have been renamed in between the first
chdir and the second. It also suggests that it is faster, and saves
mallocs or allocation of arrays on the stack of size PATH_MAX.

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


  Commit: 6da836245e616b3bb6437021e9ffaa369e1a123c
      https://github.com/acassen/keepalived/commit/6da836245e616b3bb6437021e9ffaa369e1a123c
  Author: Quentin Armitage <[email protected]>
  Date:   2017-10-06 (Fri, 06 Oct 2017)

  Changed paths:
    M keepalived/vrrp/vrrp_data.c
    M keepalived/vrrp/vrrp_parser.c

  Log Message:
  -----------
  Use alloc_value_block() for vrrp_vip_handler()

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


  Commit: 645abb74ea67188f978ce3acae29d217240bb110
      https://github.com/acassen/keepalived/commit/645abb74ea67188f978ce3acae29d217240bb110
  Author: Quentin Armitage <[email protected]>
  Date:   2017-10-06 (Fri, 06 Oct 2017)

  Changed paths:
    M lib/parser.c

  Log Message:
  -----------
  Fix whitespace error introduced in commit 9458c9b9

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


  Commit: 256f4b5438e808a7f1c459258dbc1c1b429aa4f1
      https://github.com/acassen/keepalived/commit/256f4b5438e808a7f1c459258dbc1c1b429aa4f1
  Author: pqarmitage <[email protected]>
  Date:   2017-10-06 (Fri, 06 Oct 2017)

  Changed paths:
    M doc/keepalived.conf.SYNOPSIS
    M doc/man/man5/keepalived.conf.5
    M keepalived/vrrp/vrrp_data.c
    M keepalived/vrrp/vrrp_parser.c
    M lib/parser.c

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

Some improvments to config wildcard file handling


Compare: https://github.com/acassen/keepalived/compare/b7df9594e68c...256f4b5438e8

------------------------------------------------------------------------------
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