This is the mail archive of the
cygwin-patches
mailing list for the Cygwin project.
Re: braces around scalar initializer for type
- From: Alexey Pavlov <alexpux at gmail dot com>
- To: cygwin-patches at cygwin dot com
- Date: Fri, 13 Mar 2015 13:03:59 +0300
- Subject: Re: braces around scalar initializer for type
- Authentication-results: sourceware.org; auth=none
- References: <CABEPuQJGji9Ue5E+j55to-u+VZV_oZ5kqF6piJFjhmMR+OJbhQ at mail dot gmail dot com> <20150312192253 dot GD11522 at calimero dot vinschen dot de> <CABEPuQ+cpnyy3Ov6XHsLoJT=RDmNZoR7RvWwz0ZoqAieowcYgg at mail dot gmail dot com> <20150313094412 dot GA20626 at calimero dot vinschen dot de>
2015-03-13 12:44 GMT+03:00 Corinna Vinschen <corinna-cygwin@cygwin.com>:
> 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.
Ok will do next 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!
>
> Thanks,
> Corinna
>
> --
> Corinna Vinschen Please, send mails regarding Cygwin to
> Cygwin Maintainer cygwin AT cygwin DOT com
> Red Hat