braces around scalar initializer for type

Corinna Vinschen corinna-cygwin@cygwin.com
Fri Mar 13 09:44:00 GMT 2015


Hi Alexey,

On Mar 12 22:47, Alexey Pavlov wrote:
> 2015-03-12 22:22 GMT+03:00 Corinna Vinschen:
> > I'm ok with that patch, but it's missing the ChangeLog entry,  Please
> > provide ChangeLog entries per https://cygwin.com/contrib.html.
> 
> + * net.cc: Remove extra braces.
> +

Please send the ChangeLog as plain text, not as diff.  It's not much of
a problem in our current case, but ChangeLog diff's don't apply cleanly
most of the time.

> -const struct in6_addr in6addr_any = {{IN6ADDR_ANY_INIT}};
> -const struct in6_addr in6addr_loopback = {{IN6ADDR_LOOPBACK_INIT}};
> +const struct in6_addr in6addr_any = IN6ADDR_ANY_INIT;
> +const struct in6_addr in6addr_loopback = IN6ADDR_LOOPBACK_INIT;

Patch applied.


Thanks,
Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin-patches/attachments/20150313/34a5bd51/attachment.sig>


More information about the Cygwin-patches mailing list