This is the mail archive of the cygwin-apps 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: 1.7-specific packages


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
  http://cygwin.com/ml/cygwin-announce/2009-03/msg00043.html


Corinna

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


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