[tin-dev] [tin 2.4.0] snapshots - please test

Corinna Vinschen vinschen at redhat.com
Wed Aug 10 11:04:23 CEST 2016

On Aug 10 09:28, Urs Jan├čen wrote:
> On Tue, Aug 09, 2016 at 09:06:17PM -0400, Thomas Dickey wrote:
> > On Tue, Aug 09, 2016 at 04:10:07PM +0200, Corinna Vinschen wrote:
> First of all, thanks to Corinna for reporting and giving such detailed
> descriptions and fixes and Thomas for commenting on them.
> > > A Cygwin-specific workaround for both problems would be to change
> > > CF_XOPEN_SOURCE to use the same mechanism to set _GNU_SOURCE as on
> > > Linux etc, and to regenerate configure:
> Even if that seems not to be the perfect way - as that might only break
> older cygwin installations (I just have cygwin 2.5.2 to test with) but
> no other systems, that's what I'll do for tin 2.4.0. I've updated the
> snapshots on the ftp-server.

Thank you.  The newlib/Cygwin header file changes have been introduced
earlier this year.  As far as Cygwin is concerned, the new feature test
macros are used since Cygwin 2.5.0.

In terms of older Cygwin releases, I tested with the pre-change Red
Hat release 2.0.4rh-2 and it still builds tin-2.4.0 with this change,
albeit with warnings:

  gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../include -I../pcre [...] \
  -D_XOPEN_SOURCE=500 -D_XOPEN_SOURCE=600 [...] -c [...]/src/tmpfile.c
  <command-line>:0:0: warning: "_XOPEN_SOURCE" redefined
  <command-line>:0:0: note: this is the location of the previous definition

Thanks again,

Corinna Vinschen
Cygwin Maintainer
Red Hat
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.tin.org/pipermail/tin-dev/attachments/20160810/80dd63b7/attachment.sig>

More information about the tin-dev mailing list