Re: binutils >= 2.41 makes .rsrc section read-only

2024-02-21 Thread Corinna Vinschen via Cygwin
On Feb 21 09:27, Corinna Vinschen via Cygwin wrote: > On Feb 20 21:39, Jeremy Drake via Cygwin wrote: > > On Tue, 20 Feb 2024, Corinna Vinschen wrote: > > > > > On Feb 19 21:41, Jeremy Drake via Cygwin wrote: > > > > 1) is there actually a good reason

Re: Switching groups with newgrp - how to get the new group with |GetTokenInformation()| ?

2024-02-22 Thread Corinna Vinschen via Cygwin
On Feb 22 18:38, Roland Mainz via Cygwin wrote: > Hi! > > > > If I switch the current user's group with /usr/bin/newgrp, how can a > (native) Win32 process use > |GetTokenInformation(GetCurrentThreadToken(), ...)| to find out which > group is the new "current group" (e.g. which |TokenInforma

Re: BUG: Cygwin getent group refuses to list group added with net localgroup mygrp1 /add

2024-02-23 Thread Corinna Vinschen via Cygwin
On Feb 23 09:10, Dan Shelton via Cygwin wrote: > On Tue, 20 Feb 2024 at 21:45, Corinna Vinschen via Cygwin > wrote: > > > > On Feb 20 17:24, Dan Shelton via Cygwin wrote: > > > On Tue, 20 Feb 2024 at 10:57, Corinna Vinschen via Cygwin > > > wrote: > > &g

Re: Switching groups with newgrp - how to get the new group with |GetTokenInformation()| ?

2024-02-23 Thread Corinna Vinschen via Cygwin
On Feb 23 14:03, Roland Mainz via Cygwin wrote: > On Thu, Feb 22, 2024 at 8:11 PM Corinna Vinschen via Cygwin > wrote: > > On Feb 22 18:38, Roland Mainz via Cygwin wrote: > > > If I switch the current user's group with /usr/bin/newgrp, how can a > &

Re: Switching groups with newgrp - how to get the new group with |GetTokenInformation()| ?

2024-02-24 Thread Corinna Vinschen via Cygwin
On Feb 23 19:45, Roland Mainz via Cygwin wrote: > On Fri, Feb 23, 2024 at 4:47 PM Corinna Vinschen via Cygwin > wrote: > > On Feb 23 14:03, Roland Mainz via Cygwin wrote: > > > Do you have any idea what is going wrong in this case ? > > > > Not sure about th

Re: Switching groups with newgrp - how to get the new group with |GetTokenInformation()| ?

2024-02-24 Thread Corinna Vinschen via Cygwin
On Feb 23 22:15, Dan Shelton via Cygwin wrote: > HOWEVER, there is another Cygwin bug: > "getent group mywingrp1" does not list any group members, even after > "net localgroup mywingrp1 mywinuser44 /add", which is a POSIX > violation. Not a bug. Two problems: - Getting members of a group can be

Re: Will all SIDs fit into |SECURITY_MAX_SID_SIZE| bytes ? / was: Re: Switching groups with newgrp - how to get the new group with |GetTokenInformation()| ?

2024-02-24 Thread Corinna Vinschen via Cygwin
On Feb 24 15:38, Roland Mainz via Cygwin wrote: > On Thu, Feb 22, 2024 at 8:11 PM Corinna Vinschen via Cygwin > wrote: > > On Feb 22 18:38, Roland Mainz via Cygwin wrote: > > > If I switch the current user's group with /usr/bin/newgrp, how can a > &

Re: passwd/group/grent fixes for Cygwin 3.5.1?

2024-02-26 Thread Corinna Vinschen via Cygwin
On Feb 26 04:44, Dan Shelton via Cygwin wrote: > Hello! > > Can these 3 commits please be backported to the Cygwin 3.5.1 branch? > > 4 days agoCorinna VinschenCygwin: getgrent/getpwent: avoid local > enumeration...commit | commitdiff | tree > 4 days agoCorinna VinschenCygwin: getgrent: fix local

Re: Will all SIDs fit into |SECURITY_MAX_SID_SIZE| bytes ? / was: Re: Switching groups with newgrp - how to get the new group with |GetTokenInformation()| ?

2024-02-26 Thread Corinna Vinschen via Cygwin
On Feb 25 22:04, Roland Mainz via Cygwin wrote: > On Sat, Feb 24, 2024 at 7:57 PM Corinna Vinschen via Cygwin > wrote: > > > > On Feb 24 15:38, Roland Mainz via Cygwin wrote: > > > On Thu, Feb 22, 2024 at 8:11 PM Corinna Vinschen via Cygwin > > > wrote: >

Re: cygwin1.dll 3.5.0-1 appears to cause spurious "error 127" with make 4.4.1

2024-02-26 Thread Corinna Vinschen via Cygwin
On Feb 26 17:34, Dimitry Andric via Cygwin wrote: > Hi, > > After a recent upgrade of a Cygwin installation, including cygwin1.dll > (see https://cygwin.com/pipermail/cygwin/2024-February/255308.html) to > 3.5.0-1, I now get spurious "error 127" messages from (Cygwin's copy of) > GNU make 4.4.1-2,

Re: cygwin1.dll 3.5.0-1 appears to cause spurious "error 127" with make 4.4.1

2024-02-26 Thread Corinna Vinschen via Cygwin
On Feb 26 20:08, Dimitry Andric via Cygwin wrote: > On 26 Feb 2024, at 20:03, Corinna Vinschen wrote: > > > > On Feb 26 17:34, Dimitry Andric via Cygwin wrote: > >> Hi, > >> > >> After a recent upgrade of a Cygwin installation, including cygwin1.dll > >> (see https://cygwin.com/pipermail/cygwin/

Re: passwd/group/grent fixes for Cygwin 3.5.1?

2024-02-27 Thread Corinna Vinschen via Cygwin
On Feb 27 04:21, Dan Shelton via Cygwin wrote: > On Mon, 26 Feb 2024 at 10:18, Corinna Vinschen via Cygwin > wrote: > > > > On Feb 26 04:44, Dan Shelton via Cygwin wrote: > > > Hello! > > > > > > Can these 3 commits please be backported to the Cygwi

Re: How can I get the group SID for a file in cmd.exe (powershell is not an option)?

2024-02-27 Thread Corinna Vinschen via Cygwin
On Feb 27 15:41, Cedric Blancher via Cygwin wrote: > Good afternoon! > > How can I get the group SID for a file in cmd.exe (powershell is not an > option)? > Is it possible to add an option to ls -l to list the user/group SIDs too? No, but you can use Cygwin tools: getent -w group $(ls -gn foo

Re: openat(O_DIRECT) supported in Cygwin?

2024-02-28 Thread Corinna Vinschen via Cygwin
On Feb 27 17:46, Martin Wege via Cygwin wrote: > Hello, > > Does Cygwin support openat(O_DIRECT)? Which effect does O_DIRECT in > Cygwin have, and which underlying Windows API is used? https://cygwin.com/cgit/newlib-cygwin/tree/winsup/cygwin/fhandler/base.cc#n587 Corinna -- Problem reports:

Re: UNIX nobody/nogroup mapping to which Windows SID/account?

2024-03-04 Thread Corinna Vinschen via Cygwin
On Mar 3 14:45, Martin Wege via Cygwin wrote: > Hello, > > How can we map UNIX "nobody"/"nogroup" to Win32 SIDs/accounts? Cygwin > has entries for "nobody" in /etc/passwd and "nogroup" in /etc/group, > but these accounts have SIDs returned by /usr/bin/getent passwd and > /usr/bin/getent group whi

Re: Switching groups with newgrp - how to get the new group with |GetTokenInformation()| ?

2024-03-06 Thread Corinna Vinschen via Cygwin
On Mar 5 23:38, Dan Shelton via Cygwin wrote: > On Sat, 24 Feb 2024 at 14:11, Corinna Vinschen via Cygwin > wrote: > > > > On Feb 23 22:15, Dan Shelton via Cygwin wrote: > > > HOWEVER, there is another Cygwin bug: > > > "getent group mywingrp1&quo

Re: ls/stat on OneDrive causes download of files

2024-03-06 Thread Corinna Vinschen via Cygwin
On Mar 5 19:54, Marcin Wisnicki via Cygwin wrote: > If I invoke ls or anything else that does stat inside OneDrive folder > it will trigger download of all files. > > OneDrive uses placeholder files[1] to represent remote files. > > I'm guessing reading file content in stat is to support detecti

Re: ls/stat on OneDrive causes download of files

2024-03-06 Thread Corinna Vinschen via Cygwin
On Mar 6 14:22, Corinna Vinschen via Cygwin wrote: > On Mar 5 19:54, Marcin Wisnicki via Cygwin wrote: > > If I invoke ls or anything else that does stat inside OneDrive folder > > it will trigger download of all files. > > > > OneDrive uses placeholder files[1

Re: ls/stat on OneDrive causes download of files

2024-03-06 Thread Corinna Vinschen via Cygwin
On Mar 6 06:54, Brian Inglis via Cygwin wrote: > On 2024-03-06 06:28, Corinna Vinschen via Cygwin wrote: > > On Mar 6 14:22, Corinna Vinschen via Cygwin wrote: > > > Given these placeholder files are actually reparse points of type > > > IO_REPARSE_TAG_FILE_PLACEHO

Re: ls/stat on OneDrive causes download of files

2024-03-06 Thread Corinna Vinschen via Cygwin
On Mar 6 18:19, Corinna Vinschen via Cygwin wrote: > On Mar 6 06:54, Brian Inglis via Cygwin wrote: > > On 2024-03-06 06:28, Corinna Vinschen via Cygwin wrote: > > > On Mar 6 14:22, Corinna Vinschen via Cygwin wrote: > > > > Given these placeholder files are a

Re: ls/stat on OneDrive causes download of files

2024-03-06 Thread Corinna Vinschen via Cygwin
Hi Jeffrey, looks like writing our mails overlapped: https://cygwin.com/pipermail/cygwin/2024-March/255622.html On Mar 6 13:55, Jeffrey Altman via Cygwin wrote: > On 3/6/2024 12:19 PM, Corinna Vinschen via Cygwin wrote: > > We can add an explici

Re: ls/stat on OneDrive causes download of files

2024-03-07 Thread Corinna Vinschen via Cygwin
Hi Jeffrey, apart from the attribute stuff... On Mar 6 13:55, Jeffrey Altman via Cygwin wrote: > The default ProcessPlaceholderCompaibilityMode is PHCM_EXPOSE_PLACEHOLDERS > which makes the FILE_ATTRIBUTE flags and reparse tags visible. Microsoft > maintains a database of processes for which P

Re: ls/stat on OneDrive causes download of files

2024-03-08 Thread Corinna Vinschen via Cygwin
Hi Jeffrey, On Mar 6 13:55, Jeffrey Altman via Cygwin wrote: > On 3/6/2024 12:19 PM, Corinna Vinschen via Cygwin wrote: > > We can add an explicit call to > > > >RtlSetProcessPlaceholderCompatibilityMode (PHCM_EXPOSE_PLACEHOLDERS); > > [...] > Files and dir

Re: ls/stat on OneDrive causes download of files

2024-03-08 Thread Corinna Vinschen via Cygwin
On Mar 8 08:15, Jeffrey Altman via Cygwin wrote: > On 3/8/2024 7:52 AM, Thomas Wolff via Cygwin wrote: > > Am 08.03.2024 um 11:37 schrieb Corinna Vinschen via Cygwin: > > > Yesterday I stumbled over a certain NtCreateFile flag: > > > > > >

Re: ls/stat on OneDrive causes download of files

2024-03-08 Thread Corinna Vinschen via Cygwin
On Mar 8 14:56, Corinna Vinschen via Cygwin wrote: > On Mar 8 08:15, Jeffrey Altman via Cygwin wrote: > > On 3/8/2024 7:52 AM, Thomas Wolff via Cygwin wrote: > > > Am 08.03.2024 um 11:37 schrieb Corinna Vinschen via Cygwin: > > > >    FILE_OPEN_NO_RECALL (0x004000

Re: Switching groups with newgrp - how to get the new group with |GetTokenInformation()| ?

2024-03-11 Thread Corinna Vinschen via Cygwin
On Mar 9 16:26, Glenn Strauss via Cygwin wrote: > On Wed, Mar 06, 2024 at 02:01:06PM +0100, Corinna Vinschen via Cygwin wrote: > > On Mar 5 23:38, Dan Shelton via Cygwin wrote: > > > On Sat, 24 Feb 2024 at 14:11, Corinna Vinschen via Cygwin > > > wrote: > >

Re: Switching groups with newgrp - how to get the new group with |GetTokenInformation()| ?

2024-03-11 Thread Corinna Vinschen via Cygwin
On Mar 11 02:28, Dan Shelton via Cygwin wrote: > On Wed, 6 Mar 2024 at 14:01, Corinna Vinschen via Cygwin > wrote: > > On Mar 5 23:38, Dan Shelton via Cygwin wrote: > > > Always editing /etc/nsswitch.conf > > > forth and back is not a elegant solution, aside from ra

Re: ls/stat on OneDrive causes download of files

2024-03-11 Thread Corinna Vinschen via Cygwin
On Mar 9 15:29, Marcin Wisnicki via Cygwin wrote: > I did more testing and found out that the problem does not happen in > cygwin by default because cygwin mounts with acl which doesn't do > header sniffing while msys uses noacl. > > Testing on an mp4 file in OneDrive, when I use noacl in cygwin

Re: Request for a rough release timeline for Cygwin 3.5.2

2024-03-11 Thread Corinna Vinschen via Cygwin
On Mar 11 11:48, Kate Deplaix via Cygwin wrote: > Hi, > > Sorry to bother you all, > > Following the fixes (thank you so much again) of the two critical > issues in cygwin 3.5.0/3.5.1 > https://cygwin.com/pipermail/cygwin/2024-February/255561.html , we > were wondering if cygwin 3.5.2 is likely t

Re: Additional odd behavior after my upgrade to the latest CYGWIN64 version

2024-03-18 Thread Corinna Vinschen via Cygwin
On Mar 16 16:49, Michael Goldshteyn via Cygwin wrote: > Cygwin handles (filename) case insensitivity in a very weird way at the > Windows command prompt: > -- > c:\Users\Michael>set CYGWIN= > > c:\Users\Michael>printf "%q " 'a' 'A' "a" "A" a A > a A a A a A > > REM OK,

Re: ACEs and ACLs

2024-03-18 Thread Corinna Vinschen via Cygwin
On Mar 16 18:05, J. Terry Corbet via Cygwin wrote: > [...] > And here is the status that icacls reports back on the original, owning > workstation > after having use vim to modify the two files from that remote workstation. > > FileExp.txt NULL SID:(DENY)(Rc,S,REA,WEA,X,DC) >     NW10\tcor

Re: ACEs and ACLs

2024-03-18 Thread Corinna Vinschen via Cygwin
On Mar 18 08:30, J. Terry Corbet via Cygwin wrote: > Thank you for the greatly needed assistance, but the reference to which you > have pointed me says that noacl will be ignored in the case of ntfs file > systems. No, it doesn't say that. It says "The flag is ignored on NFS filesystems."

Re: ACEs and ACLs

2024-03-18 Thread Corinna Vinschen via Cygwin
On Mar 18 09:23, J. Terry Corbet via Cygwin wrote: > > Sorry, 84-yr old eyes sometimes don't work as well.  Thanks for confirming > that  nothing has changed with regards to these matters; clearly it is some > change in the way Windows 11 tries to cooperate with Windows 10 in the case > of mapped

Re: No Win ACLs for NFS? Re: ACEs and ACLs

2024-03-19 Thread Corinna Vinschen via Cygwin
On Mar 19 08:55, Cedric Blancher via Cygwin wrote: > On Mon, 18 Mar 2024 at 15:43, Corinna Vinschen via Cygwin > wrote: > > > > On Mar 18 08:30, J. Terry Corbet via Cygwin wrote: > > > Thank you for the greatly needed assistance, but the reference to which > >

Re: GetVersionEx() depreciated, what should be used instead for Windows 7/8/10?

2024-03-19 Thread Corinna Vinschen via Cygwin
On Mar 19 09:18, Bill Stewart via Cygwin wrote: > On Tue, Mar 19, 2024 at 9:01 AM Richard Campbell wrote: > > On Tue, Mar 19, 2024 at 9:04 AM Bill Stewart via Cygwin > > wrote: > > > > > Can you please clarify the circumstances under which the RtlGetVersion > > > function "may not return the corr

Re: GetVersionEx() depreciated, what should be used instead for Windows 7/8/10?

2024-03-20 Thread Corinna Vinschen via Cygwin
On Mar 20 12:39, Christian Franke via Cygwin wrote: > Corinna Vinschen via Cygwin wrote: > > You have to create an application with an application manifest not > > supporting your OS. > > > > For Cygwin apps, this occured when you built, say, an executable under > &

Re: GetVersionEx() depreciated, what should be used instead for Windows 7/8/10?

2024-03-21 Thread Corinna Vinschen via Cygwin
On Mar 21 09:58, Christian Franke via Cygwin wrote: > Corinna Vinschen via Cygwin wrote: > > On Mar 20 12:39, Christian Franke via Cygwin wrote: > > > Corinna Vinschen via Cygwin wrote: > > > > You have to create an application with an application manifest

sourceware test, please ignore

2024-03-21 Thread Corinna Vinschen via Cygwin
someproc 1234 find_fast_cwd: WARNING: Couldn't compute FAST_CWD pointer. Please report this problem to the public mailing list cygwin@cygwin.com -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation:https://cygwin.com/docs.

Re: GetVersionEx() depreciated, what should be used instead for Windows 7/8/10?

2024-03-23 Thread Corinna Vinschen via Cygwin
On Mar 22 18:13, Ray Satiro via Cygwin wrote: > On 3/21/2024 11:15 AM, Corinna Vinschen via Cygwin wrote: > >https://cygwin.com/cgit/newlib-cygwin/commit/?id=48511f3d3847c > > The code in that commit doesn't look right. RtlGetNtVersionNumbers is a void > function The

Re: GetVersionEx() depreciated, what should be used instead for Windows 7/8/10?

2024-03-23 Thread Corinna Vinschen via Cygwin
On Mar 23 10:57, Christian Franke via Cygwin wrote: > On Mar 21 16:15, Corinna Vinschen via Cygwin wrote: > > On Mar 21 09:58, Christian Franke via Cygwin wrote: > > > > > .. > > I just gave it a try on W11. The results are even more funny than I > > anticip

Re: GetVersionEx() depreciated, what should be used instead for Windows 7/8/10?

2024-03-24 Thread Corinna Vinschen via Cygwin
On Mar 24 15:42, Christian Franke via Cygwin wrote: > Corinna Vinschen via Cygwin wrote: > > On Mar 23 10:57, Christian Franke via Cygwin wrote: > > > On Mar 21 16:15, Corinna Vinschen via Cygwin wrote: > > > > On Mar 21 09:58, Christian Franke via Cygwin wrote: &

Re: xargs completely broken under cygwin 3.6.0-0.108.gb7f5a33200a9

2024-04-02 Thread Corinna Vinschen via Cygwin
On Apr 2 01:42, Bruce Jerrick via Cygwin wrote: > I just did binary-search regression tests on the available > old test versions, and found this: > > OK:  cygwin-3.6.0-0.86.gbfe2790e7bc4.tar.xz > BAD: cygwin-3.6.0-0.92.g8bd6ba8f16ec.tar.xz Thanks, I found the offending patch, but I have to think

Re: xargs completely broken under cygwin 3.6.0-0.108.gb7f5a33200a9

2024-04-02 Thread Corinna Vinschen via Cygwin
On Apr 2 12:44, Corinna Vinschen via Cygwin wrote: > On Apr 2 01:42, Bruce Jerrick via Cygwin wrote: > > I just did binary-search regression tests on the available > > old test versions, and found this: > > > > OK:  cygwin-3.6.0-0.86.gbfe2790e7bc4.tar.xz

Re: Cygwin&Win32 file prefetch, block sizes?

2024-04-02 Thread Corinna Vinschen via Cygwin
On Apr 2 02:04, Martin Wege via Cygwin wrote: > Hello, > > Is there any document which describes how Cygwin and Win32 file > prefetch and readahead work, and which sizes are used (e.g. always > read one full page even if only 16 bytes are requested?)? I'm not aware of any docs, but again, keep i

Re: xargs completely broken under cygwin 3.6.0-0.108.gb7f5a33200a9

2024-04-02 Thread Corinna Vinschen via Cygwin
On Apr 2 08:38, Bruce Jerrick via Cygwin wrote: > 'xargs' is back to working with cygwin-3.6.0-0.109.ga0a25849f9dd . > > Thanks for the quick fix! > -- Bruce Thanks for the report and testing! Corinna -- Problem reports: https://cygwin.com/problems.html FAQ: https://cyg

Re: Cygwin&Win32 file prefetch, block sizes?

2024-04-03 Thread Corinna Vinschen via Cygwin
On Apr 3 00:35, Martin Wege via Cygwin wrote: > On Tue, Apr 2, 2024 at 3:17 PM Corinna Vinschen via Cygwin > wrote: > > > > On Apr 2 02:04, Martin Wege via Cygwin wrote: > > > Hello, > > > > > > Is there any document which describes how Cygwin and

Re: Implementing /bin/ionice, ioprio_set() support with FILE_IO_PRIORITY_HINT_INFO?

2024-04-03 Thread Corinna Vinschen via Cygwin
On Apr 3 03:51, Martin Wege via Cygwin wrote: > Hello, > > could Cygwin implement support for /usr/bin/ionice and ioprio_set() > via FILE_IO_PRIORITY_HINT_INFO? Not ionice, the tool, but only ioprio_get/ioprio_set, the API. The problem is the functionality bit allowing to set the priority in ar

Re: Cygwin&Win32 file prefetch, block sizes?

2024-04-03 Thread Corinna Vinschen via Cygwin
On Apr 3 10:14, Corinna Vinschen via Cygwin wrote: > > https://learn.microsoft.com/en-us/windows-hardware/drivers/ddi/ntddk/ns-ntddk-_file_fs_sector_size_information > > If the filesystem is local and SSINFO_FLAGS_NO_SEEK_PENALTY is set, we > could stick to 64K. >

Re: cygwin 3.5.3-1 : "Device or resource busy" from 'find {pagefile,swapfile}.sys'

2024-04-04 Thread Corinna Vinschen via Cygwin
Hi Bruce, On Apr 4 07:22, Bruce Jerrick via Cygwin wrote: > As of cygwin 3.5.3-1, 'find' reports "Device or resource busy" and > exits with status 1 on these two files: > >   $ find /cygdrive/c/{pagefile,swapfile}.sys >   /cygdrive/c/pagefile.sys >   find: ‘/cygdrive/c/pagefile.sys’: Device or r

Re: 3.5.x regression: misquoting command line arguments from native processes

2024-04-09 Thread Corinna Vinschen via Cygwin
Hi David, On Apr 3 16:53, David Allsopp via Cygwin wrote: > I have what appears to be a regression in Cygwin 3.5.0 which, owing to > a CI system lagging behind, we've only just discovered. > [...] > $ ./t.exe 'C:\Devel\🐫реализация-mingw64\flexdll\flexdll_mingw64.o' > stat: cannot stat > '"C:\Deve

Re: Win32 FILE_BASIC_INFORMATION.*Time.QuadPart - which value should be used if filesystem does not support it, so Cygwin /usr/bin/stat lists the value as '-'?

2024-04-09 Thread Corinna Vinschen via Cygwin
On Apr 5 04:26, Martin Wege via Cygwin wrote: > On Fri, Apr 5, 2024 at 2:05 AM Martin Wege wrote: > > > > Hello, > > > > I have problems with debugging, so a quick help would be appreciated, > > as I cannot figure this out after several hours of digging. > > > > Cygwin /usr/bin/stat returns "Birt

Re: Win32 FILE_BASIC_INFORMATION.*Time.QuadPart - which value should be used if filesystem does not support it, so Cygwin /usr/bin/stat lists the value as '-'?

2024-04-10 Thread Corinna Vinschen via Cygwin
On Apr 9 22:30, Brian Inglis via Cygwin wrote: > On 2024-04-09 15:14, Corinna Vinschen via Cygwin wrote: > > On Apr 5 04:26, Martin Wege via Cygwin wrote: > > > On Fri, Apr 5, 2024 at 2:05 AM Martin Wege > > > wrote: > > > > I have problems with debuggin

Re: 3.5.x regression: misquoting command line arguments from native processes

2024-04-18 Thread Corinna Vinschen via Cygwin
Hi David, On Apr 9 22:38, Corinna Vinschen via Cygwin wrote: > On Apr 3 16:53, David Allsopp via Cygwin wrote: > > I have what appears to be a regression in Cygwin 3.5.0 which, owing to > > a CI system lagging behind, we've only just discovered. > > [...] > >

Re: 3.5.x regression: misquoting command line arguments from native processes

2024-04-22 Thread Corinna Vinschen via Cygwin
Hi David, On Apr 20 08:43, David Allsopp via Cygwin wrote: > Hi Corinna, > > > On Apr 9 22:38, Corinna Vinschen via Cygwin wrote: > > > On Apr 3 16:53, David Allsopp via Cygwin wrote: > > > > I have what appears to be a regression in Cygwin 3.5.0 which, owi

Re: /usr/bin/sg in Cygwin?

2024-04-22 Thread Corinna Vinschen via Cygwin
On Apr 21 21:35, Eliot Moss via Cygwin wrote: > On 4/21/2024 7:20 PM, Dan Shelton via Cygwin wrote: > > On Sat, 20 Apr 2024 at 07:39, Brian Inglis via Cygwin > > wrote: > > > > > > On 2024-04-19 17:47, Dan Shelton via Cygwin wrote: > > > > On Fri, 23 Feb 2024 at 22:25, Dan Shelton wrote: > > > >

Re: /usr/bin/sg in Cygwin?

2024-04-22 Thread Corinna Vinschen via Cygwin
On Apr 22 07:55, Cedric Blancher via Cygwin wrote: > On Mon, 22 Apr 2024 at 01:20, Dan Shelton via Cygwin > wrote: > > > > On Sat, 20 Apr 2024 at 07:39, Brian Inglis via Cygwin > > wrote: > > > > > > On 2024-04-19 17:47, Dan Shelton via Cygwin wrote: > > > > On Fri, 23 Feb 2024 at 22:25, Dan Sh

Re: Problems with native Unix domain sockets on Win 10/2019

2021-02-01 Thread Corinna Vinschen via Cygwin
On Feb 1 10:04, Ken Brown via Cygwin wrote: > On 1/31/2021 6:30 PM, Michael McMahon wrote: > > Thanks for taking this up again. While I had thought it was a Windows > > bug, and it is arguable, but at least there is a reasonable workaround > > for it. I'd be happy to test an update you have for it

Re: setrlimit always fails

2021-02-12 Thread Corinna Vinschen via Cygwin
On Feb 11 10:23, Patrick Chkoreff wrote: > I'm trying to use setrlimit to impose limits on various resources such > as CPU time and memory. The call to setrlimit always fails. I've > distilled this into the following example test.c: > > #include > #include > #include > > int main(void) >

Re: setrlimit always fails

2021-02-12 Thread Corinna Vinschen via Cygwin
On Feb 12 00:26, Brian Inglis wrote: > On 2021-02-11 19:06, Ken Brown via Cygwin wrote: > > On 2/11/2021 10:23 AM, Patrick Chkoreff wrote: > > > I'm trying to use setrlimit to impose limits on various resources such > > > as CPU time and memory.  The call to setrlimit always fails.  I've > > > dist

Re: setrlimit always fails

2021-02-15 Thread Corinna Vinschen via Cygwin
On Feb 12 10:11, Patrick Chkoreff wrote: > Ken Brown via Cygwin wrote on 2/11/21 9:06 PM: > > > Cygwin's setrlimit only supports a few resources, as you can see in the > > source: > > > > https://cygwin.com/git/?p=newlib-cygwin.git;a=blob;f=winsup/cygwin/resource.cc;h=9e9d223466b7635b990d6c9e

Re: setrlimit always fails

2021-02-15 Thread Corinna Vinschen via Cygwin
On Feb 15 14:54, Patrick Chkoreff wrote: > Corinna Vinschen wrote on 2/15/21 4:14 AM: > > > That looks wrong. The __USE_ flags are internal flags from > > GLibc and not supposed to be used by application code. Check the Linux > > man page for strptime, the usage of _XOPEN_SOURCE or another flag

Re: segfault on 32bit cygwin snapshot

2021-03-02 Thread Corinna Vinschen via Cygwin
On Mar 2 20:03, Takashi Yano via Cygwin wrote: > On Mon, 1 Mar 2021 21:25:42 +0900 > Takashi Yano wrote: > > On Mon, 1 Mar 2021 09:55:46 +0900 > > Takashi Yano wrote: > > > On Sun, 28 Feb 2021 19:48:28 +0100 > > > Marco Atzeri wrote: > > > > On 20.02.2021 23:29, Takashi Yano wrote: > > > > > On Sa

Re: segfault on 32bit cygwin snapshot

2021-03-03 Thread Corinna Vinschen via Cygwin
[Ping Mark Geisert] On Mar 3 18:56, Takashi Yano via Cygwin wrote: > Hi Corinna, > > On Tue, 2 Mar 2021 16:48:45 +0100 > Corinna Vinschen wrote: > > On Mar 2 20:03, Takashi Yano via Cygwin wrote: > > > > The following check code does not work as expected if > > > > newly build exe file is linke

Re: segfault on 32bit cygwin snapshot

2021-03-04 Thread Corinna Vinschen via Cygwin
On Mar 4 18:05, Takashi Yano via Cygwin wrote: > Hi Corinna, > > On Wed, 3 Mar 2021 12:00:25 +0100 > Corinna Vinschen wrote: > > [Ping Mark Geisert] > > > > Is there a way around that? I'm not quite sure, so let's brain storm > > a bit, ok? > > > > - One thing we could try is to remove the abo

Re: segfault on 32bit cygwin snapshot

2021-03-04 Thread Corinna Vinschen via Cygwin
On Mar 4 10:17, Ken Brown via Cygwin wrote: > On 3/4/2021 6:50 AM, Takashi Yano via Cygwin wrote: > > On Thu, 4 Mar 2021 12:11:11 +0100 > > marco atzeri wrote: > > > I have no problem to patch Python to solve the issue, > > > but I have not seen evidence of the dlsym mechanism . > > > But of cours

Re: segfault on 32bit cygwin snapshot

2021-03-04 Thread Corinna Vinschen via Cygwin
On Mar 4 01:05, Mark Geisert wrote: > Corinna Vinschen via Cygwin wrote: > > Is there a way around that? I'm not quite sure, so let's brain storm > > a bit, ok? > > > > - One thing we could try is to remove the above code, but add a python > >hack

Re: segfault on 32bit cygwin snapshot

2021-03-05 Thread Corinna Vinschen via Cygwin
On Mar 5 01:18, Mark Geisert wrote: > Hi Corinna, > > Corinna Vinschen via Cygwin wrote: > > On Mar 4 01:05, Mark Geisert wrote: > > > Corinna Vinschen via Cygwin wrote: > > > > Is there a way around that? I'm not quite sure, so let's brain storm &

Re: segfault on 32bit cygwin snapshot

2021-03-05 Thread Corinna Vinschen via Cygwin
On Mar 5 01:11, Mark Geisert wrote: > Marco Atzeri via Cygwin wrote: > > On 04.03.2021 21:17, Marco Atzeri wrote: > > > On 04.03.2021 16:17, Ken Brown via Cygwin wrote: > > > > On 3/4/2021 6:50 AM, Takashi Yano via Cygwin wrote: > > > > > On Thu, 4 Mar 2021 12:11:11 +0100 > > > > > marco atzeri wr

Re: segfault on 32bit cygwin snapshot

2021-03-08 Thread Corinna Vinschen via Cygwin
On Mar 8 03:07, Mark Geisert wrote: > Following up to myself... > > Mark Geisert wrote: > > Hi Corinna, > > > > On Fri, 5 Mar 2021, Corinna Vinschen wrote: > > > On Mar  5 01:11, Mark Geisert wrote: > > > > Marco Atzeri via Cygwin wrote: > > > > > On 04.03.2021 21:17, Marco Atzeri wrote: > > > >

Re: [ANNOUNCEMENT] cygwin 3.2.0-0.1 (TEST)

2021-03-10 Thread Corinna Vinschen via Cygwin
On Mar 10 03:38, André Bleau via Cygwin wrote: > Hi, > > Last year, I reported a problem about console output with pcon support. For > the simple test program, see: > https://cygwin.com/pipermail/cygwin/2020-May/244742.html > > I was told (https://cygwin.com/pipermail/cygwin/2020-May/244745.html

Re: rsync password prompt doesn't capture input and shows password in clear

2021-03-11 Thread Corinna Vinschen via Cygwin
On Mar 10 19:11, Marki wrote: > Hello, > > SSH password prompt captures the input correctly, and does not show it. > > user@client /cygdrive/c/temp > $ ssh server > Password: > Password: > > Rsync on the other hand won't even let me enter the password correctly. > > user@client /cygdrive/c/temp

Re: libgccjit

2021-03-11 Thread Corinna Vinschen via Cygwin
On Mar 10 12:00, Ken Brown via Cygwin wrote: > Emacs development (on the feature/native-comp branch) is using libgccjit. > Is it possible to build this library on Cygwin? Isn't this a question for Jon? I CCed him. Corinna -- Problem reports: https://cygwin.com/problems.html FAQ:

Re: rsync password prompt doesn't capture input and shows password in clear

2021-03-11 Thread Corinna Vinschen via Cygwin
On Mar 11 13:42, Andrey Repin wrote: > Greetings, Corinna Vinschen via Cygwin! > > > On Mar 10 19:11, Marki wrote: > >> Hello, > >> > >> SSH password prompt captures the input correctly, and does not show it. > >> > >> user@client /cygdr

Re: tcsh 6.22.03

2021-03-15 Thread Corinna Vinschen via Cygwin
On Mar 14 22:05, Eran Leshem via Cygwin wrote: > Hello, > > > > Is there a plan to release tcsh 6.22.03? When is it expected? No plans, given 6.22.03 has a regression in variable substitution. Waiting for 6.22.04... Corinna -- Problem reports: https://cygwin.com/problems.html FAQ:

Re: stdin pipe rename in 3.2.0

2021-03-19 Thread Corinna Vinschen via Cygwin
On Mar 19 21:05, Takashi Yano via Cygwin wrote: > On Fri, 19 Mar 2021 19:08:07 +0900 > Takashi Yano wrote: > > Corinna, is it possble to apply the patch for 3.2.0 release? That's what release testing is for :) > By the way, duaring testing https://github.com/k-takata/ptycheck, > I noticed _get_os

Re: [ANNOUNCEMENT] cygwin 3.2.0-1

2021-03-29 Thread Corinna Vinschen via Cygwin
On Mar 29 12:46, Brian Inglis wrote: > On 2021-03-29 11:40, Corinna Vinschen via Cygwin-announce via Cygwin wrote: > > The following packages have been uploaded to the Cygwin distribution: > > > > * cygwin-3.2.0-1 > > * cygwin-devel-3.2.0-1 > > * cygwin-doc-3.2

Re: Cygwin Application Error in KIER - Reg.

2021-04-14 Thread Corinna Vinschen via Cygwin
On Apr 14 10:25, Chagarlamudi, Rahul via Cygwin wrote: > Hi Team > > One of the user in KIER is facing the issue in opening the application. The > error message which the user is getting when he is trying to open the > application is "The application was unable to start correctly (0xc364).

Re: hypotl(LDBL_MAX, 0.0L) = inf

2021-04-19 Thread Corinna Vinschen via Cygwin
On Apr 17 10:02, airplanemath via Cygwin wrote: > Given that hypot(DBL_MAX, 0.0) = DBL_MAX and hypotf(FLT_MAX, 0.0f) = > FLT_MAX, I suspect this is a problem in hypotl. Am I missing something? No. This is a bug in newlib's hypotl. Newlib mainly targest embedded systems and as such wasn't very m

Re: realpath issue with native[strict] symlinks

2021-04-19 Thread Corinna Vinschen via Cygwin
On Apr 18 10:59, Orgad Shaneh via Cygwin wrote: > Hi, > > When winsymlinks:native/nativestrict is used, realpath doesn't resolve > the full path correctly, when a symlink to the same directory is used. > > Example follows. The output is: > /home/user/recurse/test/d1 > /home/user/recurse/test2/d1

Re: should scanf be getting built supporting hexadecimal float

2021-04-19 Thread Corinna Vinschen via Cygwin
On Apr 19 09:17, Brian Inglis wrote: > On 2021-04-19 09:07, Brian Inglis wrote: > > On 2021-04-18 22:09, Keith Thompson via Cygwin wrote: > > > The *scanf() functions don't handle hexadecimal floating-point input > > > (for example "0x1p+0" representing 1.0). > > > On Cygwin, the output (compiled w

Re: should scanf be getting built supporting hexadecimal float

2021-04-19 Thread Corinna Vinschen via Cygwin
On Apr 19 19:53, Corinna Vinschen via Cygwin wrote: > On Apr 19 09:17, Brian Inglis wrote: > > On 2021-04-19 09:07, Brian Inglis wrote: > > > On 2021-04-18 22:09, Keith Thompson via Cygwin wrote: > > > > The *scanf() functions don't handle hexadecimal floati

Re: Cannot access system32 directory from 32 bit cygwin after the commit 456c3a46

2021-04-21 Thread Corinna Vinschen via Cygwin
Hi Takashi, On Apr 21 12:04, Takashi Yano via Cygwin wrote: > Hi Corinna, > > I noticed the problem that /cygdrive/c/Windows/System32 directory > can be no longer accessed from 32 bit cygwin (WOW64) after the > commit: The problem here is the File System Redirector, https://docs.microsoft.com/en

Re: Cannot access system32 directory from 32 bit cygwin after the commit 456c3a46

2021-04-21 Thread Corinna Vinschen via Cygwin
On Apr 21 17:58, Andrey Repin wrote: > Greetings, Corinna Vinschen via Cygwin! > > > On Apr 21 12:04, Takashi Yano via Cygwin wrote: > >> Hi Corinna, > >> > >> I noticed the problem that /cygdrive/c/Windows/System32 directory > >> can be no long

Re: Cannot access system32 directory from 32 bit cygwin after the commit 456c3a46

2021-04-21 Thread Corinna Vinschen via Cygwin
On Apr 21 09:49, Bill Stewart wrote: > On Wed, Apr 21, 2021 at 3:20 AM Corinna Vinschen wrote: > > The problem here is the File System Redirector, > > > > https://docs.microsoft.com/en-us/windows/win32/winprog64/file-system-redirector > > > > This thing is really a problem because it break every,

Re: Cannot access system32 directory from 32 bit cygwin after the commit 456c3a46

2021-04-21 Thread Corinna Vinschen via Cygwin
On Apr 21 11:57, Bill Stewart wrote: > On Wed, Apr 21, 2021 at 10:47 AM Corinna Vinschenwrote: > > > > A sane assumption is for instance, if you cd to foo, that your in foo. > > That's what the FSR breaks in a thorough way. I. e. on WOW64: > > > > $ cd /cygdrive/c/Windows > > $ ls -1d Sys* >

Re: how about little improve "stat" function for virtual cloned drisk on windows ?

2021-04-29 Thread Corinna Vinschen via Cygwin
On Apr 29 18:29, dreverser--- via Cygwin wrote: > hello, i have issue for using stat for virtual cloned disk on windows/vmware > st_dev give me the the same serial number > and diff util doest work, because thinking path the same and there are > no files for diff > > iam propose improve winsup\cyg

Re: realpath issue with native[strict] symlinks

2021-05-06 Thread Corinna Vinschen via Cygwin
On May 4 22:52, Orgad Shaneh via Cygwin wrote: > On Tue, Apr 27, 2021 at 8:44 AM Orgad Shaneh wrote: > > > > On Apr 19 12:58, Corinna Vinschen via Cygwin wrote: > > > On Apr 18 10:59, Orgad Shaneh via Cygwin wrote: > > > > > I was going to write: > >

Re: realpath issue with native[strict] symlinks

2021-05-07 Thread Corinna Vinschen via Cygwin
On May 6 21:36, Orgad Shaneh via Cygwin wrote: > On Thu, May 6, 2021 at 8:44 PM Corinna Vinschen > wrote: > > > > On May 4 22:52, Orgad Shaneh via Cygwin wrote: > > > On Tue, Apr 27, 2021 at 8:44 AM Orgad Shaneh wrote: > > > > > > > >

Re: realpath issue with native[strict] symlinks

2021-05-10 Thread Corinna Vinschen via Cygwin
On May 9 14:35, Orgad Shaneh via Cygwin wrote: > On Sat, May 8, 2021 at 12:20 AM Corinna Vinschen > wrote: > > > > I reworked the code handling native symlinks to handle virtual drives > > as well. It might even be a tiny bit quicker now. > > > > The changes have a behavioral change, but I think

Re: realpath issue with native[strict] symlinks

2021-05-12 Thread Corinna Vinschen via Cygwin
On May 12 10:10, Andrey Repin via Cygwin wrote: > Greetings, Corinna Vinschen via Cygwin! > > > I reworked the code handling native symlinks to handle virtual drives > > as well. It might even be a tiny bit quicker now. > > > The changes have a behavioral change,

Re: realpath issue with native[strict] symlinks

2021-05-17 Thread Corinna Vinschen via Cygwin
On May 14 21:12, Jeremy Drake via Cygwin wrote: > I apologize for not replying to the message properly, I am not subscribed > and am copy-pasting from web archive. > > On Sat, May 8, 2021 at 12:20 AM Corinna Vinschen wrote: > > The changes have a behavioral change, but I think this is for the > >

Re: realpath issue with native[strict] symlinks

2021-05-19 Thread Corinna Vinschen via Cygwin
On May 18 13:01, Jeremy Drake via Cygwin wrote: > Sorry ,forgot subject > > On Tue, 18 May 2021, Jeremy Drake wrote: > > > > Sorry, but there's only this or that, not both. Either we revert the > > > entire change, including the native shortcut stuff, or we do it > > > completely and fully, incl

Re: Inode number and file size problems in version 3.2.1

2021-07-07 Thread Corinna Vinschen via Cygwin
On Jul 6 11:53, Ken Brown via Cygwin wrote: > [Please don't top-post on this list. Thanks.] > > On 7/6/2021 5:15 AM, Ruurd Beerstra wrote: > > Hi, > > > > I missed those question - sorry. This ping is the first I saw i response > > to my question. > > That was my guess and was the reason I add

Re: cfsetspeed is not consistent with Linux

2021-07-12 Thread Corinna Vinschen via Cygwin
On Jul 11 12:33, Ken Brown via Cygwin wrote: > While investigating an emacs bug > (https://debbugs.gnu.org/cgi/bugreport.cgi?bug=49524), I noticed a > difference in the behavior of cfsetspeed(3) on Cygwin and Linux. I'm not > sure we should "fix" this, because Cygwin's behavior is consistent with

Re: cygpath and star character

2021-07-15 Thread Corinna Vinschen via Cygwin
On Jul 14 15:26, Ken Brown via Cygwin wrote: > On 7/14/2021 4:10 AM, Tomas Jura via Cygwin wrote: > > Hi > > > > I found a strange behaviour of the program cygpath program > > > > 0 >cygpath -w "./*/*"   <--- IMHO wrong output > >  \ > > > > 0 >cygpath -w "./*/*"  | od -a   

Re: Regenerate Cygwin FAQ

2021-07-20 Thread Corinna Vinschen via Cygwin
On Jul 20 13:50, David Allsopp via Cygwin wrote: > The instructions for building Cygwin changed in April and the FAQ was > updated (c66797ee), but the website doesn't appear to have been regenerated > (https://cygwin.com/faq.html#faq.programming.building-cygwin). Thanks for the reminder. I pushed

Re: calls to socket() fail when calling getaddrinfo() with IPPROTO_TCP

2021-07-30 Thread Corinna Vinschen via Cygwin
Hi John, On Jul 29 22:41, John Scott via Cygwin wrote: > Hi, > > I was wondering why my daytime server doesn't work when built for > Cygwin, and I have been able to narrow it down to this reproducible > test case: > [...] > This code fails with "Failed to create socket: Invalid argument". Does >

Re: calls to socket() fail when calling getaddrinfo() with IPPROTO_TCP

2021-07-30 Thread Corinna Vinschen via Cygwin
On Jul 30 11:34, Corinna Vinschen via Cygwin wrote: > Yeah, that's a bad joke as well. The reason is that the http service is > defined for TCP only. Not for UDP. As a result, Windows' getaddrinfo > suddenly returns a valid ai_socktype field: > > family: 23 socktype

Re: Unable to start Cygwin64 terminal after password change

2021-08-02 Thread Corinna Vinschen via Cygwin
On Jul 31 21:09, Lavrentiev, Anton (NIH/NLM/NCBI) [C] via Cygwin wrote: > Hi all, > > I seem to be unable to start "Cygwin64 Terminal" (using the standard icon > placed on the desktop when Cygwin gets installed) > after I had to change my password (at work). My account did not change. > What I

Re: Seeing double in /proc/partitions (Win 7 Home)

2021-08-02 Thread Corinna Vinschen via Cygwin
On Jul 31 21:12, Lavrentiev, Anton (NIH/NLM/NCBI) [C] via Cygwin wrote: > Hi all, > > Is there any special reason that most of my drives are shown twice in > /proc/partitions on my home machine? The only reason is a duplication of entries in the internal NT namespace, which sounds pretty broken.

<    1   2   3   4   5   6   7   8   >