- Dec 19, 2020
-
-
Jeff Johnston authored
-
- Dec 18, 2020
-
-
Paul Zimmermann authored
-
Jeff Johnston authored
- fixes issue with inf sign when x is -0
-
- Dec 17, 2020
-
-
Brian Inglis authored
Update to Linux next 5.10 cpuinfo flags for Intel SDM 36.7.1 Software Guard Extensions, and 38.1.4 SGX Launch Control Configuration. Launch control restricts what software can run with enclave protections, which helps protect the system from bad enclaves.
-
Craig Blackmore authored
-
Jeff Johnston authored
-
- Dec 16, 2020
-
-
Takashi Yano via Cygwin-patches authored
- Previous workaround has a problem that screen is distorted if up arrow key is pressed at the first line after running "rlwrap cmd". This patch fixes the issue.
-
Takashi Yano via Cygwin-patches authored
- Previous code to read response for CSI6n allows invalid response such as "CSI Pl; Pc H" other than correct response "CSI Pl; Pc R". With this patch, the response is checked more strictly.
-
- Dec 15, 2020
-
-
Corinna Vinschen authored
if an application built after API version 334 loads uname dynamically, it actually gets the old uname, rather than the new uname_x. Fix this by checking the apps API version in uname and call uname_x instead, if it's a newer app. Signed-off-by:Corinna Vinschen <corinna@vinschen.de>
-
Sebastian Huber authored
The Cortex-R52 processor is an Armv8-R processor with a NEON unit. This fix prevents conflicting architecture profiles A/R errors issued by the linker. Signed-off-by:Sebastian Huber <sebastian.huber@embedded-brains.de>
-
- Dec 14, 2020
-
-
Takashi Yano via Cygwin-patches authored
- If rlwrap is used with non-cygwin apps, it fails to setup pseudo console. This patch adds a workaround for this issue.
-
Takashi Yano via Cygwin-patches authored
- Sometimes timeout period in term_has_pcon_cap() may not be enough when the machine slows down for some reason. This patch eases the issue. In the new code, effective timeout period is expected to be extended as a result due to slowing-down the wait loop as well when the machine gets into busy.
-
Takashi Yano via Cygwin-patches authored
- This patch skips unnecessary term_has_pcon_cap() call if pseudo console is disabled.
-
- Dec 12, 2020
-
-
Fabian Schriever authored
This patch fixes the error found by Paul Zimmermann (see https://homepages.loria.fr/PZimmermann/papers/#accuracy) regarding x close to 1 and rather large y (specifically he found the case powf(0x1.ffffeep-1,-0x1.000002p+27) which returns +Inf instead of the correct value). We found 2 more values for x which show the same faulty behaviour, and all 3 are fixed with this patch. We have tested all combinations for x in [+1.fffdfp-1, +1.00020p+0] and y in [-1.000007p+27, -1.000002p+27] and [1.000002p+27,1.000007p+27].
-
Jeff Johnston authored
-
- Dec 10, 2020
-
-
Jeremy Drake via Cygwin-patches authored
This allows native processes to get Windows-default error handling behavior (such as invoking the registered JIT debugger).
-
- Dec 08, 2020
-
- Dec 07, 2020
-
-
Mark Geisert authored
The existing code errors as EINVAL any attempt to set a value for SO_PEERCRED via setsockopt() on an AF_UNIX/AF_LOCAL socket. But to enable the workaround set_no_getpeereid behavior for Python one has to be able to set SO_PEERCRED to zero. Ergo, this patch. Python has no way to specify a NULL pointer for 'optval'. This v2 of patch allows the original working (i.e., allow NULL,0 for optval,optlen to mean turn off SO_PEERCRED) in addition to the new working described above. The sense of the 'if' stmt is reversed for readability.
-
Mark Geisert authored
On some systems /bin/sh is not /bin/bash and cygmagic has bash-isms in it. So even though cygmagic has a /bin/bash shebang, it also needs to be launched with bash from within Makefile.in.
-
Anton Lavrentiev via Cygwin-patches authored
-
- Dec 04, 2020
-
-
Brian Inglis authored
-
Brian Inglis authored
-
- Dec 02, 2020
-
-
Corinna Vinschen authored
-
Jon Turney authored
Avoid referencing undefined max_mount_entry.
-
Corinna Vinschen authored
https://cygwin.com/pipermail/cygwin/2020-December/246938.html reports a problem where, when adding a Cygwin default symlink to $PATH since Cygwin 3.1.5, $PATH handling appears to be broken. 3.1.5 switched to WSL symlinks as Cygwin default symlinks. A piece of code in path handling skips resolving reparse points if they are the last component in the path. Thus a reparse point in $PATH is not resolved but converted to Windows path syntax verbatim. If you do this with a WSL symlink, certain WinAPI functions fail. The underlying $PATH handling fails to recognize the reparse point in $PATH and returns with STATUS_IO_REPARSE_TAG_NOT_HANDLED. As a result, the calling WinAPI function fails, most prominently so CreateProcess. Fix this problem by adding a PATH_REP_NOAPI bit to path_types and a matching method path_conv::is_winapi_reparse_point(). Right now this flag is set for WSL symlinks and Cygwin AF_UNIX sockets (new type implemented as reparse points). The aforementioned code skipping repare point path resolution calls is_winapi_reparse_point() rather than is_known_reparse_point(), so now path resolution is only skipped for reparse points known to WinAPI. Signed-off-by:
Corinna Vinschen <corinna@vinschen.de>
-
Corinna Vinschen authored
Signed-off-by:Corinna Vinschen <corinna@vinschen.de>
-
Corinna Vinschen authored
This libltp is old as old dirt and still using K&R style. If it's really to be used again at all, it needs a serious refresh. Signed-off-by:Corinna Vinschen <corinna@vinschen.de>
-
- Dec 01, 2020
-
-
Corinna Vinschen authored
Network filesystems are not block devices. Apparently this code hasn't been executed anyway, given how network filesystems are hidden behind \Device\Mup. Signed-off-by:Corinna Vinschen <corinna@vinschen.de>
-
- Nov 30, 2020
-
-
Christian Franke authored
Use fhandler_dev_floppy instead of fhandler_procsys for such devices. The read()/write() functions from fhandler_procsys do not ensure sector aligned transfers and lseek() fails always. Signed-off-by:Christian Franke <franke@computer.org>
-
- Nov 25, 2020
-
-
Jon Turney authored
Improve the 'cygmagic' script, so it doesn't create the output file if an error occurs, even in one of the backtick-enclosed pipelines it runs.
-
Jon Turney authored
This has an separate, explicit compilation rule which omits CXXFLAGS, so expected flags like '-g -O2' aren't being used.
-
Jon Turney authored
libgmon.a depends on gcrt0.o, but doesn't include it.
-
- Nov 23, 2020
-
-
Takashi Yano via Cygwin-patches authored
-
Takashi Yano via Cygwin-patches authored
- If vim is executed in WSL in mintty, some garbage string caused by "OSC Ps;? BEL/ST" will be shown in some situations. This patch fixes the issue by removing "OSC Ps;? BEL/ST" from pseudo console output.
-
Takashi Yano via Cygwin-patches authored
- The code added by 8121b606 has a bug which fails to remove multiple "CSI > Pm m" sequences. This patch fixes the bug.
-
- Nov 20, 2020
-
-
Jon Turney authored
Since we are now only configuring once, in winsup, with AC_CONFIG_AUX_DIR(..), the auxiliary files are taken from the top-level. (Previously we had a random assorment of AC_CONFIG_AUX_DIR(..) and AC_CONFIG_AUX_DIR(../..) in winsup subdirectories, so auxiliary files would be taken from winsup or the top-level.)
-
Jon Turney authored
There's doesn't seem to be much use in independently distributing these subdirectories, so allowing them to be independently configured seems pointless and overcomplicated. The order in which the subdirectories are built is still a little odd, as cygwin is linked with libcygserver, and cygserver is then linked with cygwin. So, we build the cygwin directory first, which invokes a build of libcygserver in the cygserver directory, and then build in the cygserver directory to build the cygserver executable. Drop AC_CONFIGURE_ARGS, since we don't need to recursively call configure with the same arguments anymore. Slightly refine when we build utils: Previously we didn't build any utils if MinGW compiler use was avoided, now we just avoid building those utils which require that compiler. Greatly simplify how winsup_srcdir and target_builddir are set, since we're only configuring from one directory. (These are still kept absolute, since we don't adjust them where used for being used in a subdirectory). Remove configure.cygwin and put it's (greatly reduced) contents inline in the one place it's used now. Remove generated configure and aclocal.m4 in subdirectories.
-
Ken Brown authored
Traverse the fifo_client_handler list from the top down to try to avoid copying.
-
- Nov 19, 2020
-
-
Jon Turney authored
Drop unused variables CC_FOR_TARGET, GCC_INCLUDE, ALL_CFLAGS Stop exporting CC, CFLAGS Drop unused, empty targets force, dll_ofiles, all_target
-
Jon Turney authored
This has a test of the path translation code used in various utilities (mount, cygpath, strace). MOUNT_BINARY is replaced with the absence of MOUNT_TEXT since 26e0b37e. The issys member of mnt_t struct was removed in b677a99b. > $ make check [...] > total tests: 63 > pass : 63 (100.0%) > fail : 0 (0.0%)
-