Re: [PATCH] getopt: Terminate long_options even if add_long_options is never called

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 21 Oct 2016, Karel Zak wrote:
> I have applied a little bit different solution
> https://github.com/karelzak/util-linux/commit/e1164591f7927402af8d73d340e75dbfeb06a288
> 
> now add_longopt(ctl, NULL, 0) always terminates the array.
> 
> Please, re-test it. Thanks!

Works for me.

Anders
--
To unsubscribe from this list: send the line "unsubscribe util-linux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux