sscanf doesn't handle hexadecimal floating-point input

2021-04-18 Thread Keith Thompson via Cygwin
The *scanf() functions don't handle hexadecimal floating-point input (for example "0x1p+0" representing 1.0). A test program: #include int main(void) { int ok = 1; float x = -1.0; int result = sscanf("0x1p+0", "%f", &x); const float expected_x = 1.0; const int expected_result

Re: Possibly becoming a mirror

2021-04-18 Thread Brian Inglis
On 2021-04-18 12:47, Hamish McIntyre-Bhatty via Cygwin wrote: I'm considering hosting a mirror for Cygwin on a server I have, but it doesn't currently have a domain. Is this acceptable or do I need to sort that first? I'm planning to do that in the near future either way. You need a public IP

Possibly becoming a mirror

2021-04-18 Thread Hamish McIntyre-Bhatty via Cygwin
I'm considering hosting a mirror for Cygwin on a server I have, but it doesn't currently have a domain. Is this acceptable or do I need to sort that first? I'm planning to do that in the near future either way. Hamish OpenPGP_0x18F1759B3457223F.asc Description: application/pgp-keys OpenPGP_

Re: Tee and file redirections are very slow to write anything.

2021-04-18 Thread Hamish McIntyre-Bhatty via Cygwin
Excellent, I shall give that a try. Thanks. Hamish On 25/02/2021 10:27, Takashi Yano via Cygwin wrote: On Thu, 25 Feb 2021 09:51:48 + "Henry S. Thompson wrote: Hamish McIntyre-Bhatty via Cygwin writes: I'm now thinking it may have been a Python script that was behaving this way - I might

Re: sshd 100% Load after disconnect

2021-04-18 Thread Andrey Repin
Greetings, iw875...@gmx.eu! > sshd seems to run at 100% Load for one thread after ssh disconnect 125% or more, actually. > (Close Terminal Window) on my Windows 10 computer. > If I use exit it isn't so. > I have to kill sshd or reboot the machine to kill the load. Kill the shell (or another p

[ANNOUNCEMENT] Updated: curl, libcurl{4, -devel, -doc}, mingw64-{x86_64, i686}-curl 7.76.1

2021-04-18 Thread Cygwin curl Maintainer
The following packages have been upgraded in the Cygwin distribution: * curl 7.76.1 * libcurl4 7.76.1 * libcurl-devel 7.76.1 * libcurl-doc 7.76.1 * mingw64-x86_64-curl 7.76.1 * mingw64-i686-curl 7.76.1 Command line tool and Library supporting

sshd 100% Load after disconnect

2021-04-18 Thread iw875421
Hi group, sshd seems to run at 100% Load for one thread after ssh disconnect (Close Terminal Window) on my Windows 10 computer. If I use exit it isn't so. I have to kill sshd or reboot the machine to kill the load. -- Problem reports: https://cygwin.com/problems.html FAQ:

RE: Regression in Cygwin 3.2.0

2021-04-18 Thread David Allsopp via Cygwin
Takashi Yano wrote: > On Fri, 16 Apr 2021 11:17:50 +0100 > David Allsopp wrote: > > I'm unable to build OCaml using the mingw-w64 compilers with Cygwin > 3.2.0. > > Windows 10.0.19042.928 (and tried on three different machines so far) > > > > Repro: > > > > - Fresh Cygwin64 installation with make,

realpath issue with native[strict] symlinks

2021-04-18 Thread Orgad Shaneh via Cygwin
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 While it should be /home/user/recurse/d1 for both. A few obser

Re: A problem with noacl+umask+chmod result

2021-04-18 Thread Orgad Shaneh via Cygwin
On Sat, Apr 17, 2021 at 8:11 PM Kaz Kylheku (Cygwin) <743-406-3...@kylheku.com> wrote: > > On 2021-04-08 21:34, Orgad Shaneh via Cygwin wrote: > > On Fri, Apr 9, 2021 at 4:50 AM Andrey Repin > > wrote: > >> > >> Greetings, Orgad Shaneh! > >> > >> > On Wed, Apr 7, 2021 at 11:47 PM Orgad Shaneh wro