[acassen/keepalived] 5f7a2d: Further fix commit eacec9f7 - Improve and fix use ...

pqarmitage <[email protected]> Fri, 05 Jan 2018 17:10:30 -0800
Newsgroups gmane.linux.keepalived.devel
Message-ID <5a502206d1d75_48742abf77f73bfc660d7@hookshot-fe-32b5f5b.cp1-iad.github.net.mail>
  Branch: refs/heads/master
  Home:   https://github.com/acassen/keepalived
  Commit: 5f7a2dc127c309de8e57a1cb866f0f8354b0ef92
      https://github.com/acassen/keepalived/commit/5f7a2dc127c309de8e57a1cb866f0f8354b0ef92
  Author: Quentin Armitage <[email protected]>
  Date:   2018-01-06 (Sat, 06 Jan 2018)

  Changed paths:
    M keepalived/core/main.c

  Log Message:
  -----------
  Further fix commit eacec9f7 - Improve and fix use of getopt_long()

It transpires that if a short option is specified, longindex isn't
updated at all, so we need to set it to a known invalid value before
each call of getopt_long, so we can detect if a long option has been
specified or not.

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


  Commit: eda0e283f95116da7ed5b9406fff1ee3784b71c9
      https://github.com/acassen/keepalived/commit/eda0e283f95116da7ed5b9406fff1ee3784b71c9
  Author: pqarmitage <[email protected]>
  Date:   2018-01-06 (Sat, 06 Jan 2018)

  Changed paths:
    M keepalived/core/main.c

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

Further fix commit eacec9f7 - Improve and fix use of getopt_long()


Compare: https://github.com/acassen/keepalived/compare/da40b044a4d8...eda0e283f951

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