[ANNOUNCEMENT] Updated: curl/libcurl4/-devel/-doc, mingw64-x86_64-curl 8.2.1
The following packages have been upgraded in the Cygwin distribution: * curl 8.2.1 * libcurl4 8.2.1 * libcurl-devel 8.2.1 * libcurl-doc 8.2.1 * mingw64-x86_64-curl 8.2.1 Command line tool and Library supporting transferring files with URL syntax, using FTP, FTPS, HTTP, HTTPS, SCP, SFTP, TFTP, TELNET, DICT, and FILE, SSL certificates, HTTP POST, HTTP PUT, FTP uploading, HTTP form based upload, proxies, cookies, user+password authentication (Basic, Digest, NTLM, Negotiate...), file transfer resume, proxy tunneling and a busload of other useful tricks. For more information see the project home page: https://curl.se/ As there are multiple components and many changes each release please see below or read /usr/share/doc/curl/RELEASE-NOTES after installation; for complete details of changes since the previous Cygwin release see: /usr/share/doc/curl/CHANGES or https://curl.se/changes.html curl and libcurl 8.2.1 2023-07-26 Public curl releases:221 Command line options:255 curl_easy_setopt() options: 303 Public functions in libcurl: 91 Contributors: 2927 Planned upcoming removals include: - gskit - NSS - support for space-separated NOPROXY patterns - support for the original legacy mingw version 1 See https://curl.se/dev/deprecate.html for details This release includes the following known bugs: - see docs/KNOWN_BUGS (https://curl.se/docs/knownbugs.html) This release includes the following bugfixes: - amigaos: fix sys/mbuf.h m_len macro clash - amissl: add missing signal.h include - amissl: fix AmiSSL v5 detection - cfilters: rename close/connect functions to avoid clashes - ciphers.d: put URL in first column - cmake: add `libcurlu`/`libcurltool` for unit tests - cmake: update ngtcp2 detection - configure: check for nghttp2_session_get_stream_local_window_size - CONTRIBUTE: drop mention of copyright year ranges - CONTRIBUTE: fix syntax in commit message description - curl_multi_wait.3: fix arg quoting to doc macro .BR - docs: mark two TLS options for TLS, not SSL - docs: provide more see also for cipher options - hostip: return IPv6 first for localhost resolves - http2: fix regression on upload EOF handling - http: VLH, very large header test and fixes - libcurl-errors.3: add CURLUE_OK - os400: correct EXPECTED_STRING_LASTZEROTERMINATED - quiche: fix lookup of transfer at multi - quiche: fix segfault and other things - rustls: update rustls-ffi 0.10.0 - socks: print ipv6 address within brackets - src/mkhelp: strip off escape sequences - tool: fix tool_seek_cb build when SIZEOF_CURL_OFF_T > SIZEOF_OFF_T - transfer: do not clear the credentials on redirect to absolute URL - unittest: remove unneeded *_LDADD - websocket: rename arguments/variables to match docs -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation:https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple
Re: Probable bug
On Sun, 30 Jul 2023 07:29:10 -0400 Eliot Moss wrote: > On 7/30/2023 5:38 AM, natan_b--- via Cygwin wrote: > > Hi Guys > > > > very short. > > > > prog.c > > > > #include > > > > int main() > > { > > float a=1.283; > > while(1) > > printf( "%f", a ); > > } > > > > run with > > $ ./prog.exe >/dev/null > > > > in windows monitor process the process increase it's memory it arrive to > > many Gb. > > It's not a machine problem, other PC have same problem. > > > > Same program in wsl and MSYS2 works well! > > This probably has to do with output buffering, and may happen even without > the >/dev/null since there are no line ends in the output. It may work with > stdbuf -o0 (as in: stdbuf -o0 ./prog.exe >/dev/null) but may cause the program > to run more slowly (each character is sent to the device, when then > immediately > discards it). It would seem you're hoping for the internal libraries to > recognize the case of writing to /dev/null ... I also suspected that, however, it was not correct. while (1) sprintf(buf, "%f\n", a); has the same problem. :-( -- Takashi Yano -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation:https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple
Re: Probable bug
On 7/30/2023 5:38 AM, natan_b--- via Cygwin wrote: Hi Guys very short. prog.c #include int main() { float a=1.283; while(1) printf( "%f", a ); } run with $ ./prog.exe >/dev/null in windows monitor process the process increase it's memory it arrive to many Gb. It's not a machine problem, other PC have same problem. Same program in wsl and MSYS2 works well! This probably has to do with output buffering, and may happen even without the >/dev/null since there are no line ends in the output. It may work with stdbuf -o0 (as in: stdbuf -o0 ./prog.exe >/dev/null) but may cause the program to run more slowly (each character is sent to the device, when then immediately discards it). It would seem you're hoping for the internal libraries to recognize the case of writing to /dev/null ... Regards - EM -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation:https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple
Probable bug
Hi Guys very short. prog.c #include int main() { float a=1.283; while(1) printf( "%f", a ); } run with $ ./prog.exe >/dev/null in windows monitor process the process increase it's memory it arrive to many Gb. It's not a machine problem, other PC have same problem. Same program in wsl and MSYS2 works well! Regards natanb -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation:https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple
[ANNOUNCEMENT] Test: ncurses/-demo terminfo/-extra libncurses/-devel/++/w10 6.4-13.20230729 (TEST)
The following test packages have been uploaded to the Cygwin distribution: * ncurses 6.4-13.20230729 * ncurses-demo 6.4-13.20230729 * terminfo 6.4-13.20230729 * terminfo-extra6.4-13.20230729 * libncurses-devel 6.4-13.20230729 * libncurses++w10 6.4-13.20230729 * libncursesw10 6.4-13.20230729 Please test these packages as extensively as possible (especially if you are a Cygwin package maintainer) as libncursesw10 is used in many libraries including libreadline and utilities including less, vim, emacs, most other editors, screen, tmux, mail and web clients, and bash. Package maintainers should install this test release and rerun checks of as many libraries and packages depending on libncurses{,++}w10 as possible. If no issues are reported in the next few weeks, and no newer release becomes available, this release will be promoted to current stable. The ncurses (new curses) library is an emulation of Sys V R 4 curses, and more. It uses terminfo format, supports pads, color, multiple highlights, forms characters, function key mapping, and has all the other SVR4 curses enhancements over BSD curses. For more information see the project home page: https://invisible-island.net/ncurses As there are multiple components and many changes each release see below or read /usr/share/doc/ncurses/NEWS after installation: 20230729 - improve manpages for wgetnstr() and wget_wnstr(). - modify MinGW configuration to provide for running in MSYS/MSYS2 shells, assuming ConPTY support. - add assignment in CF_MAN_PAGES to fill in value for TERMINFO_DIRS in ncurses, terminfo and tic manpages. 20230722 - add "auto" default for --with-xterm-kbs configure option. 20230715 - correct wadd_wch_literal() when adding a non-spacing character to a double-width character. - improve manual page for curs_util. - improve manual page for wadd_wch(). 20230708 - add linux+kbs for terminals which imitate xterm's behavior with Linux - disallow using $TERMINFO or $HOME/.terminfo when tic "-o" option is used - modify MinGW driver to return KEY_BACKSPACE when an unmodified VK_BACK virtual key is entered 20230701 - fix mandoc warnings about unnecessary markup. - improve parameter check in tparm_setup() 20230625 - man/make_sed.sh to work with dates as the third field of TH. - fixes for out-of-memory condition 20230624 - fixes for out-of-memory condition 20230617 - markup manpages with revision information 20230615 - modify _nc_read_file_entry() to show relevant filename in warnings. - improve checks in convert_string() for corrupt terminfo entry 20230610 - improve manpages discussing file descriptors in low-level functions. - modify flushinp to use file descriptors in SCREEN, rather than from TERMINAL, and check if they are for a terminal, like SVr4. - modify mcprint to use file descriptor in SCREEN, for consistency. - add xterm+focus to foot+base - correct definition of Charable() for non-wide ncurses library 20230603 - add configure option --with-strip-program, to override program chosen by the install program for stripping executables - fix typo in INSTALL - improve error-checks for isEILSEQ() - increase MB_CUR_MAX to 16, matching glibc's MB_LEN_MAX. - corrected mouse mask in test/testcurs.c - improve thread lock in lib_trace.c 20230527 - fixes for compiler warnings/cppcheck. 20230520 - fixes for compiler warnings in MinGW environments. 20230514 - modify test-package "ncurses6-doc" to use manpage-aliases, which in turn required a change to the configure script to factor in the extra-suffix option when deriving alias names. - add mode 1004 to xterm+sm+1006 from xterm 380 20230506 - build-fixes related to configure-options and/or platform: - fix for --enable-fvisibility - fix for unusual values of --with-rel-version - fix for unusual values of --with-abi-version - fix for --disable-tcap-names - fix for termcap in nc_access.h (report by Werner Fink). 20230429 - revise recent change to _nc_write_entry to isolate it to a Cygwin bug - amend fix for wgetnstr, wgetn_wstr to use cbreak mode unless raw mode was set - fix a few warnings from cppcheck, etc. - correct copy/paste error in nc_access.h 20230424 - check return value of _nc_save_str(), in special case for tic where extended capabilities are processed but the terminal description was not initialized - regenerate llib-* files. 20230423 - add tiscan_s() to help applications check formatting capabilities that would be passed to tiparm_s, etc. - add tiparm_s() to provide applications a way to tell ncurses what the expected parameters are for a capability - improve check in lib_tparm.c, ensuring that a char* fits into a TPARM_ARG. - add --disable-setuid-environ configure option - drop compatibility with obsolete versions of tack, e.g., pre-1.08 20230418 - improve checks for limits on privileged execution: - modify _nc_syserr_abort() to use _nc_env_access(), rather than only