Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
74 commits
Select commit Hold shift + click to select a range
cb23ca3
Bump Cygwin version to 3.5.7
github-cygwin Jan 26, 2025
5a58110
Cygwin: message queues are not devices
github-cygwin Jan 27, 2025
2644508
Cygwin: message queues: avoid deadlocks in multi-threaded processes
github-cygwin Jan 27, 2025
3bd313c
Add MSYS2 triplet
Alexpux Apr 14, 2019
da44d89
Fix msys library name in import libraries
ktbarrett Mar 14, 2021
4fbbc58
Rename dll from cygwin to msys
Alexpux Apr 14, 2019
43cfd0b
Add functionality for converting UNIX paths in arguments and environm…
Alexpux Apr 14, 2019
fb1e84a
Add functionality for changing OS name via MSYSTEM environment variab…
Alexpux Apr 14, 2019
d47d052
- Move root to /usr. - Change sorting mount points. - By default moun…
Alexpux Apr 14, 2019
44054a9
Instead of creating Cygwin symlinks, use deep copy by default
Alexpux Apr 14, 2019
6c7fe9b
Automatically rewrite TERM=msys to TERM=cygwin
Alexpux Apr 14, 2019
412eff5
Do not convert environment for strace
Alexpux Apr 14, 2019
a181105
strace.cc: Don't set MSYS=noglob
mingwandroid Aug 23, 2015
f9e54f0
Add debugging for strace make_command_line
mingwandroid Aug 21, 2015
651375a
strace --quiet: be *really* quiet
dscho May 17, 2017
593a15a
path_conv: special-case root directory to have trailing slash
Alexpux Apr 14, 2019
62fa30f
When converting to a Unix path, avoid double trailing slashes
dscho Nov 8, 2022
1ac0e54
msys2_path_conv: pass PC_NOFULL to path_conv
lazka Nov 20, 2022
6eb1721
path-conversion: Introduce ability to switch off conversion.
Jun 17, 2015
263902c
dcrt0.cc: Untangle allow_glob from winshell
mingwandroid Aug 21, 2015
e1974e6
dcrt0.cc (globify): Don't quote literal strings differently when dos_…
mingwandroid Aug 23, 2015
0473dff
Add debugging for build_argv
mingwandroid Aug 21, 2015
f063255
environ.cc: New facility/environment variable MSYS2_ENV_CONV_EXCL
mingwandroid Apr 10, 2016
01b1793
Fix native symbolic link spawn passing wrong arg0
SquallATF Sep 10, 2018
7a14153
Introduce the `enable_pcon` value for `MSYS`
dscho May 19, 2020
1650471
popen: call /usr/bin/sh instead of /bin/sh
lazka Jun 5, 2020
b047a43
Disable the 'cygwin' GitHub workflow
dscho Mar 17, 2021
51d6bfa
CI: add a GHA for doing a basic build test
lazka Aug 9, 2020
c06b847
CI: fix the build with gcc 13
lazka Nov 10, 2023
144e703
Set up a GitHub Action to keep in sync with Cygwin
dscho Nov 22, 2019
8e100d3
Expose full command-lines to other Win32 processes by default
dscho Aug 12, 2020
dd4d9d1
Add a helper to obtain a function's address in kernel32.dll
dscho Apr 16, 2018
81198b4
Emulate GenerateConsoleCtrlEvent() upon Ctrl+C
dscho Mar 20, 2015
68991eb
kill: kill Win32 processes more gently
dscho Mar 20, 2015
05dc9c9
Cygwin: make option for native inner link handling.
jeremyd2019 Jul 22, 2021
35fe503
docs: skip building texinfo and PDF files
dscho Nov 8, 2021
810a435
install-libs: depend on the "toollibs"
dscho Nov 8, 2021
b3c0f45
POSIX-ify the SHELL variable
dscho Nov 23, 2015
78cf542
Handle ORIGINAL_PATH just like PATH
dscho Mar 21, 2017
06ac3e1
uname: allow setting the system name to CYGWIN
lazka Jul 3, 2022
769d1e6
Pass environment variables with empty values
dscho Feb 18, 2015
ba92e6b
Optionally disallow empty environment values again
dscho Sep 6, 2022
02217cb
build_env(): respect the `MSYS` environment variable
dscho Sep 6, 2022
69c6293
Revert "Cygwin: Enable dynamicbase on the Cygwin DLL by default"
lazka Dec 17, 2022
2bfc1b4
CI: set -Wno-error=maybe-uninitialized
lazka May 17, 2024
2db2db0
Avoid sharing cygheaps across Cygwin versions
dscho Jan 30, 2023
e72880f
uname: report msys2-runtime commit hash, too
dscho Feb 21, 2023
b879775
Cygwin: find_fast_cwd: don't run assembler checking code on ARM64
github-cygwin Feb 13, 2024
9f4fcc7
cygthread: suspend thread before terminating.
jeremyd2019 Nov 12, 2024
290bea9
Cygwin: revert use of CancelSyncronousIo on wait_thread.
jeremyd2019 Nov 22, 2024
b160d31
Cygwin: cache IsWow64Process2 host arch in wincap.
jeremyd2019 Nov 27, 2024
02238d2
Cygwin: uname: add host machine tag to sysname.
jeremyd2019 Nov 27, 2024
afd94d3
Start the merging-rebase to cygwin-3.5.7
dscho Jan 30, 2025
427853e
Merge branch 'msys2-3.5.6'
dscho Aug 14, 2020
0892beb
Handle 8-bit characters under LOCALE=C
dscho Feb 20, 2015
0fa4f1f
Bump actions/checkout from 2 to 4
dependabot[bot] Feb 14, 2024
eb8177c
Mention the extremely useful small_printf() function
dscho Feb 20, 2015
3afd831
dependabot: help keeping GitHub Actions versions up to date
dscho Feb 6, 2024
e030390
Fixed path converting with non ascii char.
Mar 9, 2015
71f006f
Make paths' WCS->MBS conversion explicit
dscho Dec 18, 2015
81bbbde
Allow native symlinks to non-existing targets in 'nativestrict' mode
kblees May 20, 2015
af960b4
Do not try to sync with Cygwin
dscho Aug 20, 2020
74328f6
Merge pull request #1 from dscho/git-for-windows
dscho Feb 12, 2018
1b93522
Use MB_CUR_MAX == 6 by default
dscho Nov 21, 2019
716ab01
Merge pull request #10 from kblees/kb/symlinks
dscho Feb 12, 2018
bbe7e2b
Change the default base address for x86_64
chirpnot Mar 10, 2022
eeb65ae
Merge branch 'wcstombs'
dscho Feb 12, 2018
7f68fa3
msys2-runtime: restore fast path for current user primary group
rglidden Aug 24, 2023
249374c
Merge pull request #37 from chirpnot/main
dscho May 13, 2022
f92c1e9
Fix SSH hangs
dscho Oct 10, 2024
759def1
Merge pull request #57 from rglidden/main
dscho Aug 28, 2023
454f7a4
ci: run Git's entire test suite
dscho Feb 12, 2024
3b8d002
Merge pull request #75 from dscho/fix-ssh-hangs
dscho Oct 10, 2024
882031d
Merge pull request #83 from dscho/run-gits-test-suite
dscho Jan 24, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion winsup/cygwin/include/cygwin/version.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ details. */
changes to the DLL and is mainly informative in nature. */

#define CYGWIN_VERSION_DLL_MAJOR 3005
#define CYGWIN_VERSION_DLL_MINOR 6
#define CYGWIN_VERSION_DLL_MINOR 7

/* CYGWIN_VERSION_DLL_COMBINED gives us a single number representing the
combined DLL major and minor numbers. */
Expand Down
3 changes: 2 additions & 1 deletion winsup/cygwin/local_includes/devices.h
Original file line number Diff line number Diff line change
Expand Up @@ -377,7 +377,8 @@ class device : private _device
}
fh_devices operator = (fh_devices n) {return d.devn_fh_devices = n;}
inline void setfs (bool x) {dev_on_fs = x;}
inline bool isfs () const {return dev_on_fs || d.devn == FH_FS;}
inline bool isfs () const {return dev_on_fs || d.devn == FH_FS
|| d.devn == FH_MQUEUE;}
inline bool is_fs_special () const {return dev_on_fs && d.devn != FH_FS;}
inline bool is_dev_resident () const {return lives_in_dev;}
inline int exists () const {return exists_func (*this);}
Expand Down
3 changes: 1 addition & 2 deletions winsup/cygwin/local_includes/path.h
Original file line number Diff line number Diff line change
Expand Up @@ -228,8 +228,7 @@ class path_conv
/proc. */
int isspecial () const {return dev.not_device (FH_FS);}
/* Devices with representation on disk. This includes local sockets, FIFOs,
message queues and devices created with mknod. It does not include
the /proc hierarchy. */
devices created with mknod. It does not include the /proc hierarchy. */
int is_fs_special () const {return dev.is_fs_special ();}
/* Like is_fs_special but excluding local sockets. */
int is_lnk_special () const {return is_fs_special () && !issocket ();}
Expand Down
5 changes: 1 addition & 4 deletions winsup/cygwin/path.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1241,10 +1241,7 @@ path_conv::check (const char *src, unsigned opt,

/* FIXME: bad hack alert!!! We need a better solution */
if (!strncmp (path_copy, MQ_PATH, MQ_LEN) && path_copy[MQ_LEN])
{
dev.parse (FH_MQUEUE);
dev.setfs (1);
}
dev.parse (FH_MQUEUE);
}

if (opt & PC_NOFULL)
Expand Down
10 changes: 5 additions & 5 deletions winsup/cygwin/posix_ipc.cc
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ mq_getattr (mqd_t mqd, struct mq_attr *mqstat)
{
int ret = -1;

cygheap_fdget fd ((int) mqd, true);
cygheap_fdget fd ((int) mqd);
if (fd >= 0)
{
fhandler_mqueue *fh = fd->is_mqueue ();
Expand All @@ -241,7 +241,7 @@ mq_setattr (mqd_t mqd, const struct mq_attr *mqstat, struct mq_attr *omqstat)
{
int ret = -1;

cygheap_fdget fd ((int) mqd, true);
cygheap_fdget fd ((int) mqd);
if (fd >= 0)
{
fhandler_mqueue *fh = fd->is_mqueue ();
Expand All @@ -258,7 +258,7 @@ mq_notify (mqd_t mqd, const struct sigevent *notification)
{
int ret = -1;

cygheap_fdget fd ((int) mqd, true);
cygheap_fdget fd ((int) mqd);
if (fd >= 0)
{
fhandler_mqueue *fh = fd->is_mqueue ();
Expand All @@ -276,7 +276,7 @@ mq_timedsend (mqd_t mqd, const char *ptr, size_t len, unsigned int prio,
{
int ret = -1;

cygheap_fdget fd ((int) mqd, true);
cygheap_fdget fd ((int) mqd);
if (fd >= 0)
{
fhandler_mqueue *fh = fd->is_mqueue ();
Expand All @@ -300,7 +300,7 @@ mq_timedreceive (mqd_t mqd, char *ptr, size_t maxlen, unsigned int *priop,
{
int ret = -1;

cygheap_fdget fd ((int) mqd, true);
cygheap_fdget fd ((int) mqd);
if (fd >= 0)
{
fhandler_mqueue *fh = fd->is_mqueue ();
Expand Down
9 changes: 9 additions & 0 deletions winsup/cygwin/release/3.5.7
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
Fixes:
------

- Fix stat() on message queues.
Addresses: https://cygwin.com/pipermail/cygwin/2025-January/257186.html

- Avoid deadlocks when calling message queue functions from different threads
in the same process.
Addresses: https://cygwin.com/pipermail/cygwin/2025-January/257120.html