[PATCH v4] Cygwin: respect PC_SYM_FOLLOW and PC_SYM_NOFOLLOW_REP with inner links

2021-07-06 Thread Jeremy Drake via Cygwin-patches
The new GetFinalPathNameW handling for native symlinks in inner path components is disabled if caller doesn't want to follow symlinks, or doesn't want to follow reparse points. --- winsup/cygwin/path.cc | 88 ++- 1 file changed, 45 insertions(+), 43

Re: [PATCH v3] Cygwin: respect PC_SYM_FOLLOW and PC_SYM_NOFOLLOW_REP with inner links

2021-07-06 Thread Jeremy Drake via Cygwin-patches
On Tue, 6 Jul 2021, Corinna Vinschen wrote: > This formatting is just ugly. I suggest to move the PC_SYM_* test > to the block after the 32 bit code and reuse the existing braces, > just with adapted indentation, i. e.: +1. I was trying to avoid reformatting otherwise unchanged lines to reduce

Re: [PATCH v3] Cygwin: respect PC_SYM_FOLLOW and PC_SYM_NOFOLLOW_REP with inner links

2021-07-06 Thread Corinna Vinschen
On Jun 3 13:57, Jeremy Drake via Cygwin-patches wrote: > [...] > The new GetFinalPathNameW handling for native symlinks in inner path > components is disabled if caller doesn't want to follow symlinks, or > doesn't want to follow reparse points. Set flag to not follow reparse > points in chdir,

Re: propagate font zoom via SIGWINCH

2021-07-06 Thread Corinna Vinschen
Hi Thomas, On Jul 3 18:19, Thomas Wolff wrote: > xterm 368 and mintty 3.5.1 implement a new feature to support notification > of terminal scaling via font zooming also if the terminal text dimensions > (rows/columns) stay unchanged, using ioctl(TIOCSWINSZ), raising SIGWINCH. > This does not work

Re: [PATCH] format_proc_cpuinfo: add Linux 5.13 AMD/Hygon rapl

2021-07-06 Thread Corinna Vinschen
On Jun 29 11:09, Brian Inglis wrote: > > Linux 5.13 Opossums on Parade added features and changes: > add AMD 0x8007 EDX:14 rapl runtime average power limit > --- > winsup/cygwin/fhandler_proc.cc | 8 > 1 file changed, 8 insertions(+) Pushed. Thanks, Corinna

Re: [PATCH v2] Cygwin: console: Fix garbled input for non-ASCII chars.

2021-07-06 Thread Corinna Vinschen
On Jun 24 12:40, Takashi Yano wrote: > - After the commit ff4440fc, non-ASCII input may sometimes be garbled. > This patch fixes the issue. > > Addresses: https://cygwin.com/pipermail/cygwin/2021-June/248775.html > --- > winsup/cygwin/fhandler_console.cc | 15 +-- > 1 file

Re: [PATCH] Cygwin: console: Fix garbled input for non-ASCII chars.

2021-07-06 Thread Corinna Vinschen
On Jun 23 17:42, Takashi Yano wrote: > - After the commit ff4440fc, non-ASCII input may sometimes be garbled. > This patch fixes the issue. > > Addresses: https://cygwin.com/pipermail/cygwin/2021-June/248775.html > --- > winsup/cygwin/fhandler_console.cc | 4 ++-- > 1 file changed, 2

Re: [PATCH 0/2] Improve utils manpages

2021-07-06 Thread Corinna Vinschen
On Jun 16 17:19, Jon Turney wrote: > Jon Turney (2): > Cygwin: Various minor fixes to utils documentation > Cygwin: Use cmdsynopsis element in utils documentation > > winsup/doc/utils.xml | 709 --- > 1 file changed, 594 insertions(+), 115 deletions(-)

Re: [PATCH] Define PSAPI_VERSION as 1 before including psapi.h

2021-07-06 Thread Corinna Vinschen
Hi Jon, On Jun 20 14:37, Jon Turney wrote: > The default PSAPI_VERSION is controlled by WIN32_WINNT, which we set to > 0x0a00 when building utils since 48a76190 (and is the default in w32api > >= 9.0.0) > > In order for the built executables to run on Windows Vista, we must also > define