TEST RELEASE: Cygwin 1.7.34-005

Corinna Vinschen corinna-cygwin@cygwin.com
Tue Jan 20 16:48:00 GMT 2015

Hi Cygwin friends and users,

I released another TEST version of the next upcoming Cygwin release.
The version number is 1.7.34-005.

If nothing's overly badly broken, I'm planning to release 1.7.34
officially end of January or early February.

This version contains the latest bugfix to cygserver which is supposed
to fix the signalling problem reported on the Cygwin mailing list:

!!! Please test this release in your environment !!!

The major change in this new release is the new method to read account
information (passwd and group) from the Windows user databases directly,
without the requirement to generate /etc/passwd and /etc/group files to
generate Unix-like uid and gid.

The new documentation is not part of the official docs yet, but it's
available at


I recommend to read it so you know what will change.

If you find problems in the new features or regressions compared to the
current stable release 1.7.33, please report them to the public mailing

  cygwin AT cygwin DOT com

Following is a list of changes in this new release:

What's new:

- Cygwin can now generate passwd/group entries directly from Windows
  user databases (local SAM or Active Directory), thus allowing to run
  Cygwin without having to create /etc/passwd and /etc/group files.
  Introduce /etc/nsswitch.conf file to configure passwd/group handling.

  For bordercase which require to use /etc/passwd and /etc/group files,
  change mkpasswd/mkgroup to generate passwd/group entries compatible
  with the entries read from SAM/AD.

- Add -b/--remove-all option to setfacl to reduce the ACL to only the
  entries representing POSIX permission bits.

- Add -k/--remove-default option to setfacl to remove all default ACL
  entries from an ACL.

- Provide Cygwin documentation (PDFs and HTML) for offline usage in

- New APIs: qsort_r, __bsd_qsort_r.

- New APIs: __fbufsize, __flbf, __fpending, __freadable, __freading,
  __fsetlocking, __fwritable, __fwriting.

- New APIs: clearerr_unlocked, feof_unlocked, ferror_unlocked, fflush_unlocked,
  fgetc_unlocked, fgets_unlocked, fgetwc_unlocked, fgetws_unlocked,
  fileno_unlocked, fputc_unlocked, fputs_unlocked, fputwc_unlocked,
  fputws_unlocked, fread_unlocked, fwrite_unlocked, getwc_unlocked,
  getwchar_unlocked, putwc_unlocked, putwchar_unlocked.

What changed:

- Revamp Solaris ACL implementation to more closely work like POSIX ACLs
  are supposed to work.  Finally implement a CLASS_OBJ emulation.  Update
  getfacl(1)/setfacl(1) accordingly.

- The xdr functions are no longer exported for newly built executables.
  Use libtirpc-devel instead.

- 32 bit only: Change default values for socket buffer size to raise
  performance on 10Gb networks.

- When spawning a process under another user account, merge the user's
  default Windows environment into the new process' environment.

Bug Fixes

- Fix the problem that ptys master side always writes single byte packages
  to the slave side, and pty slaves always read VMIN byte packages from
  the master side if VMIN is > 0.
  Fixes: https://cygwin.com/ml/cygwin-developers/2014-11/msg00000.html

- Fix a synchronization problem in signal handling when using pthreads.
  Addresses: https://cygwin.com/ml/cygwin/2014-11/msg00472.html

- Fix an "invalid handle" problem when using flock(2) with a parent process
  holding the lock.
  Addresses: https://cygwin.com/ml/cygwin/2014-12/msg00012.html

- Load correct timezone offsets when fetching timezone info from
  zoneinfo files.  Use tm_gmtoff and tm_zone members in strftime to
  generate more correct timezone info for non-recent eras.
  Addresses: https://cygwin.com/ml/cygwin/2014-12/msg00313.html

- Fix type of cmsg_len member of struct cmsghdr in /usr/include/cygwin/socket.h
  to size_t to align with Winsock.
  Addresses: https://cygwin.com/ml/cygwin/2014-12/msg00376.html

- Fix a problem in the resolver trying to resolve "localhost".
  Addresses: https://cygwin.com/ml/cygwin/2015-01/msg00044.html

- Update Cygserver's idea of signal handling to the latest state of
  per-thread signalling in Cygwin.
  Addresses: https://cygwin.com/ml/cygwin/2015-01/msg00259.html

To install 32-bit Cygwin use https://cygwin.com/setup-x86.exe
To install 64 bit Cygwin use https://cygwin.com/setup-x86_64.exe

If you're already running a 32 bit version of Cygwin on 64 bit Windows
machines, you can continue to do so.  If you're planning a new install
of Cygwin on a 64 bit Windows machine, consider to use the new 64 bit
Cygwin version, unless you need certain packages not yet available in
the 64 bit release.

Have fun,

Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat

More information about the Cygwin-announce mailing list