Re: Atomic mmap replacement

2024-12-16 Thread Ken Brown via Cygwin
On 12/16/2024 8:32 AM, Corinna Vinschen via Cygwin wrote: Right now, mmaping with PROT_NONE and then re-mmaping with PROT_WRITE doesn't work. Cygwin implements PROT_NONE not as MAP_RESERVE, but as MEM_COMMIT with PAGE_NOACCESS. mmap() doesn't check if the requested pages are already allocated w

Re: cygwin.com : FIX Website Issues .

2024-12-16 Thread Corinna Vinschen via Cygwin
On Dec 15 10:24, Brian Inglis via Cygwin wrote: > Hi Rhona, You're replying to SPAM. Corinna -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation:https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#un

Re: cygpath and unc paths

2024-12-16 Thread Federico Kircheis via Cygwin
This way, you're testing command interpreter, not WinApi. The command interpreter has its own ideas about what you can and can not use with it. Yes, after I saw it works with "-literal" I convinced my self it is a bug in PowerShell (I guess they strip the trailing \, but who knows). But then

Re: Atomic mmap replacement

2024-12-16 Thread Corinna Vinschen via Cygwin
Hi Ken, On Dec 15 12:29, Ken Brown via Cygwin wrote: > On 12/14/2024 7:00 PM, Ken Brown via Cygwin wrote: > > Hi Corinna, > > > > On 2/19/2018 4:00 AM, Corinna Vinschen wrote: > > > On Feb 17 22:37, Ken Brown wrote: > > > > Some code in emacs wants to reserve a chunk of address space with a big >

Re: cygpath and unc paths

2024-12-16 Thread Andrey Repin via Cygwin
Greetings, Federico Kircheis! >>> 1) >>> root path, like C:\ , because for whatever reason \\?\C:\ is not valid, it >>> has to be a subfolder (and trying to trick it with \\?\C:\\ does not work >>> either). >> > In which scenario? \\?\C:\ is just the same as \??\C:\ in NT speak, and >> that's a p