[ovs-dev] [PATCH] Add opterr and optopt to Windows headers

Ben Pfaff blp at ovn.org
Tue Jul 31 16:37:16 UTC 2018


On Tue, Jul 31, 2018 at 03:08:13PM +0300, Alin Gabriel Serdean wrote:
> Until now we only had optind defined in the header.
> 
> Since we are using the BSD getopt variant add opterr and optopt.
> 
> Fixes: current Windows build failures.

Usually Fixes is used like this:

    CC: Jakub Sitnicki <jkbs at redhat.com>
    Fixes: 3ec06ea9c668 ("ovn-nbctl: Initial support for daemon mode.")

I use the following script, installed under the name git-fixes, to
generate it:

#! /bin/sh
git --no-pager log -1 --pretty=format:"CC: %an <%ae>%nFixes: %h (\"%s\")%n" --abbrev=12 "$@"

> Signed-off-by: Alin Gabriel Serdean <aserdean at ovn.org>

Acked-by: Ben Pfaff <blp at ovn.org>


More information about the dev mailing list