Re: Cygwin/X on Windows 10 won't launch apps from .XWinrc menus

2021-08-19 Thread Roland Roberts
On 8/19/2021 2:41 PM, Eliot Moss wrote: On 8/18/2021 7:19 PM, Roland Roberts wrote: On 8/10/2021 8:58 AM, Roland Roberts wrote: I have a new, company-supplied Windows 10 laptop, using Cygwin to do development. I’m having a problem getting XWin to launch apps. XWin appears to be mostly working

Re: Duplicates in /proc/partitions

2021-08-19 Thread Corinna Vinschen via Cygwin
On Aug 19 15:46, Lavrentiev, Anton (NIH/NLM/NCBI) [C] via Cygwin wrote: > > Great! Looking forward to it. > > I'm happy to report that in the latest snapshot, the problem seems to be gone! > > $ uname -a > CYGWIN_NT-6.1 X 3.3.0s(0.341/5/3) 2021-08-19 14:45 x86_64 Cygwin > > $ cat /proc/part

Re: Cygwin/X on Windows 10 won't launch apps from .XWinrc menus

2021-08-19 Thread Eliot Moss
On 8/18/2021 7:19 PM, Roland Roberts wrote: On 8/10/2021 8:58 AM, Roland Roberts wrote: I have a new, company-supplied Windows 10 laptop, using Cygwin to do development. I’m having a problem getting XWin to launch apps. XWin appears to be mostly working normally, meaning if I launch a Cygwin mi

RE: Duplicates in /proc/partitions

2021-08-19 Thread Lavrentiev, Anton (NIH/NLM/NCBI) [C] via Cygwin
> Great! Looking forward to it. I'm happy to report that in the latest snapshot, the problem seems to be gone! $ uname -a CYGWIN_NT-6.1 X 3.3.0s(0.341/5/3) 2021-08-19 14:45 x86_64 Cygwin $ cat /proc/partitions major minor #blocks name win-mounts 8 0 500107608 sda 8 1

Re: Duplicates in /proc/partitions

2021-08-19 Thread Corinna Vinschen via Cygwin
On Aug 19 15:15, Lavrentiev, Anton (NIH/NLM/NCBI) [C] via Cygwin wrote: > > > loop is not working atomically. If a new object is inserted into the > > > dir preceeding the currently handled entry (which, on a reliable system > > > should *never* occur), the entry is moved by one, and the next > >

RE: Duplicates in /proc/partitions

2021-08-19 Thread Lavrentiev, Anton (NIH/NLM/NCBI) [C] via Cygwin
> > loop is not working atomically. If a new object is inserted into the > > dir preceeding the currently handled entry (which, on a reliable system > > should *never* occur), the entry is moved by one, and the next > > NtQueryDirectoryObject call returns the same object again. Very interesting..

Re: Duplicates in /proc/partitions

2021-08-19 Thread Corinna Vinschen via Cygwin
Hi Anton, On Aug 19 13:26, Corinna Vinschen via Cygwin wrote: > On Aug 19 12:03, Corinna Vinschen via Cygwin wrote: > > On Aug 18 18:36, Lavrentiev, Anton (NIH/NLM/NCBI) [C] via Cygwin wrote: > > > > And I just confirmed that if I print the context right before > > > > NtOpenFile(), and just do >

Re: Duplicates in /proc/partitions

2021-08-19 Thread Corinna Vinschen via Cygwin
On Aug 19 12:03, Corinna Vinschen via Cygwin wrote: > On Aug 18 18:36, Lavrentiev, Anton (NIH/NLM/NCBI) [C] via Cygwin wrote: > > > And I just confirmed that if I print the context right before > > > NtOpenFile(), and just do > > > the "continue", > > > > But then I also tried this: I removed th

Re: Duplicates in /proc/partitions

2021-08-19 Thread Corinna Vinschen via Cygwin
On Aug 18 18:36, Lavrentiev, Anton (NIH/NLM/NCBI) [C] via Cygwin wrote: > > And I just confirmed that if I print the context right before NtOpenFile(), > > and just do > > the "continue", > > But then I also tried this: I removed the "continue" before "NtOpenFile()" > and allowed it to proceed,

Re: Duplicates in /proc/partitions

2021-08-19 Thread Corinna Vinschen via Cygwin
On Aug 18 18:18, Lavrentiev, Anton (NIH/NLM/NCBI) [C] via Cygwin wrote: > > printf ("%5d %5d %9llu sd%c (%lu, %ls)\n", > > 8, (dev_name - 'a') * 16, size >> 10, dev_name, > > (unsigned long) context, dbi->ObjectName.Buffer); > > I replaced with this instead (read_