Re: GB18030 locale

2023-07-28 Thread Bruno Haible via Cygwin
Corinna Vinschen wrote: > test-fnmatch-5.sh is SKIPped because we don't support zh_CN.GB18030. Hmm? When I read winsup/cygwin/release/3.5.0 and the commit 5da71b6059956a8f20a6be02e82867aa28aa3880, it seems the zh_CN.GB18030 locale (which on native Windows is called "Chinese_China.54936") should

Re: [EXTERNAL] dig and host don't work in IPv6

2023-07-28 Thread Andrew Schulman via Cygwin
> > Should I be doing something differently? Or is it a bug? > > It may be sort of a limitation (IIRC, in Cygwin's minires) but: > > Did you try to use > > options=osquery > > and (separate by spaces) / or > > options=inet6 > > in /etc/resolv.conf ? Thanks. Unfortunately neither of those

Re: fnmatch improvements

2023-07-28 Thread Bill Stewart via Cygwin
On Fri, Jul 28, 2023 at 5:12 AM Corinna Vinschen wrote: I'm puzzled because I'm an idiot. > That's one thing you certainly are not. Bill -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation:https://cygwin.com/docs.html

RE: [EXTERNAL] dig and host don't work in IPv6

2023-07-28 Thread Lavrentiev, Anton (NIH/NLM/NCBI) [C] via Cygwin
> It may be sort of a limitation (IIRC, in Cygwin's minires) but: > > Should I be doing something differently? Or is it a bug? > > the host and dig commands no longer work Reading your question again, I don't think Cygwin's minires limitation (if any) can be at play here because IIRC neither

Re: fnmatch improvements

2023-07-28 Thread Corinna Vinschen via Cygwin
On Jul 28 12:56, Bruno Haible via Cygwin wrote: > It's sometimes hard to make incremental changes to generated files of the > GNU Build System plus Gnulib. I've therefore recreated a new tarball for you, > at https://haible.de/bruno/gnu/testdir-fnmatch.tar.gz . > > The expected result is: > 1.

RE: [EXTERNAL] dig and host don't work in IPv6

2023-07-28 Thread Lavrentiev, Anton (NIH/NLM/NCBI) [C] via Cygwin
> Should I be doing something differently? Or is it a bug? It may be sort of a limitation (IIRC, in Cygwin's minires) but: Did you try to use options=osquery and (separate by spaces) / or options=inet6 in /etc/resolv.conf ? HTH, Anton Lavrentiev Contractor NIH/NLM/NCBI -- Problem

Re: fnmatch improvements

2023-07-28 Thread Bruno Haible via Cygwin
Corinna Vinschen wrote: > > 1. cd testdir-fnmatch-posix > > ./configure > > grep REPLACE_FNMATCH config.status > > (Expected: REPLACE_FNMATCH is 0) > > $ grep REPLACE_FNMATCH config.status > S["REPLACE_FNMATCH"]="0" > > > make > > make check > > (Expected: No

Automounter in Cygwin to mount NFS home dir on demand ?

2023-07-28 Thread Roland Mainz via Cygwin
Hi! Does Cygwin have something like a Solaris/Linux autofs-style automounter ? The idea is to mount NFS home dirs automagically the first time someone uses them, e.g. $ cd /home/chickenmonster/ # automagically mounts NFS dir mymonsternfs:/export/home/chickenmonster/ Bye, Roland --

RE: [EXTERNAL] dig and host don't work in IPv6

2023-07-28 Thread Lavrentiev, Anton (NIH/NLM/NCBI) [C] via Cygwin
> Thanks. Unfortunately neither of those options fixes the problem. Sorry... Did you try using the -d option to see what DNS servers these commands try to actually connect to (and time out, eventually). (strace can help as well, I think.) Anton Lavrentiev Contractor NIH/NLM/NCBI -- Problem

Map home dir drive (H:) to /home/myuser/ ?

2023-07-28 Thread Roland Mainz via Cygwin
Good morning! Does Cygwin have a way to map a (NFS) home dir drive (H:) to /home/myuser/, without resorting to POSIX-style softlinks ([1]) ? Example: 1. Home dir mounted on drive H: via NFS 2. How do I now map H: to /home/myuser/ ? For example Linux and Solaris use the automounter to

Entering Cygwin command line (bash login) from Windows cmd.exe ?

2023-07-28 Thread Roland Mainz via Cygwin
Hi! Is there an official way to enter the Cygwin command line (e.g. bash login) from Windows cmd.exe, e.g. if someone ssh's into a Windows machine he/she ends/up in a cmd.exe and not bash... Bye, Roland -- __ . . __ (o.\ \/ /.o) roland.ma...@nrubsig.org \__\/\/__/ MPEG

dig and host don't work in IPv6

2023-07-28 Thread Andrew Schulman via Cygwin
Our agency has started using IPv6. My PC has IPv4 and IPv6 addresses. DNS servers are all IPv6 addresses. All of this works great, except that now the host and dig commands no longer work, even with -6: $ dig -6 cygwin.com ; <<>> DiG 9.11.9 <<>> -6 cygwin.com ;; global options: +cmd ;;

Re: fnmatch improvements

2023-07-28 Thread Bruno Haible via Cygwin
Corinna Vinschen wrote: > After the above fail, I tried from scratch with your below patch, > and I still get > > $ grep REPLACE_FNMATCH ./config.status > S["REPLACE_FNMATCH"]="1" > > Even though > > $ grep fnmatch log1 > checking for fnmatch.h... yes > checking for fnmatch... yes >

Re: fnmatch improvements

2023-07-28 Thread Corinna Vinschen via Cygwin
On Jul 28 12:56, Bruno Haible via Cygwin wrote: > Corinna Vinschen wrote: > > After the above fail, I tried from scratch with your below patch, > > and I still get > > > > $ grep REPLACE_FNMATCH ./config.status > > S["REPLACE_FNMATCH"]="1" > > > > Even though > > > > $ grep fnmatch log1 >

Re: fnmatch improvements

2023-07-28 Thread Corinna Vinschen via Cygwin
On Jul 28 11:00, Corinna Vinschen via Cygwin wrote: > If we do that, I think the functions > should actually be renamed accordingly and the globbing code should use > uchar32_t rather than wint_t. s/uchar32_t/char32_t/ -- Problem reports: https://cygwin.com/problems.html FAQ:

Re: fnmatch improvements

2023-07-28 Thread Corinna Vinschen via Cygwin
On Jul 28 10:53, Corinna Vinschen via Cygwin wrote: > On Jul 27 23:40, Bruno Haible via Cygwin wrote: > > Corinna Vinschen wrote: > > > S["REPLACE_FNMATCH"]="1" > > > > > > Looks like the reason is that we don't have a uchar.h file? Seems > > > like this is of interest for AIX, but why

Re: fnmatch improvements

2023-07-28 Thread Corinna Vinschen via Cygwin
On Jul 27 23:40, Bruno Haible via Cygwin wrote: > Corinna Vinschen wrote: > > > > 4. cd testdir-fnmatch-posix > > > > ./configure 2>&1 | tee log1 > > > > make > > > > make check > > > > I fixed the above problem and the POSIX check now works fine: > > Glad that the test suite

Re: fnmatch improvements

2023-07-28 Thread Corinna Vinschen via Cygwin
On Jul 27 16:17, Brian Inglis via Cygwin wrote: > On 2023-07-27 15:22, Bruno Haible wrote: > > Brian Inglis wrote: > > > It was added in C99 TR19769, integrated in C/++11 > > > > Yes. > > > > > available in libicu-devel: > > > > > > https://cplusplus.com/reference/cuchar/ > > > > > >

Re: fnmatch improvements

2023-07-28 Thread Bruno Haible via Cygwin
Corinna Vinschen wrote: > I'm puzzled because I'm an idiot. I forgot autoreconf. Things like that happen to me as well. There are so many generation phases (collect *.m4 files; autoconf; configure; make) that it's easy to forget one when making incremental changes. It's more reliable to

error report

2023-07-28 Thread Johnnie Broadway via Cygwin
bin/iperf3.exe -c 192.168.1.233 -P 1 -i 1 -p 5201 -f g -t 10      0 [main] iperf3 17636 find_fast_cwd: WARNING: Couldn't compute FAST_CWD pointer.  Please report this problem tothe public mailing list cygwin@cygwin.com -- Problem reports: https://cygwin.com/problems.html FAQ:

Re: error report

2023-07-28 Thread cygwinautoreply--- via Cygwin
>bin/iperf3.exe -c 192.168.1.233 -P 1 -i 1 -p 5201 -f g -t 10      0 [main] >iperf3 17636 find_fast_cwd: WARNING: Couldn't compute FAST_CWD pointer.  >Please report this problem tothe public mailing list cygwin@cygwin.com

Re: [PATCH 5/5] Cygwin: add AT_EMPTY_PATH fix to release message

2023-07-28 Thread Pedro Alves
On 2023-07-12 13:08, Corinna Vinschen wrote: > +- Fix AT_EMPTY_PATH handling in fchmodat and fstatat if dirfd referres to referres -> refers

Re: [PATCH 5/5] Cygwin: add AT_EMPTY_PATH fix to release message

2023-07-28 Thread Corinna Vinschen
On Jul 28 17:11, Pedro Alves wrote: > On 2023-07-12 13:08, Corinna Vinschen wrote: > > +- Fix AT_EMPTY_PATH handling in fchmodat and fstatat if dirfd referres to > > referres -> refers Oops, sorry, too late :}

Re: chattr makes cygport slow

2023-07-28 Thread Andrew Schulman via Cygwin-apps
> On 16/07/2023 20:32, ASSI via Cygwin-apps wrote: > > Jon Turney via Cygwin-apps writes: > >> The warning (error if RESTRICT=case_insensitive) should occur for all > >> commands, not just prep. > > > > OK. > > > >> How about the attached. > > > > Looks promising. > > Ok. I made a cygport