This is the mail archive of the cygwin-patches mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: braces around scalar initializer for type


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

Attachment: pgp9BDn9GEkFd.pgp
Description: PGP signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]