Re: Why do these mprotect always fail?

2023-02-15 Thread Corinna Vinschen via Cygwin
cygwin-developers is for developers woking on Cygwin itself, not for developers using Cygwin to develop something else. I dropped the ML from the recipient list. And please don't top-post. Thanks. On Feb 15 09:43, w6b7rk5yu4mt25v3 via Cygwin wrote: > Almost forgot, PAGE_SIZE is set to 4096. T

Re: Fw: Re: Why do these mprotect always fail?

2023-02-15 Thread Corinna Vinschen via Cygwin
On Feb 15 11:14, w6b7rk5yu4mt25v3 via Cygwin wrote: > Corinna Vinschen wrote: > > > cygwin-developers is for developers woking on Cygwin itself, not for > > developers using Cygwin to develop something else. I dropped the ML > > from the recipient list. > > > > And please don't top-post. Thanks.

Re: Fw: Re: Why do these mprotect always fail?

2023-02-15 Thread Corinna Vinschen via Cygwin
On Feb 15 12:40, w6b7rk5yu4mt25v3 via Cygwin wrote: > On Wednesday, February 15th, 2023 at 19:13, Corinna Vinschen wrote: > > On Feb 15 11:14, w6b7rk5yu4mt25v3 via Cygwin wrote: > > > Corinna Vinschen wrote: > > > > > > > cygwin-developers is for developers woking on Cygwin itself, not for > > > >

Re: [ANNOUNCEMENT] Updated: dash 0.5.12-2

2023-02-15 Thread Corinna Vinschen via Cygwin
Hi Brian, On Feb 13 20:37, Corinna Vinschen via Cygwin wrote: > On Feb 13 12:03, Brian Inglis via Cygwin wrote: > > On 2023-02-13 10:43, ASSI via Cygwin wrote: > > > Corinna Vinschen via Cygwin writes: > > > > Can you give me an example? I'm a bit puzzled beca

Re: [ANNOUNCEMENT] Updated: dash 0.5.12-2

2023-02-15 Thread Corinna Vinschen via Cygwin
Oh, I'm an idiot. On Feb 15 14:52, Corinna Vinschen via Cygwin wrote: > Hi Brian, > [...] > The currently building cygwin test release 3.5.0-0.174.gd6d4436145b8 > contains the new code. Would you mind to build a dash for testing so we > can see if and how it works? You don&#

Re: Fw: Re: Fw: Re: Why do these mprotect always fail?

2023-02-15 Thread Corinna Vinschen via Cygwin
On Feb 15 15:31, w6b7rk5yu4mt25v3 via Cygwin wrote: > I asked the developer of the interpreter. He said it's OK to use the > PAGE_SIZE value different than 4096. So I used this dirty hack: > > #ifndef __CYGWIN__ > #define PAGE_SIZE 4096 > #endif > > This means on Cygwin it will use the default P

Re: [ANNOUNCEMENT] Updated: dash 0.5.12-2

2023-02-16 Thread Corinna Vinschen via Cygwin
Hi Brian, On Feb 15 15:31, Brian Inglis via Cygwin wrote: > On 2023-02-15 07:05, Corinna Vinschen via Cygwin wrote: > > On Feb 15 14:52, Corinna Vinschen via Cygwin wrote: > > > The currently building cygwin test release 3.5.0-0.174.gd6d4436145b8 > > > contains the n

Re: [QUERY] Help With Semaphore Error on Windows : Cygwin

2023-02-16 Thread Corinna Vinschen via Cygwin
Hi Kai, Apart from what Takashi already wrote, there's another bug in this code: On Feb 16 12:04, Yeo Kai Wei via Cygwin wrote: > #define ByteSize 512 > #define BackingFile "/shMemEx" > #define AccessPerms 0644 > #define SemaphoreName "mysemaphore" What Takas

[ANNOUNCEMENT] TEST: bash 5.2.15-1

2023-02-18 Thread Corinna Vinschen via Cygwin
The following packages have been uploaded to the Cygwin distribution: * bash-5.2.15-1 * bash-devel-5.2.15-1 This is a long overdue update of the bash shell. Given the big step in the version, this is a TEST release for now. Please give it a try. This release is based on the Fedora Linux 37 bas

[ANNOUNCEMENT] TEST: bash 5.2.15-1

2023-02-18 Thread Corinna Vinschen via Cygwin
[first announcement was a bit... incomplete...] The following packages have been uploaded to the Cygwin distribution: * bash-5.2.15-1 * bash-devel-5.2.15-1 This is a long overdue update of the bash shell. Given the big step in the version, this is a TEST release for now. Please give it a try.

[ANNOUNCEMENT] TEST: bash 5.2.15-2

2023-02-20 Thread Corinna Vinschen via Cygwin
The following packages have been uploaded to the Cygwin distribution: * bash-5.2.15-2 * bash-devel-5.2.15-2 v2: Make /usr/bin/sh.exe a hardlink to /usr/bin/bash.exe, as required. The v1 installer script accidentally created a symlink. This is a long overdue update of the bash shell. Given t

Re: [ERROR] msgget() "Function not implmented" Error : Cygwin

2023-02-28 Thread Corinna Vinschen via Cygwin
On Feb 28 18:13, Yeo Kai Wei via Cygwin wrote: > Hi Cygwin, > > May I ask if there will be an implementation of msgget() on Cygwin for > Windows? There is, for ages. However, you have to run cygserver for that to work: https://cygwin.com/cygwin-ug-net/using-cygserver.html If cygserver isn't

Re: [ANNOUNCEMENT] Test: dash 0.5.12-3 (TEST)

2023-03-02 Thread Corinna Vinschen via Cygwin
On Mar 1 16:37, Cygwin dash Co-Maintainer via Cygwin-announce via Cygwin wrote: > The following test packages have been uploaded to the Cygwin distribution: > > * dash0.5.12-3 > > This test release has been rebuilt re-enabling libc fnmatch and glob as > Cygwin/winsup/newlib now supports

Re: type mismatch on cpuset.h

2023-03-06 Thread Corinna Vinschen via Cygwin
Hi Mark, On Mar 6 07:57, Marco Atzeri via Cygwin wrote: > Hi, > > building latest gdal I noticed a type mismatch, that forced me to build > with "-fpermissive" > > on /usr/include/sys/cpuset.h > > #define CPU_ALLOC(num) __builtin_malloc (CPU_ALLOC_SIZE(num)) > > > but on > https://linu

Re: [ERROR] Locale Monetary Symbol Prints Wrongly on Windows : Cygwin

2023-03-13 Thread Corinna Vinschen via Cygwin
On Mar 13 08:40, Yeo Kai Wei via Cygwin wrote: > Hi All, > > May I ask if there's a bug with Cygwin and Windows currency? The en_ZM locale isn't yet supported by Cygwin. This will change with Cygwin 3.5.0. You can install the latest Cygwin test release 3.5.0-0.231.g93f70d7849b8 and retry. You'

Re: 'bat' for cygwin

2023-03-13 Thread Corinna Vinschen via Cygwin
On Mar 10 20:29, Thomas Wolff via Cygwin wrote: > > > Am 10.03.2023 um 19:18 schrieb marco atzeri via Cygwin: > > On Fri, Mar 10, 2023 at 6:58 PM Scott Smith via Cygwin wrote: > > > Has anyone compiled bat for cygwin64? > > > > > > If not, could it be added for consideration to be added to the >

Re: [ERROR] Locale Monetary Symbol Prints Wrongly on Windows : Cygwin

2023-03-14 Thread Corinna Vinschen via Cygwin
On Mar 14 09:30, Yeo Kai Wei via Cygwin wrote: > Hi Corinna, > > I can't update to 3.5+, I tried reinstalling using the Cygwin setup > > Using "uname -a", my current version is 3.4.6-1.x86_64. > > I assume 3.5 hasn't been released officially. > > May I know where to get the test release? In se

Re: 'kill --list' and 'kill --version' complain "not enough arguments"

2023-03-15 Thread Corinna Vinschen via Cygwin
On Mar 15 13:51, Jeremy Hetzler via Cygwin wrote: > Hello all. > > Both 'kill --list' and 'kill --version' produce a warning "not enough > arguments". > > > $ uname -a > > CYGWIN_NT-10.0-22621 DFJWVD3 3.4.6-1.x86_64 2023-02-14 13:23 UTC x86_64 > > Cygwin > > > > $ /bin/kill --list > > kill: not

Re: newlocale: Linux incompatibility

2023-03-23 Thread Corinna Vinschen via Cygwin
On Mar 23 15:48, Ken Brown via Cygwin wrote: > I'm reporting this here rather than the newlib list because the behavior is > compatible with Posix but not Linux, so I think it's a Cygwin issue. Actually, it's a Windows issue :) > Consider the following test case: > > $ cat locale_test.c > #inclu

Re: newlocale: Linux incompatibility

2023-03-24 Thread Corinna Vinschen via Cygwin
On Mar 23 22:14, Corinna Vinschen via Cygwin wrote: > On Mar 23 15:48, Ken Brown via Cygwin wrote: > > I'm reporting this here rather than the newlib list because the behavior is > > compatible with Posix but not Linux, so I think it's a Cygwin issue. > >

Re: newlocale: Linux incompatibility

2023-03-24 Thread Corinna Vinschen via Cygwin
On Mar 24 09:57, Ken Brown via Cygwin wrote: > On 3/24/2023 8:18 AM, Corinna Vinschen via Cygwin wrote: > > On Mar 23 22:14, Corinna Vinschen via Cygwin wrote: > > > On Mar 23 15:48, Ken Brown via Cygwin wrote: > > > > Consider the following test case: > &

Re: newlocale: Linux incompatibility

2023-03-25 Thread Corinna Vinschen via Cygwin
On Mar 24 16:49, Brian Inglis via Cygwin wrote: > On 2023-03-24 06:18, Corinna Vinschen via Cygwin wrote: > > > First, it's a bug in the Emacs testsuite. The test simply assumes that > > > there's no en_DE locale on any system, but that's just not true. >

Re: newlocale: Linux incompatibility

2023-03-25 Thread Corinna Vinschen via Cygwin
On Mar 25 13:03, Brian Inglis via Cygwin wrote: > On 2023-03-25 05:49, Corinna Vinschen via Cygwin wrote: > > On Mar 24 16:49, Brian Inglis via Cygwin wrote: > > I never heard about an environment variable called LANGUAGE. This is > > about LANG/LC_ALL/LC_whatever, so POS

Re: newlocale: Linux incompatibility

2023-03-25 Thread Corinna Vinschen via Cygwin
On Mar 25 13:03, Brian Inglis via Cygwin wrote: > On 2023-03-25 05:49, Corinna Vinschen via Cygwin wrote: > It looks like /proc/locales contains the same content as produced by locale > -a? Yes, locale -a actually opens /proc/locales to read the locales from the Cygwin core, just as

Re: MSG_MORE socket.h flag

2023-04-03 Thread Corinna Vinschen via Cygwin
On Apr 2 00:19, Chance via Cygwin wrote: > I've used cygwin in the past few years using the MSG_MORE flag when using > some socket functions I have no idea how you did that. MSG_MORE was never actually supported by Cygwin, and the (more or less) equivalent MSG_PARTIAL flag was never exposed into

Re: bash shell script: recently running, now failing

2023-04-06 Thread Corinna Vinschen via Cygwin
On Apr 6 04:43, Fergus Daly via Cygwin wrote: > I have a "hash bang" bash shell script i.e. first line > #! /bin/sh > or equivalently > #! /bin/bash > For various reasons I want this file to be identified as binary so its second > line > is the single character null \x00 showing up in some editor

Re: Can not stat file with utf char U+F020

2023-04-14 Thread Corinna Vinschen via Cygwin
On Apr 14 19:53, Gionatan Danti via Cygwin wrote: > Dear list, > I have an issue with unreadable files with contain utf char U+F020 (which > appear as "middle dot with some space after") in their name. > > stat on such a file results in "no such file or directory" > > From here [1] it seems that

Re: Permissions question / issue

2023-04-14 Thread Corinna Vinschen via Cygwin
On Apr 13 23:03, Eliot Moss via Cygwin wrote: > Dear cygwin'ers - > > I seem to be caught in a bind with the Cygwin permissions setup. > > ssh insists that ~/.ssh/config have permissions no less permissive than > rw--- (600). Huh? No, it doesn't, usually. My file has perms rw-r--r-- (644)

Re: Permissions question / issue

2023-04-14 Thread Corinna Vinschen via Cygwin
On Apr 14 15:43, Eliot Moss via Cygwin wrote: > On 4/14/2023 3:11 PM, Corinna Vinschen via Cygwin wrote: > > On Apr 13 23:03, Eliot Moss via Cygwin wrote: > > > Dear cygwin'ers - > > > > > > I seem to be caught in a bind with the Cygwin permissions se

Re: Permissions question / issue

2023-04-14 Thread Corinna Vinschen via Cygwin
On Apr 14 15:49, Eliot Moss via Cygwin wrote: > At present I have: > > $ getfacl id_rsa2 > # file: id_rsa2 > # owner: moss > # group: moss > user::rw- > group::--- > group:SYSTEM:r--#effective:--- > mask::--- > other::--- > > $ icacls id_rsa2 > id_rsa2 NULL SID:(DENY)(Rc,DC) > ELI

Re: Can not stat file with utf char U+F020

2023-04-14 Thread Corinna Vinschen via Cygwin
On Apr 14 13:54, Brian Inglis via Cygwin wrote: > On 2023-04-14 13:00, Corinna Vinschen via Cygwin wrote: > > On Apr 14 19:53, Gionatan Danti via Cygwin wrote: > > > [1] https://sourceware.org/legacy-ml/cygwin/2009-11/msg00043.html > > > While this patch would have

Re: Can not stat file with utf char U+F020

2023-04-14 Thread Corinna Vinschen via Cygwin
On Apr 14 22:21, Gionatan Danti via Cygwin wrote: > Il 2023-04-14 21:54 Brian Inglis ha scritto: > > UCSUR Under-ConScript Unicode Registry and its predecessor ConScript > > Unicode Registry CSUR > > > > https://www.kreativekorp.com/ucsur/ > > > > http://www.evertype.com/standards/csur/ >

Re: Can not stat file with utf char U+F020

2023-04-14 Thread Corinna Vinschen via Cygwin
On Apr 14 22:17, Gionatan Danti via Cygwin wrote: > Il 2023-04-14 21:00 Corinna Vinschen ha scritto: > > There's no (good) solution from inside Cygwin. > > [snip] > > Yeah, I can only imagine how difficult is to be compatible with posix, win32 > and the likes. > > > Any chance you can just rename

Re: Support for Windows Server 2012 until its end of life

2023-04-17 Thread Corinna Vinschen via Cygwin
On Apr 17 08:37, Max Moebius via Cygwin wrote: > Hi Brian, and thank you very much for the response! > > We read the announcement and that's why we decided to kindly ask, if the > cygwin developers team would consider to make sure, that Windows Server > 2012 (NOT R2) will be supported by cygwin un

Re: Can not stat file with utf char U+F020

2023-04-17 Thread Corinna Vinschen via Cygwin
On Apr 17 07:36, Gionatan Danti via Cygwin wrote: > Il 2023-04-14 23:01 Gionatan Danti via Cygwin ha scritto: > > Il 2023-04-14 22:25 Corinna Vinschen via Cygwin ha scritto: > > > We do that. You're just stumbling over tha fact that U+F020 is also > > >

Re: Can not stat file with utf char U+F020

2023-04-17 Thread Corinna Vinschen via Cygwin
On Apr 14 23:10, Brian Inglis via Cygwin wrote: > On 2023-04-14 14:17, Gionatan Danti via Cygwin wrote: > > Il 2023-04-14 21:00 Corinna Vinschen ha scritto: > > > There's no (good) solution from inside Cygwin. > > > Yeah, I can only imagine how difficult is to be compatible with posix, > > win32 a

Re: posix_spawn facility

2023-04-17 Thread Corinna Vinschen via Cygwin
Hi Bruno, On Apr 16 13:46, Bruno Haible via Cygwin wrote: > Hi, > > AFAIU, Cygwin has a working posix_spawn[p] implementation since 2020 > (commit 3fbfcd11fb09d5f47af3043ee47ec5c7d863d872, 2020-08-03, Cygwin 3.1.7). > [

Re: posix_spawn facility

2023-04-18 Thread Corinna Vinschen via Cygwin
Hi Bruno, On Apr 17 20:44, Bruno Haible via Cygwin wrote: > Hi Corinna, > > > > Would it be possible to change Cygwin's posix_spawnp implementation, > > > so that both tests succeed? > > > > Basically, yes, but... > > Thanks! > > > > Disclaimer: I have done my tests with Cygwin 2.9.0; so, if t

Re: wrong errno value set by readlinkat()

2023-04-18 Thread Corinna Vinschen via Cygwin
On Apr 18 12:21, Bruno Haible via Cygwin wrote: > Hi, > > When an empty path argument is passed to the readlinkat() function, > POSIX:2018 specifies that the function fails with error ENOENT: > > https://pubs.opengroup.org/onlinepubs/9699919799/functions/readlinkat.html > "These functions shall f

Re: ilogbl(NaN) is wrong

2023-04-18 Thread Corinna Vinschen via Cygwin
On Apr 18 13:21, Bruno Haible via Cygwin wrote: > POSIX [1] specifies that the return value of the functions ilogbf(), ilogb(), > ilogbl() for a NaN argument should all be the same, namely FP_ILOGBNAN. > > [1] https://pubs.opengroup.org/onlinepubs/9699919799/functions/ilogb.html > > In Cygwin 3.4

Re: renameat2 works differently than on Linux

2023-04-18 Thread Corinna Vinschen via Cygwin
Hi Bruno, On Apr 18 14:47, Bruno Haible via Cygwin wrote: > Hi, > > The renameat2 function is "Linux-specific", says the man page [1]; however, > Cygwin implements it as well. > > In Cygwin 3.4.6, in a specific case, it operates differently than the > Linux function. Namely, if the old* argument

Re: posix_spawn facility

2023-04-18 Thread Corinna Vinschen via Cygwin
Hi Eric, On Apr 18 15:49, Eric Blake via Cygwin wrote: > On Tue, Apr 18, 2023 at 11:25:11AM +0200, Corinna Vinschen via Cygwin wrote: > Jumping in to this conversation a bit belatedly, but as someone on the > Austin Group that can try to get an answer upstream... Many thanks for your in

Re: posix_spawn facility

2023-04-19 Thread Corinna Vinschen via Cygwin
On Apr 18 21:39, Eric Blake via Cygwin wrote: > On Wed, Apr 19, 2023 at 12:10:34AM +0200, Bruno Haible wrote: > > Eric Blake wrote: > > > we now have implementations in the wild that differ in behavior, and > > > use security as a reason for the divergence, it is worth getting that > > > clarified

Re: posix_spawn facility

2023-04-19 Thread Corinna Vinschen via Cygwin
Hi Bruno, On Apr 17 20:44, Bruno Haible via Cygwin wrote: > Btw, there are two more functions in the posix_spawn family meanwhile: > * posix_spawn_file_actions_addchdir_np > implemented by glibc [1], musl libc, macOS, FreeBSD [2], Solaris ≥ 11.3 > used by a few packages (Firefox, Chromiu

Re: posix_spawn_file_actions_add[f]chdir_np

2023-04-19 Thread Corinna Vinschen via Cygwin
Hi Bruno, On Apr 19 13:24, Bruno Haible via Cygwin wrote: > Hi Corinna, > > > Actually I had some spare time yesterday so I came up with an > > implementation of posix_spawn_file_actions_addchdir_np and > > posix_spawn_file_actions_addfchdir_np. It's pretty straightforward: > > > > https://cygw

Re: posix_spawn_file_actions_add[f]chdir_np

2023-04-19 Thread Corinna Vinschen via Cygwin
Hi Bruno, On Apr 19 17:05, Corinna Vinschen via Cygwin wrote: > On Apr 19 13:24, Bruno Haible via Cygwin wrote: > > Note that there is a small inconsistency between implementations: > > [...] > > Confirmed by looking at the source code: > > - musl libc: > >

Re: posix_spawn facility

2023-04-20 Thread Corinna Vinschen via Cygwin
On Apr 20 03:14, gs-cygwin.com--- via Cygwin wrote: > On Mon, Apr 17, 2023 at 08:44:51PM +0200, Bruno Haible via Cygwin wrote: > > Btw, there are two more functions in the posix_spawn family meanwhile: > > * posix_spawn_file_actions_addchdir_np > > implemented by glibc [1], musl libc, macOS,

Re: posix_spawn facility

2023-04-20 Thread Corinna Vinschen via Cygwin
On Apr 20 12:18, Bruno Haible via Cygwin wrote: > Corinna Vinschen wrote: > > Unfortunately you can't expect any noticable difference on Cygwin by > > using posix_spawn. While Cygwin has a spawn() family of functions, we > > don't (and can't... yet) use them. > > > > The problem is that we don't

Re: posix_spawn facility

2023-04-20 Thread Corinna Vinschen via Cygwin
On Apr 20 16:21, Corinna Vinschen via Cygwin wrote: > On Apr 20 12:18, Bruno Haible via Cygwin wrote: > > The "inheritable handles" is a data structure that allows for the > > arbitrary reshuffling of file descriptors required by posix_spawn > >

Re: posix_spawn facility

2023-04-20 Thread Corinna Vinschen via Cygwin
On Apr 20 16:58, Bruno Haible via Cygwin wrote: > Corinna Vinschen wrote: > > > Hmm. Your code uses lpReserved2 for that, but the functionality is > > > one implemented in MSVCRT. For obvious reasons, Cygwin executables > > > are not linked against msvcrt.dll and we're using lpReserved2 for our >

Re: Defect/Bug Ps.exe

2023-04-25 Thread Corinna Vinschen via Cygwin
On Apr 24 21:37, Sanyh Maslaev via Cygwin wrote: > Recent version ps command does not support option -o, which is widely used > in many makefiles. This option is trivial to implement and it would greatly > improve QL for me and many other users, although i ' m not into building > sygwin to fix it m

Re: Memory Barriers at pthread using CYGWIN

2023-06-22 Thread Corinna Vinschen via Cygwin
On Jun 22 19:19, Takashi Yano via Cygwin wrote: > Any suggestions? > > On Tue, 20 Jun 2023 21:53:00 +0900 > Takashi Yano wrote: > > I looked into this problem, and I think this is a problem regarding > > _my_tls initialization order, so far. This seems to happen in LDAP > > environment. > > > > M

Re: fnmatch improvements

2023-07-27 Thread Corinna Vinschen via Cygwin
Hi Bruno, On Jul 27 12:15, Bruno Haible via Cygwin wrote: > Hi, > > Gnulib has, for the first time, an fnmatch() implementation that supports > characters outside the Unicode Basic Multilingual Plane (BMP), even on Cygwin > with its 16-bits wchar_t type. That is, in an UTF-8 locale, e.g. > fnma

Re: fnmatch improvements

2023-07-27 Thread Corinna Vinschen via Cygwin
On Jul 27 20:24, Corinna Vinschen via Cygwin wrote: > On Jul 27 12:15, Bruno Haible via Cygwin wrote: > I'm looking into that. First thing, your testsuite uncovered a bug in > the latest fnmatch in the C locale. Comparing pointers instead of > comparing characters was neve

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 was

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/ > > > > > > https:

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

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

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 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. c

Re: GB18030 locale

2023-07-29 Thread Corinna Vinschen via Cygwin
On Jul 28 21:54, Bruno Haible via Cygwin wrote: > 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 (whic

Re: GB18030 locale

2023-07-31 Thread Corinna Vinschen via Cygwin
On Jul 29 11:53, Bruno Haible via Cygwin wrote: > Corinna Vinschen wrote: > > However, on debugging this, I see it's totally broken. Trying to fix > > this in the existing functions is futile. We need dedicated > > support functions for GB18030, kind of like the FreeBSD functions, > > just with e

Re: GB18030 locale

2023-07-31 Thread Corinna Vinschen via Cygwin
Hi Bruno, On Jul 31 12:07, Corinna Vinschen via Cygwin wrote: > On Jul 29 11:53, Bruno Haible via Cygwin wrote: > > Corinna Vinschen wrote: > > > However, on debugging this, I see it's totally broken. Trying to fix > > > this in the existing functions is futile.

Re: character class "alpha"

2023-07-31 Thread Corinna Vinschen via Cygwin
On Jul 31 16:06, Bruno Haible via Cygwin wrote: > Corinna Vinschen wrote: > > I have a problem with the c32isalpha function. > > > > c32isalpha fails for the character U+FF11 FULLWIDTH DIGIT ONE, > > because it expects the character to be an alphabetic character. > > This is not a big problem. Yo

Re: character class "alpha"

2023-07-31 Thread Corinna Vinschen via Cygwin
On Jul 31 19:46, Corinna Vinschen via Cygwin wrote: > On Jul 31 16:06, Bruno Haible via Cygwin wrote: > > Corinna Vinschen wrote: > > > I have a problem with the c32isalpha function. > > > > > > c32isalpha fails for the character U+FF11 FULLWIDTH DIGIT ONE, &g

Re: posix_spawn facility

2023-07-31 Thread Corinna Vinschen via Cygwin
Hi Eric, On Jul 31 13:58, Eric Blake via Cygwin wrote: > Following up on an older thread: > > On Tue, Apr 18, 2023 at 03:49:20PM -0500, Eric Blake wrote: > > The glibc bug points to the sample posix_spawn() implementation in > > POSIX XRAT - but that example implementation is non-normative and >

Re: character class "alpha"

2023-07-31 Thread Corinna Vinschen via Cygwin
Hi Bruno, On Jul 31 20:43, Bruno Haible via Cygwin wrote: > Corinna Vinschen wrote: > > there are more of those expressions which are disabled on glibc and > > fail on Cygwin, for instance in test-c32iscntrl.c. Maybe it's actually > > the better idea to disable them on Cygwin, too, rather than to

Re: character class "alpha"

2023-08-02 Thread Corinna Vinschen via Cygwin
On Aug 1 10:29, Brian Inglis via Cygwin wrote: > On 2023-07-31 15:12, Corinna Vinschen via Cygwin wrote: > > Hi Bruno, > > > > On Jul 31 20:43, Bruno Haible via Cygwin wrote: > > > Corinna Vinschen wrote: > > > > there are more of those expressions which

Re: character class "alpha"

2023-08-02 Thread Corinna Vinschen via Cygwin
On Aug 2 09:56, Corinna Vinschen via Cygwin wrote: > On Aug 1 10:29, Brian Inglis via Cygwin wrote: > > On 2023-07-31 15:12, Corinna Vinschen via Cygwin wrote: > > > Hi Bruno, > > > > > > On Jul 31 20:43, Bruno Haible via Cygwin wrote: > > > > Cor

Re: Kernel stack trace for Winows 10 blue screen when running Cygwin?

2023-08-07 Thread Corinna Vinschen via Cygwin
On Aug 7 11:29, Cedric Blancher via Cygwin wrote: > Forwarding to cygwin@cygwin.com > > Honestly I find it deeply concerning that a plain, unprivileged user > can Bluescreen a machine, and more so that it happens during normal > Cygwin usage. Same here. Cygwin is userspace only! If any call in

Re: Kernel stack trace for Winows 10 blue screen when running Cygwin?

2023-08-07 Thread Corinna Vinschen via Cygwin
On Aug 7 12:43, Cedric Blancher via Cygwin wrote: > On Mon, 7 Aug 2023 at 11:55, Corinna Vinschen > wrote: > > > > On Aug 7 11:29, Cedric Blancher via Cygwin wrote: > > > Forwarding to cygwin@cygwin.com > > > > > > Honestly I find it deeply concerning that a plain, unprivileged user > > > can B

Re: sshd_config AllowStreamLocalForwarding perm off / effectively privsep off

2023-08-07 Thread Corinna Vinschen via Cygwin
On Aug 7 22:11, Shaddy Baddah via Cygwin wrote: > Hi, > > For the current OpenSSH server (9.3p2), AllowStreamLocalForwarding > defaults on. That means both local and remote unix socket port > portforwarding are possible. > > For Cygwin, it appears the remote form of this is not possible. The >

Re: mkfifo: cannot set permissions of 'x.fifo': Not a directory

2023-08-07 Thread Corinna Vinschen via Cygwin
On Aug 7 12:26, Brian Inglis via Cygwin wrote: > On 2023-08-07 08:42, Martin Wege via Cygwin wrote: > > We get a weird mkfifo failure in Cygwin on NTFS: > > > > /usr/bin/mkfifo -m 600 x.fifo > > mkfifo: cannot set permissions of 'x.fifo': Not a directory > > This error is also reproducible with

Re: mkfifo: cannot set permissions of 'x.fifo': Not a directory

2023-08-08 Thread Corinna Vinschen via Cygwin
On Aug 7 23:14, Martin Wege via Cygwin wrote: > On Mon, Aug 7, 2023 at 9:14 PM Corinna Vinschen > wrote: > > > > On Aug 7 12:26, Brian Inglis via Cygwin wrote: > > > On 2023-08-07 08:42, Martin Wege via Cygwin wrote: > > > > We get a weird mkfifo failure in Cygwin on NTFS: > > > > > > > > /usr/b

Re: how to set mount posix=1 option for an existing bind mount?

2023-08-08 Thread Corinna Vinschen via Cygwin
On Aug 8 16:52, Cedric Blancher via Cygwin wrote: > Good afternoon! > > How do I set mount posix=1 option for an existing bind mount? mount -o > remount does not work. Did you read https://cygwin.com/cygwin-ug-net/mount.html? Mount points created by mount(1) only exist in the current user sessi

Re: mkfifo: cannot set permissions of 'x.fifo': Not a directory

2023-08-09 Thread Corinna Vinschen via Cygwin
On Aug 8 21:38, Martin Wege via Cygwin wrote: > On Tue, Aug 8, 2023 at 10:20 AM Corinna Vinschen > wrote: > > > > On Aug 7 23:14, Martin Wege via Cygwin wrote: > > > On Mon, Aug 7, 2023 at 9:14 PM Corinna Vinschen > > > wrote: > > > > > > > > On Aug 7 12:26, Brian Inglis via Cygwin wrote: > >

Re: mkfifo: cannot set permissions of 'x.fifo': Not a directory

2023-08-09 Thread Corinna Vinschen via Cygwin
On Aug 9 11:12, Martin Wege via Cygwin wrote: > On Wed, Aug 9, 2023 at 10:01 AM Corinna Vinschen > wrote: > > > > On Aug 8 21:38, Martin Wege via Cygwin wrote: > > > On Tue, Aug 8, 2023 at 10:20 AM Corinna Vinschen > > > wrote: > > > > > > > > On Aug 7 23:14, Martin Wege via Cygwin wrote: > >

Re: Cygwin breaks net use Z: /delete in scripts?

2023-08-11 Thread Corinna Vinschen via Cygwin
First of all, do not send unsolicited email to my private address. Especially, please don't use my company email address. Keep Cygwin stuff on the cygwin list. On Aug 11 10:25, Martin Wege wrote: > Hello, > > Cygwin somehow breaks unmounting of network shares, but ONLY if the > net use /delete

Re: how to set mount posix=1 option for an existing bind mount?

2023-08-14 Thread Corinna Vinschen via Cygwin
On Aug 11 17:37, Cedric Blancher via Cygwin wrote: > On Tue, 8 Aug 2023 at 20:53, Corinna Vinschen > wrote: > > > > On Aug 8 16:52, Cedric Blancher via Cygwin wrote: > > > Good afternoon! > > > > > > How do I set mount posix=1 option for an existing bind mount? mount -o > > > remount does not wo

Re: Weird (path) problems with cygwin test release 3.5.0-0.384.g9939aa7d0945.x86_64 ...

2023-08-14 Thread Corinna Vinschen via Cygwin
On Aug 11 13:36, Mainz, Roland via Cygwin wrote: > Hi! > > > > Cygwin test release 3.5.0-0.384.g9939aa7d0945.x86_64 has some weird > path problems with network filesystems on Windows 10. Previous stable > version of Cygwin (4.7.x ?) worked fine. 3.4.7 > In our case we have a project with b

Re: Weird (path) problems with cygwin test release 3.5.0-0.384.g9939aa7d0945.x86_64 ...

2023-08-14 Thread Corinna Vinschen via Cygwin
On Aug 14 19:29, Roland Mainz via Cygwin wrote: > On Mon, Aug 14, 2023 at 6:25 PM Roland Mainz wrote: > > On Mon, Aug 14, 2023 at 12:21 PM Corinna Vinschen via Cygwin > > wrote: > > > On Aug 11 13:36, Mainz, Roland via Cygwin wrote: > [snip] > > > > In our

Re: Weird (path) problems with cygwin test release 3.5.0-0.384.g9939aa7d0945.x86_64 ...

2023-08-14 Thread Corinna Vinschen via Cygwin
On Aug 14 21:42, Martin Wege via Cygwin wrote: > Maybe MinGW compat is broken in 3.5.0-0.388.g1a646ad7970a? There's no Mingw compatibility stuff in Cygwin. Mingw are just non-Cygwin binaries, just like any other native Windows tool. Corinna -- Problem reports: https://cygwin.com/problems

Re: mkfifo: cannot set permissions of 'x.fifo': Not a directory

2023-08-18 Thread Corinna Vinschen via Cygwin
On Aug 18 06:02, Martin Wege via Cygwin wrote: > On Mon, Aug 7, 2023 at 4:42 PM Martin Wege wrote: > > > > Hello, > > > > We get a weird mkfifo failure in Cygwin on NTFS: > > > > /usr/bin/mkfifo -m 600 x.fifo > > mkfifo: cannot set permissions of 'x.fifo': Not a directory > > > > Is there a known

Re: How does Cygwin detect MSFT NFSv3 file system? Re: Weird (path) problems with cygwin test release 3.5.0-0.384.g9939aa7d0945.x86_64 ...

2023-08-18 Thread Corinna Vinschen via Cygwin
On Aug 17 20:49, Martin Wege via Cygwin wrote: > On Mon, Aug 14, 2023 at 10:56 PM Corinna Vinschen via Cygwin > wrote: > > and the result is the same. Note that Cygwin supports MSFT NFSv3 but > > not CITI NFSv4.1 internally. No gurantee that Cygwin always does what > &g

Re: Persistent and same Cygwin session for Windows login and ssh login?

2023-08-18 Thread Corinna Vinschen via Cygwin
On Aug 17 19:30, Cedric Blancher via Cygwin wrote: > Good evening! > > How can I get a Cygwin session for one Windows login, and get the same > Cygwin session when I log into the same Windows machine via ssh? You can't. Windows isolates sessions from each other. > Also, where does Cygwin store

Re: Cygwin openssh AllowGroups

2023-08-18 Thread Corinna Vinschen via Cygwin
On Aug 17 21:11, Dale Lobb via Cygwin wrote: > Is there a known issue in Cygwin's implementation of openssh in the > AllowGroups clause of sshd_config? I cannot get it to work. It should work, just as AllowUsers. Maybe you should run clinet and/or server with debugging on, to see what it doe

Re: Cygwin console: Different default background color when terminal runs as Admin?

2023-08-18 Thread Corinna Vinschen via Cygwin
On Aug 18 11:51, Martin Wege via Cygwin wrote: > On Fri, Aug 18, 2023 at 7:27 AM Jonathon Merz via Cygwin > wrote: > > > > On Thu, Aug 17, 2023 at 7:13 PM Martin Wege via Cygwin > > wrote: > > > > > Just an idea: Could the default background color of the Cygwin console > > > be changed from black

Re: Persistent and same Cygwin session for Windows login and ssh login?

2023-08-18 Thread Corinna Vinschen via Cygwin
On Aug 18 12:23, Thomas Wolff via Cygwin wrote: > > > Am 18.08.2023 um 10:47 schrieb Corinna Vinschen via Cygwin: > > On Aug 17 19:30, Cedric Blancher via Cygwin wrote: > > > Good evening! > > > > > > How can I get a Cygwin session for one Windows lo

Re: mkfifo: cannot set permissions of 'x.fifo': Not a directory

2023-08-21 Thread Corinna Vinschen via Cygwin
On Aug 21 06:49, Cedric Blancher via Cygwin wrote: > On Fri, 18 Aug 2023 at 10:35, Corinna Vinschen via Cygwin > wrote: > > > > On Aug 18 06:02, Martin Wege via Cygwin wrote: > > > On Mon, Aug 7, 2023 at 4:42 PM Martin Wege > > > wrote: > > > &g

Re: scp stalls on uploading in cygwin 3.5 current master.

2023-08-24 Thread Corinna Vinschen via Cygwin
On Aug 24 12:31, Takashi Yano via Cygwin wrote: > On Thu, 24 Aug 2023 06:05:02 +0900 > Takashi Yano wrote: > > Hi Corinna, > > > > After the commit dedbbd74d0a8, "scp file server:." stalls. > > I confirmed this when the "server" is a Linux machine. > > The problem does not occur if it is reverted.

Re: can't compile coreutils-9.3 any more after upgrade to cygwin-3.4.8

2023-08-25 Thread Corinna Vinschen via Cygwin
On Aug 24 14:39, Mark Geisert via Cygwin wrote: > Hi Denis, > > Thanks for the report. More below... > > Denis Excoffier via Cygwin wrote: > > Hello, > > When i try to compile coreutils-9.3 under cygwin-3.4.8 i get the following > > error messages (see below). > > There seems to be a kind of lo

Re: Test for Windows Administrator permissions from Cygwin terminal|script?

2023-08-25 Thread Corinna Vinschen via Cygwin
On Aug 24 18:24, Martin Wege via Cygwin wrote: > On Sat, Aug 19, 2023 at 10:15 AM ASSI via Cygwin wrote: > > > > Martin Wege via Cygwin writes: > > > How can I find out whether the current Cygwin terminal has > > > Administrator rights? I want to safeguard our admin scripts with a > > > simple tes

Re: scp stalls on uploading in cygwin 3.5 current master.

2023-08-25 Thread Corinna Vinschen via Cygwin
On Aug 25 17:48, Takashi Yano via Cygwin wrote: > On Thu, 24 Aug 2023 10:59:33 +0200 > Corinna Vinschen wrote: > > > I'm not sure why at all, however, the following patch seems to > > > solve the issue. > > > > > > diff --git a/winsup/cygwin/select.cc b/winsup/cygwin/select.cc > > > index 7b947384

Re: How to fix |mkfifo()| failure if |pathname| is on NFS ? / was: Re: [EXTERNAL] Re: mkfifo: cannot set permissions of 'x.fifo': Not a directory

2023-08-25 Thread Corinna Vinschen via Cygwin
On Aug 23 01:05, Roland Mainz via Cygwin wrote: > Note that Cygwin does not interpret the file |myfifo.fifo| as FIFO, > instead it comes back as a symlink "myfifo.fifo -> ':\0:c4:1000'". > > AFAIK there are (at least) these two options to fix the problems: > 1. Check whether the filesystem for the

Re: [EXTERNAL] Re: scp stalls on uploading in cygwin 3.5 current master.

2023-08-25 Thread Corinna Vinschen via Cygwin
On Aug 25 12:08, Lavrentiev, Anton (NIH/NLM/NCBI) [C] via Cygwin wrote: > > I don't have an answer to this problem yet. > > > > Can we use send(sock, "", 0) to reenable FD_WRITE, perhaps? > > Can't it just be assumed that the socket is _always_ writeable _unless_ the > last send() failed? > In o

Re: How to fix |mkfifo()| failure if |pathname| is on NFS ? / was: Re: [EXTERNAL] Re: mkfifo: cannot set permissions of 'x.fifo': Not a directory

2023-08-25 Thread Corinna Vinschen via Cygwin
On Aug 25 14:18, Corinna Vinschen via Cygwin wrote: > On Aug 23 01:05, Roland Mainz via Cygwin wrote: > > 2. Check whether the filesystem for the fifos path is NFS > > (cgywin.dll's |fs.fs_is_nfs()|), and then just refuse |mkfifo()| with > > |ENOSYS| (not implemented) &g

Re: [EXTERNAL] Re: scp stalls on uploading in cygwin 3.5 current master.

2023-08-25 Thread Corinna Vinschen via Cygwin
On Aug 25 14:23, Corinna Vinschen via Cygwin wrote: > On Aug 25 12:08, Lavrentiev, Anton (NIH/NLM/NCBI) [C] via Cygwin wrote: > > > I don't have an answer to this problem yet. > > > > > > Can we use send(sock, "", 0) to reenable FD_WRITE, perhaps? >

Re: [EXTERNAL] Re: scp stalls on uploading in cygwin 3.5 current master.

2023-08-26 Thread Corinna Vinschen via Cygwin
On Aug 25 23:27, Lavrentiev, Anton (NIH/NLM/NCBI) [C] via Cygwin wrote: > > While select indicates that > > data can be written, it doesn't indicate how much data can be written. > > I. e., if select returns, and there's only buffer space for 10 bytes, > > and the send call tries to send 100 bytes,

Re: can't compile coreutils-9.3 any more after upgrade to cygwin-3.4.8

2023-08-26 Thread Corinna Vinschen via Cygwin
On Aug 25 22:50, Mark Geisert via Cygwin wrote: > Hi Corinna, > > Corinna Vinschen via Cygwin wrote: > > On Aug 24 14:39, Mark Geisert via Cygwin wrote: > > > Denis Excoffier via Cygwin wrote: > > > > Hello, > > > > When i try to co

Re: How to fix |mkfifo()| failure if |pathname| is on NFS ? / was: Re: [EXTERNAL] Re: mkfifo: cannot set permissions of 'x.fifo': Not a directory

2023-08-26 Thread Corinna Vinschen via Cygwin
On Aug 26 13:26, Cedric Blancher via Cygwin wrote: > On Fri, 25 Aug 2023 at 14:26, Corinna Vinschen via Cygwin > wrote: > > > > On Aug 25 14:18, Corinna Vinschen via Cygwin wrote: > > > On Aug 23 01:05, Roland Mainz via Cygwin wrote: > > > > 2. Check wheth

<    1   2   3   4   5   6   7   8   >