Test: dash 0.5.12-2 (TEST)

Cygwin dash Co-Maintainer Brian.Inglis@Shaw.ca
Wed Feb 8 13:58:41 GMT 2023

The following test packages have been uploaded to the Cygwin distribution:

* dash	0.5.12-2

This test release has been rebuilt disabling libc fnmatch and glob as
Cygwin/winsup/newlib do not support locale dependent named character
classes like glibc.

Thanks to Andrey Repin for testing and bringing this to our attention,
and Harald van Dijk on the dash list for pointing out the commit
responsible and the solution.

Please test this Base category shell as extensively as possible
(especially if you are a Cygwin package maintainer) as this
package is used in all installations.
I have it locally installed as my /bin/sh so it is used by most scripts,
cron jobs, and cygport builds, so it has and is getting frequent
exercise with no apparent issues so far.
If no issues are reported this week the package will be upgraded to
current as the previous release breaks existing function that may be
relied on by some scripts.

DASH is a POSIX-compliant implementation of /bin/sh that aims to be
as small as possible. It does this without sacrificing speed where
possible. In fact, it is significantly faster than bash (the GNU
Bourne-Again SHell) for most tasks.

For more information see the project home page:


For changes since the previous release, see below;
for complete details see:


2022-12-11	0.5.12

	Remove USE_NORETURN ifdef

	Always set exitstatus in evaltree
	Check eflag after redirection error
	Check nflag in evaltree instead of cmdloop
	Do not cache value of eflag in evaltree
	Prevent recursive PS4 expansion
	Test evalskip before flipping status for NNOT

	Add ifsfree to expand to fix a logic error that causes a buffer over-read
	Always quote caret when using fnmatch
	Make glob(3) interruptible by SIGINT

	Clear unget on RESET
	Remove special case for unget EOF

	Always reset SIGINT/SIGQUIT handlers
	Block signals during tcsetpgrp
	Fix waitcmd busy loop
	Only block in waitcmd on first run

	fix formatting

	Add VSBIT to ensure subtype is never zero
	Fix VSLENGTH parsing with trailing garbage
	Get rid of PEOA
	Retry open64 on EINTR
	Call CHECK_DECL on stat64
        Disable glob again as it strips trailing slashes
        Enable fnmatch/glob by default
        Fail if building --with-libedit and can't find libedit
        Group readdir64/dirent64 with open64

More information about the Cygwin-announce mailing list