Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
124 commits
Select commit Hold shift + click to select a range
9577467
bump DLL version to 3.5.5
github-cygwin Aug 25, 2024
68a14b6
Cygwin: console: Disable cons_master_thread in win32-input-mode
tyan0 Aug 31, 2024
37ab3e0
Cygwin: pipe: Fix a regression that raw_write() slows down
tyan0 Aug 31, 2024
784ce7a
Cygwin: accommodate gcc -Og option
github-cygwin Feb 14, 2024
c7fe29f
Cygwin: pipe: Restore blocking mode of read pipe on close()/raw_read()
tyan0 Sep 6, 2024
0281d2c
cygwin: pread/pwrite: prevent EBADF error after fork()
chrfranke Oct 23, 2024
6e39f39
Cygwin: timer_delete: Fix return value
chrfranke Oct 23, 2024
db6ad93
powf: Fix the hi+lo decomposition for 2/(3ln2) (FreeBSD)
Sep 11, 2024
f21b930
powf: Fixed 2 bugs in the computation /* t_h=ax+bp[k] High */. (FreeBSD)
Sep 11, 2024
142c3c3
powf: Fixed another precision bug in powf() (FreeBSD)
Sep 11, 2024
b76735a
Cygwin: lockf: Fix adding a new lock over multiple locks
tyan0 Oct 19, 2024
f86a181
Cygwin: lockf: Make lockf() return ENOLCK when too many locks
tyan0 Oct 19, 2024
d700812
Cygwin: console: Inherit pcon hand over from parent pty
tyan0 Oct 31, 2024
3d364b9
Cygwin: pipe: fix shift value
github-cygwin Oct 31, 2024
2962922
Add recent pipe change to release note
tyan0 Oct 31, 2024
ea01b87
Cygwin: cygfe: Fix a bug that signal handler destroys fpu states
tyan0 Oct 31, 2024
7316884
Cygwin: console: Fix open() failure when the console owner calls exec().
tyan0 Nov 5, 2024
f307544
Cygwin: console: Re-fix open() failure on exec() by console owner
tyan0 Nov 6, 2024
92f4e10
Cygwin: console: Use GetCurrentProcessId() instead of myself->dwProce…
tyan0 Nov 6, 2024
38ab2b7
Cygwin: console: Fix clean up conditions in close()
tyan0 Nov 8, 2024
9dad29c
Cygwin: pthread: Correct pthread_cleanup macros to avoid potential sy…
shaobosong Nov 10, 2024
b9060e0
Cygwin: Change pthread_sigqueue() to accept thread id
mgeisert Nov 12, 2024
22474a6
Cygwin: check_dir_not_empty: Avoid leaving the allocated buffer.
bernhardu Nov 16, 2024
c4102f8
Cygwin: lockf: Fix access violation in lf_clearlock().
tyan0 Nov 13, 2024
67b31bc
Cygwin: flock: Fix overlap handling in lf_setlock() and lf_clearlock()
tyan0 Nov 15, 2024
2196f93
Cygwin: SetThreadName: avoid spurious debug message
github-cygwin Nov 20, 2024
46474ec
Cygwin: sigtimedwait: Fix segfault when timeout is used
tyan0 Nov 17, 2024
d06ba04
Cygwin: sched_getscheduler: fix error handling
chrfranke Nov 25, 2024
96d729b
Cygwin: sched_setscheduler: allow changes of the priority
chrfranke Nov 27, 2024
9af37ca
Cygwin: termios: Trim buffer size for GetConsoleProcessList()
tyan0 Dec 4, 2024
fff6372
Change various declarations to ANSI style to avoid problems with gcc 15
Blackhex Dec 3, 2024
c8e978a
Cygwin: Fix compatibility with GCC 15
Blackhex Dec 4, 2024
bb854e0
Cygwin: try_to_bin: transpose deleted file name to valid Unicode chars
github-cygwin Dec 4, 2024
bbf8484
libm/common: Fix nextafter and nextafterf when x == y
kito-cheng Dec 5, 2024
a951054
Cygwin: signal: Fix deadlock between main thread and sig thread
tyan0 Nov 25, 2024
09be373
Cygwin: signal: Handle queued signal without explicit __SIGFLUSH
tyan0 Nov 25, 2024
e1b6996
Cygwin: signal: Drop unnecessary queue flush
tyan0 Nov 25, 2024
f930a97
Cygwin: signal: Fix another deadlock between main and sig thread
tyan0 Nov 27, 2024
3a28aac
Cygwin: gendef: unify comments in terms of acquiring/releasing stacklock
github-cygwin Nov 23, 2024
da6d5f8
Cygwin: cygtls: Prompt system to switch tasks explicitly in lock()
tyan0 Nov 29, 2024
8fa1c02
Cygwin: signal: Fix a short period of deadlock
tyan0 Nov 29, 2024
e9fdf6f
Cygwin: signal: Optimize the priority of the sig thread
tyan0 Nov 29, 2024
7adfc92
Cygwin: signal: Increase chance of handling signal in main thread
tyan0 Dec 3, 2024
60fa8d7
Cygwin: setjmp/longjmp: decrement incyg after signal handling
github-cygwin Dec 4, 2024
52d1c85
Cygwin: cygtls: add volatile qualifier to spinning
github-cygwin Dec 5, 2024
9c34e02
Cygwin: setjmp/longjmp: drop setting spinning flag
github-cygwin Dec 5, 2024
2f9258b
Cygwin: Add setjmp/longjmp fix to 3.5.5 release messages
github-cygwin Dec 5, 2024
5bd4f99
Cygwin: signal: Remove queue entry from the queue chain when cleared
tyan0 Nov 29, 2024
b38ba4b
Cygwin: signal: Introduce a lock for the signal queue
tyan0 Dec 4, 2024
db55d54
Cygwin: Document several fixes for signal handling in release note
tyan0 Nov 26, 2024
dac9ad1
Cygwin: path_conv: allow NULL handle in init_reopen_attr()
github-cygwin Dec 10, 2024
837e596
Cygwin: access: Correction for samba/SMB share
tyan0 Dec 7, 2024
aecd807
Cygwin: signal: Fix high load when retrying to process pending signal
tyan0 Dec 12, 2024
fe598b8
Cygwin: mmap: fix protection when unused pages are recycled
kbrow1i Dec 18, 2024
5bb9e88
Cygwin: mmap_list::try_map: fix a condition in a test of an mmap request
kbrow1i Dec 18, 2024
bdad035
Add MSYS2 triplet
Alexpux Apr 14, 2019
900232b
Fix msys library name in import libraries
ktbarrett Mar 14, 2021
585fadf
Rename dll from cygwin to msys
Alexpux Apr 14, 2019
d076660
Add functionality for converting UNIX paths in arguments and environm…
Alexpux Apr 14, 2019
35a477b
Add functionality for changing OS name via MSYSTEM environment variab…
Alexpux Apr 14, 2019
41ed62e
- Move root to /usr. - Change sorting mount points. - By default moun…
Alexpux Apr 14, 2019
8096583
Instead of creating Cygwin symlinks, use deep copy by default
Alexpux Apr 14, 2019
0ba54e8
Automatically rewrite TERM=msys to TERM=cygwin
Alexpux Apr 14, 2019
e28b742
Do not convert environment for strace
Alexpux Apr 14, 2019
4a24304
strace.cc: Don't set MSYS=noglob
mingwandroid Aug 23, 2015
b3a4a5b
Add debugging for strace make_command_line
mingwandroid Aug 21, 2015
f8c0980
strace --quiet: be *really* quiet
dscho May 17, 2017
c4d9d83
path_conv: special-case root directory to have trailing slash
Alexpux Apr 14, 2019
1c5a6e8
When converting to a Unix path, avoid double trailing slashes
dscho Nov 8, 2022
8b5e9b5
msys2_path_conv: pass PC_NOFULL to path_conv
lazka Nov 20, 2022
b09fb7f
path-conversion: Introduce ability to switch off conversion.
Jun 17, 2015
b239180
dcrt0.cc: Untangle allow_glob from winshell
mingwandroid Aug 21, 2015
1e94f3e
dcrt0.cc (globify): Don't quote literal strings differently when dos_…
mingwandroid Aug 23, 2015
e6c5e3e
Add debugging for build_argv
mingwandroid Aug 21, 2015
d44fc10
environ.cc: New facility/environment variable MSYS2_ENV_CONV_EXCL
mingwandroid Apr 10, 2016
98c1641
Fix native symbolic link spawn passing wrong arg0
SquallATF Sep 10, 2018
d12ab6d
Introduce the `enable_pcon` value for `MSYS`
dscho May 19, 2020
865ad5d
popen: call /usr/bin/sh instead of /bin/sh
lazka Jun 5, 2020
5f36fdb
Disable the 'cygwin' GitHub workflow
dscho Mar 17, 2021
862887f
CI: add a GHA for doing a basic build test
lazka Aug 9, 2020
764bd7f
CI: fix the build with gcc 13
lazka Nov 10, 2023
bea6a07
Set up a GitHub Action to keep in sync with Cygwin
dscho Nov 22, 2019
080e2b0
Expose full command-lines to other Win32 processes by default
dscho Aug 12, 2020
9f45f58
Add a helper to obtain a function's address in kernel32.dll
dscho Apr 16, 2018
f6f7e2c
Emulate GenerateConsoleCtrlEvent() upon Ctrl+C
dscho Mar 20, 2015
86cd50d
kill: kill Win32 processes more gently
dscho Mar 20, 2015
4b228ef
Cygwin: make option for native inner link handling.
jeremyd2019 Jul 22, 2021
6e0c3b5
docs: skip building texinfo and PDF files
dscho Nov 8, 2021
ecf50e6
install-libs: depend on the "toollibs"
dscho Nov 8, 2021
8cb4ff2
POSIX-ify the SHELL variable
dscho Nov 23, 2015
1f6020c
Handle ORIGINAL_PATH just like PATH
dscho Mar 21, 2017
79e3880
uname: allow setting the system name to CYGWIN
lazka Jul 3, 2022
ef59c45
Pass environment variables with empty values
dscho Feb 18, 2015
c347d6c
Optionally disallow empty environment values again
dscho Sep 6, 2022
210e5f3
build_env(): respect the `MSYS` environment variable
dscho Sep 6, 2022
bef1e6b
Revert "Cygwin: Enable dynamicbase on the Cygwin DLL by default"
lazka Dec 17, 2022
8103a09
CI: set -Wno-error=maybe-uninitialized
lazka May 17, 2024
6e10b1b
Avoid sharing cygheaps across Cygwin versions
dscho Jan 30, 2023
f61f7fb
uname: report msys2-runtime commit hash, too
dscho Feb 21, 2023
debafbf
Cygwin: find_fast_cwd: don't run assembler checking code on ARM64
github-cygwin Feb 13, 2024
2c55ca5
cygthread: suspend thread before terminating.
jeremyd2019 Nov 12, 2024
e5dc132
Cygwin: revert use of CancelSyncronousIo on wait_thread.
jeremyd2019 Nov 22, 2024
5453f9f
Cygwin: cache IsWow64Process2 host arch in wincap.
jeremyd2019 Nov 27, 2024
985e265
Cygwin: uname: add host machine tag to sysname.
jeremyd2019 Nov 27, 2024
790eee4
Start the merging-rebase to cygwin-3.5.5
dscho Dec 24, 2024
781e716
Merge branch 'msys2-3.5.5'
dscho Aug 14, 2020
cac55e8
Handle 8-bit characters under LOCALE=C
dscho Feb 20, 2015
3d08a3f
Bump actions/checkout from 2 to 4
dependabot[bot] Feb 14, 2024
6990ce7
Mention the extremely useful small_printf() function
dscho Feb 20, 2015
9fd3157
dependabot: help keeping GitHub Actions versions up to date
dscho Feb 6, 2024
8b2144f
Fixed path converting with non ascii char.
Mar 9, 2015
31f9012
Do not try to sync with Cygwin
dscho Aug 20, 2020
e05ee92
Make paths' WCS->MBS conversion explicit
dscho Dec 18, 2015
64dfcd6
Allow native symlinks to non-existing targets in 'nativestrict' mode
kblees May 20, 2015
2ff02fd
Use MB_CUR_MAX == 6 by default
dscho Nov 21, 2019
e1c6154
Change the default base address for x86_64
chirpnot Mar 10, 2022
274ecb5
Merge pull request #1 from dscho/git-for-windows
dscho Feb 12, 2018
5b7d642
Merge pull request #10 from kblees/kb/symlinks
dscho Feb 12, 2018
b14e81c
Merge branch 'wcstombs'
dscho Feb 12, 2018
070aa27
Merge pull request #37 from chirpnot/main
dscho May 13, 2022
9ba6664
msys2-runtime: restore fast path for current user primary group
rglidden Aug 24, 2023
cae4abc
Merge pull request #57 from rglidden/main
dscho Aug 28, 2023
67bdfc7
Fix SSH hangs
dscho Oct 10, 2024
ff2b7c9
Merge pull request #75 from dscho/fix-ssh-hangs
dscho Oct 10, 2024
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
22 changes: 13 additions & 9 deletions newlib/libc/posix/collate.c
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,9 @@ struct __collate_st_chain_pri __collate_chain_pri_table[TABLE_SIZE];
void __collate_err(int ex, const char *f);

int
__collate_load_tables(encoding)
char *encoding;
__collate_load_tables(
char *encoding
)
{
char buf[PATH_MAX];
FILE *fp;
Expand Down Expand Up @@ -113,8 +114,9 @@ __collate_load_tables(encoding)
}

u_char *
__collate_substitute(s)
const u_char *s;
__collate_substitute(
const u_char *s
)
{
int dest_len, len, nlen;
int delta = strlen((const char *) s);
Expand Down Expand Up @@ -143,9 +145,12 @@ __collate_substitute(s)
}

void
__collate_lookup(t, len, prim, sec)
const u_char *t;
int *len, *prim, *sec;
__collate_lookup(
const u_char *t,
int *len,
int *prim,
int *sec
)
{
struct __collate_st_chain_pri *p2;

Expand All @@ -165,8 +170,7 @@ __collate_lookup(t, len, prim, sec)
}

u_char *
__collate_strdup(s)
u_char *s;
__collate_strdup(u_char *s)
{
u_char *t = (u_char *) strdup((const char *) s);

Expand Down
6 changes: 4 additions & 2 deletions newlib/libc/posix/collcmp.c
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,10 @@
* "[a-z]"-type ranges with national characters.
*/

int __collate_range_cmp (c1, c2)
int c1, c2;
int __collate_range_cmp (
int c1,
int c2
)
{
static char s1[2], s2[2];
int ret;
Expand Down
82 changes: 44 additions & 38 deletions newlib/libc/posix/engine.c
Original file line number Diff line number Diff line change
Expand Up @@ -135,12 +135,13 @@ static char *pchar(int ch);
== size_t nmatch, regmatch_t pmatch[], int eflags);
*/
static int /* 0 success, REG_NOMATCH failure */
matcher(g, string, nmatch, pmatch, eflags)
struct re_guts *g;
char *string;
size_t nmatch;
regmatch_t pmatch[];
int eflags;
matcher(
struct re_guts *g,
char *string,
size_t nmatch,
regmatch_t pmatch[],
int eflags
)
{
char *endp;
int i;
Expand Down Expand Up @@ -346,12 +347,13 @@ int eflags;
== char *stop, sopno startst, sopno stopst);
*/
static char * /* == stop (success) always */
dissect(m, start, stop, startst, stopst)
struct match *m;
char *start;
char *stop;
sopno startst;
sopno stopst;
dissect(
struct match *m,
char *start,
char *stop,
sopno startst,
sopno stopst
)
{
int i;
sopno ss; /* start sop of current subRE */
Expand Down Expand Up @@ -539,13 +541,14 @@ sopno stopst;
== char *stop, sopno startst, sopno stopst, sopno lev);
*/
static char * /* == stop (success) or NULL (failure) */
backref(m, start, stop, startst, stopst, lev)
struct match *m;
char *start;
char *stop;
sopno startst;
sopno stopst;
sopno lev; /* PLUS nesting level */
backref(
struct match *m,
char *start,
char *stop,
sopno startst,
sopno stopst,
sopno lev /* PLUS nesting level */
)
{
int i;
sopno ss; /* start sop of current subRE */
Expand Down Expand Up @@ -744,12 +747,13 @@ sopno lev; /* PLUS nesting level */
== char *stop, sopno startst, sopno stopst);
*/
static char * /* where tentative match ended, or NULL */
fast(m, start, stop, startst, stopst)
struct match *m;
char *start;
char *stop;
sopno startst;
sopno stopst;
fast(
struct match *m,
char *start,
char *stop,
sopno startst,
sopno stopst
)
{
states st = m->st;
states fresh = m->fresh;
Expand Down Expand Up @@ -835,12 +839,13 @@ sopno stopst;
== char *stop, sopno startst, sopno stopst);
*/
static char * /* where it ended */
slow(m, start, stop, startst, stopst)
struct match *m;
char *start;
char *stop;
sopno startst;
sopno stopst;
slow(
struct match *m,
char *start,
char *stop,
sopno startst,
sopno stopst
)
{
states st = m->st;
states empty = m->empty;
Expand Down Expand Up @@ -931,13 +936,14 @@ sopno stopst;
== #define NNONCHAR (CODEMAX-CHAR_MAX)
*/
static states
step(g, start, stop, bef, ch, aft)
struct re_guts *g;
sopno start; /* start state within strip */
sopno stop; /* state after stop state within strip */
states bef; /* states reachable before */
int ch; /* character or NONCHAR code */
states aft; /* states already known reachable after */
step(
struct re_guts *g,
sopno start, /* start state within strip */
sopno stop, /* state after stop state within strip */
states bef, /* states reachable before */
int ch, /* character or NONCHAR code */
states aft /* states already known reachable after */
)
{
cset *cs;
sop s;
Expand Down
11 changes: 6 additions & 5 deletions newlib/libc/posix/fnmatch.c
Original file line number Diff line number Diff line change
Expand Up @@ -163,11 +163,12 @@ fnmatch(pattern, string, flags)
}

static int
rangematch(pattern, test, flags, newp)
const char *pattern;
char test;
int flags;
char **newp;
rangematch(
const char *pattern,
char test,
int flags,
char **newp
)
{
int negate, ok;
char c, c2;
Expand Down
Loading