[PATCH 2/2] Cygwin: introduce isabspath_strict macro

2021-11-10 Thread corinna-cygwin
From: Corinna Vinschen isabspath handles a path "X:", without trailing slas or backslash, as absolute path. This breaks some scenarios with relative paths starting with "X:". For instance, fstatat will mishandle a call with valid dirfd and "c:" as path. The reason is that gen_full_path_at()

[PATCH 0/2] Fix a bad case of absolute path handling

2021-11-10 Thread corinna-cygwin
From: Corinna Vinschen As I told Takashi in PM, I will try to more often send patches to the cygwin-patches ML before pushing them, so there's a chance to chime in. This patch series is supposed to address the `rm -rf' problem reported in

[PATCH 1/2] Cygwin: drop unused isabspath_u and iswabspath macros

2021-11-10 Thread corinna-cygwin
From: Corinna Vinschen Signed-off-by: Corinna Vinschen --- winsup/cygwin/winsup.h | 12 1 file changed, 12 deletions(-) diff --git a/winsup/cygwin/winsup.h b/winsup/cygwin/winsup.h index abdef35261ca..f6fea6313d56 100644 --- a/winsup/cygwin/winsup.h +++ b/winsup/cygwin/winsup.h

[PATCH] Cygwin: shmat: use mmap allocator strategy on 64 bit

2019-08-08 Thread corinna-cygwin
From: Corinna Vinschen This avoids collisions of shmat maps with Windows own datastructures when allocating top-down. This patch moves the mmap_allocator class definition into its own files and just uses it from mmap and shmat. --- winsup/cygwin/Makefile.in | 1 + winsup/cygwin/mmap.cc

Re: find_fast_cwd auto-responder test

2019-02-13 Thread corinna-cygwin
>TEST mail, don't reply >-- >bash 42 find_fast_cwd: WARNING: Couldn't compute FAST_CWD pointer. >Please report this problem to the public mailing list cygwin@cygwin.com >Corinna >-- >Problem reports: http://cygwin.com/problems.html >FAQ: