Re: Path prefix //./ in Cygwin

2025-06-11 Thread Sam Edge via Cygwin
On 12/06/2025 01:57, Jeremy Drake wrote: On Thu, 12 Jun 2025, Sam Edge via Cygwin wrote: I would think that if you're building something against Cygwin, it's probably best to assume it's POSIX where only forward-slash is special and not try to second-guess. This is unsafe, and

Re: Path prefix //./ in Cygwin

2025-06-11 Thread Sam Edge via Cygwin
On 12/06/2025 00:01, Jeremy Drake via Cygwin wrote: While making some tests for a path parser in rust (https://github.com/rust-lang/rust/pull/141864), an interesting corner case in Cygwin path handling came to light: Works: \\.\C: //.\C: //./C:\foo Doesn't work: //./C: //./C:/foo It appears to

Re: Regression in syslog-ng with libglib2.0_0 f2.84.0-1

2025-05-04 Thread Sam Edge via Cygwin
On 28/03/2025 11:20, Sam Edge via Cygwin wrote: On 28/03/2025 11:00, Sam Edge via Cygwin wrote: I've had a weird regression with syslog-ng recently. Dunno if it's related to a new release of the Cygwin DLL because I've only just spotted it. When I try to start syslog-ng as a s

Re: Tuning ls, ls -l, find ., find . -ls performance for very large dirs (60000+ files/dir)

2025-04-08 Thread Sam Edge via Cygwin
On 08/04/2025 19:05, Mark Liam Brown via Cygwin wrote: Greetings! Are there tuning variables to improve ls, ls -l, find ., find . -ls performance for very large dirs? If we have a SMB dir with 6+ entries a simple ls -l can take MANY minutes (22+mins), while cmd.exe dir just floods the termi

Regression in syslog-ng?

2025-03-28 Thread Sam Edge via Cygwin
Hi all. I've had a weird regression with syslog-ng recently. Dunno if it's related to a new release of the Cygwin DLL because I've only just spotted it. When I try to start syslog-ng as a service recently it fails to load with the following in /var/log/syslog-ng.log. cat /var/log/syslog-ng.log

Re: Package 'unitS' requires python39 & requests

2025-02-18 Thread Sam Edge via Cygwin
On 18/02/2025 00:17, Brian Inglis via Cygwin wrote: On 2025-02-17 16:34, Sam Edge via Cygwin wrote: On 17/02/2025 23:21, Brian Inglis via Cygwin wrote: On 2025-02-17 07:48, Marco Atzeri via Cygwin wrote: On 17/02/2025 15:31, Sam Edge via Cygwin wrote: On 17/02/2025 11:29, Federico Kircheis

Re: Package 'unitS' requires python39 & requests

2025-02-17 Thread Sam Edge via Cygwin
On 17/02/2025 23:21, Brian Inglis via Cygwin wrote: On 2025-02-17 07:48, Marco Atzeri via Cygwin wrote: On 17/02/2025 15:31, Sam Edge via Cygwin wrote: On 17/02/2025 11:29, Federico Kircheis via Cygwin wrote: I mentioned this a while ago but the 'units' package also has a dep

Package 'unit' requires python39 & requests (was Re: Latest version of mc requires python3)

2025-02-17 Thread Sam Edge via Cygwin
On 17/02/2025 11:29, Federico Kircheis via Cygwin wrote: I just noted that the last version of mc (4.8.33-1) depends on python3. I mentioned this a while ago but the 'units' package also has a dependency on 'python39' and 'python39-requests'. This is purely because of the currency updater scr

Re: [Ms-nfs41-client-devel] Windows Server NFS, getfact not working on NFS

2024-10-29 Thread Sam Edge via Cygwin
On 29/10/2024 15:47, Corinna Vinschen via Cygwin wrote: On Oct 29 15:08, Sam Edge via Cygwin wrote: On 29/10/2024 14:38, Corinna Vinschen via Cygwin wrote: On Oct 29 13:56, Martin Wege via Cygwin wrote: No, FILE_PERSISTENT_ACLS is not in that output. Reading https://learn.microsoft.com/en

Re: [Ms-nfs41-client-devel] Windows Server NFS, getfact not working on NFS

2024-10-29 Thread Sam Edge via Cygwin
On 29/10/2024 14:38, Corinna Vinschen via Cygwin wrote: On Oct 29 13:56, Martin Wege via Cygwin wrote: On Sun, Oct 6, 2024 at 8:53 AM Cedric Blancher wrote: Please run winfsinfo on the NFS filesystem: /bin/winfsinfo getvolumeinfo "$(cygpath -w /cygdrive/n/nfsshare1)" Does winfsinfo getvolumei

Re: Windows Server NFS, getfact not working on NFS

2024-10-28 Thread Sam Edge via Cygwin
On 27/10/2024 10:59, Andrey Repin via Cygwin wrote: Greetings, Sam Edge via Cygwin! That's because "acl" is the default. Which is, again, a bad idea in general. So there must be another reason why Cygwin is reporting his Windows NFS server shares as not supporting ACLs whe

Re: Windows Server NFS, getfact not working on NFS

2024-10-27 Thread Sam Edge via Cygwin
On 27/10/2024 09:03, Andrey Repin via Cygwin wrote: It will only work inside Cygwin root tree, or on mounts with "acl" flag. I beg to differ. I can read ACLs from a Linux Samba server without requiring an explicit 'acl' entry in /etc/fstab and from the default cygdrive NTFS automatic mounts a

Re: [Ms-nfs41-client-devel] Windows Server NFS, getfact not working on NFS

2024-10-27 Thread Sam Edge via Cygwin
On 06/10/2024 07:53, Cedric Blancher via Cygwin wrote: Please run winfsinfo on the NFS filesystem: /bin/winfsinfo getvolumeinfo "$(cygpath -w /cygdrive/n/nfsshare1)" Hi Ced. There is no 'winfsinfo' in any of the Cygwin packages I can find. If I go to https://www.cygwin.com/cgi-bin2/package-

Re: What is the tcl library path?

2024-10-19 Thread Sam Edge via Cygwin
On 18/10/2024 20:54, José Isaías Cabrera wrote: On Friday, October 18, 2024 03:32 PM, Sam Edge expressed: > you > should be using a Microsoft or MSYS2/MinGW native (or Cygwin MinGW > cross) toolchain and pointing it to Windows native Tcl libraries. I am. These are my commands in cygwin to cre

Re: What is the tcl library path?

2024-10-18 Thread Sam Edge via Cygwin
On 18/10/2024 20:19, José Isaías Cabrera wrote: I am using cygwin to build an x32 DLL and a x64 sqlite3.exe tool to use outside cygwin. Everything was working find until Dr. Hipp made some changes which broke my process. This is good enough for now. Hi José. If you're building executables or

Re: What is the tcl library path?

2024-10-18 Thread Sam Edge via Cygwin
On 18/10/2024 19:00, José Isaías Cabrera wrote: gcc -shared tclsqlite3.c -o libsqlite3.47.0.dll -Wl,-ltclstub8.6 -L/wherever/your/libtcl/is samedge@gwaihir ~ $ find / -xdev -iname '*libtcl*' /bin/libtcl8.6.dll /lib/libtcl.dll.a /lib/libtcl8.6.dll.a /lib/libtclstub.a /lib/libtclstub8.6.a /usr/b

Re: Computer Science

2024-10-16 Thread Sam Edge via Cygwin
On 16/10/2024 23:32, Brian Inglis via Cygwin wrote: [snip] I couldn't have put it better Brian, especially regarding grasp of basic grammar and ability to provide semantic content. But you're just feeding the trolls. ;-) -- Sam Edge OpenPGP_0x8AC2CEBF54528E30.asc Description: OpenPGP publ

Re: What is the tcl library path?

2024-10-14 Thread Sam Edge via Cygwin
On 14/10/2024 19:07, José Isaías Cabrera via Cygwin wrote: Greetings. I am working with SQLite, and I am trying to build the SQLite library with TCL support. The SQLite folks asked me the path of the TCL library which I have to idea how to identify. Is there a command that would display the p

Re: cygwin runs three instances of rsync.exe at the same time

2024-06-18 Thread Sam Edge via Cygwin
On 19/06/2024 07:09, Sam Edge via Cygwin wrote: This is how rsync works. The executable forked from the command line runs up two communicating child processes to handle the 'from' and 'to' ends of the transfer. I forgot to say, this is how rsync works on any platform such

Re: cygwin runs three instances of rsync.exe at the same time

2024-06-18 Thread Sam Edge via Cygwin
On 18/06/2024 16:03, asdffdsa6132 via Cygwin wrote: hello, thanks, first time poster, sorry if i mis-posted. when in run rsync.exe, in task manager, i see three instances running at the same time. in five years, my backup script runs native windows apps such as rclone.exe, restic.exe, fastcopy

Re: Cygwin a bit slow

2024-04-13 Thread Sam Edge via Cygwin
On 12/04/2024 19:01, J M via Cygwin wrote: Hi, For me not use AV or disable parts is not an option... Then, if AV is inspecting the CreateProcess, these processes can be known the path of these process? [Please bottom post in Cygwin mailing lists. TIA] I'm not suggesting you don't use a real

Re: Cygwin a bit slow

2024-04-10 Thread Sam Edge via Cygwin
On 10/04/2024 11:34, Christian Franke via Cygwin wrote: J M via Cygwin wrote: ... Specifically for this problem, I have investigated the problem and can be related to pipes and antivirus. Specifically while true do echo ABC | grep AAA done It makes the cpu of that antivirus go up. This is a

Re: /usr/bin/fallocate missing in Cygwin 3.5's "util-linux" ...

2024-01-24 Thread Sam Edge via Cygwin
On 24/01/2024 06:33, Cedric Blancher via Cygwin wrote: > Does /usr/bin/cp in Cygwin copy holes correctly Yesterday, within the 'ware, I saw some bytes that weren't there! They weren't there again today, They'd better not just go away. -- Sam Edge (with apologies to Willian Hughes Mearns) Open

Re: mintty window border?

2023-08-25 Thread Sam Edge via Cygwin
On 25/08/2023 08:18, Backwoods BC via Cygwin wrote: > On Thu, Aug 24, 2023 at 10:54 PM Gary Johnson via Cygwin > wrote: >> >> On 2023-08-25, Thomas Wolff via Cygwin wrote: >>> >>> >>> Am 25.08.2023 um 02:41 schrieb Gary Johnson via Cygwin: On 2023-08-24, Backwoods BC via Cygwin wrote: >

Re: exe in path directory, "command not found"

2023-03-15 Thread Sam Edge via Cygwin
On 15/03/2023 03:00, WyntrHeart via Cygwin wrote: I've added /cygdrive/c/program\ files/notepad++ to my path in .bash_profile, double checking with echo to make sure that the directory is in the path. But when I type "notepad++.exe" or "notepad++" I get "bash: notepad++: command not found". I did

Re: newlib-cygwin.git repository: Switching "master" to "main"

2023-01-13 Thread Sam Edge via Cygwin
On 13/01/2023 11:55, Corinna Vinschen via Cygwin wrote: > Hey folks, > > In the light of recent discussions, and following other projects already > having done this step, we changed the name of the "master" branch in > the newlib-cygwin.git upstream repository to "main". > > If you fetched from up

Re: possible snprintf() regression in 3.3.2

2021-11-18 Thread Sam Edge via Cygwin
On 18/11/2021 14:27, Corinna Vinschen via Cygwin wrote: On Nov 18 16:11, Noel Grandin via Cygwin wrote: On 2021/11/18 3:19 pm, Corinna Vinschen via Cygwin wrote: My patch raised NDEC from 43 to 1023 to allow aproximately the same number of digits as glibc. Newlib strives to support embedded

Re: mmap failure [was: cygrunsrv + sshd + rsync = 20 times too slow -- throttled?]

2021-09-07 Thread Sam Edge via Cygwin
On 07/09/2021 23:44, Ken Brown via Cygwin wrote: > > MS can't add a new named field to a documented struct without breaking a lot of code.  I think it's extremely unlikely that they would do that.  On the other hand, I think it's very likely that a reader of the Cygwin code would be confused by c

Re: objects created in a dir w/cygwin mangled perms; inherit no-access

2021-08-23 Thread Sam Edge via Cygwin
On 23/08/2021 20:31, L A Walsh wrote: > > On 2021/07/15 01:23, Sam Edge via Cygwin wrote: >> (By the way, the permission workaround is another good reason for not installing in system root if advice from the authors of Cygwin - Corinna et al - isn't enough for you.) > --- >

Re: META: Fix the signup procedure?

2021-08-12 Thread Sam Edge via Cygwin
On 12/08/2021 08:18, Russell VT via Cygwin wrote: > >> Moderation is an option but I doubt anyone really wants >> to moderate every message here. >> > > Can't say I would disagree, though back it the time, I've seen teams easily > handle higher traffic lists with a pretty small moderation team.

Re: objects created in a dir w/cygwin mangled perms; inherit no-access

2021-07-15 Thread Sam Edge via Cygwin
On 15/07/2021 08:02, L A Walsh wrote: On 2021/07/07 11:43, Andrey Repin wrote: Sorta, actually the cygtree mounted at 'C:\'. Ugh. Been there twenty years ago. Had a lot of unexpected issues and finally opted out of it.     If you have ever boot to a rescue system running from your hard

Re: cygpath and star character

2021-07-14 Thread Sam Edge via Cygwin
On 15/07/2021 00:07, Tomas Jura via Cygwin wrote: Hi My use case is building the CLASSPATH environment variable for java. Like: export CLASSPATH="${CLASSPATH}${PATH_SEPARATOR}$(cygpath -w 'my/java/jar/directory/*' )" CLASSPATH can contain the star character at the end on Windows. Example C:\A