1.7-specific packages

Corinna Vinschen corinna-cygwin@cygwin.com
Fri Mar 13 10:36:00 GMT 2009

On Mar 13 06:34, Andy Koppe wrote:
> Hi,
> I'd been under the impression that I'd need to create a separate
> mintty package for cygwin-1.7, but was glad to find that actually
> 0.3.5-1 is already there. Many packages do have 1.7-specific versions
> though, so my question is, under what sorts of circumstances does that
> become necessary?

If your package potentially uses one of the features in 1.7.
For instance:

- Does your code use sockets and is potentially IPv6 aware?

- Does your code use static filename buffers of size MAXPATHLEN,
  PATH_MAX or MAX_PATH, or do you allocate filename buffers using
  these defines?  If so, drop all usage of MAX_PATH in favor of
  PATH_MAX.  Or, even better, don't expect pathnames to have a
  max size at all.

- For more ideas what's new see the list of new features in


Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

More information about the Cygwin-apps mailing list