| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
implementation of InterlockedCompareExchange for i686 in Mingw64
headers.
* pinfo.cc (pinfo::init): Remove unused variable mapaddr.
|
| |
|
| |
|
|
|
|
|
|
| |
handling when stopped by CTRL-S.
* fhandler_tty.cc (bytes_available): Add arguments to debug_only_printf call.
* sigproc.cc (proc_subproc): Simplify some if logic.
|
|
|
|
| |
* w32api: Ditto.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Makefile.common (zlib_source): Remove.
(zlib_build): Remove.
(bz2lib_source): Remove.
(bz2lib_build): Remove.
(w32api_source): Remove.
(w32api_build): Remove.
(w32api_lib): Remove.
(mingw_build): Remove.
(mingw_source): Remove.
($(w32api_lib)/%.a): Remove rule.
* Makefile.in (ZLIB): Remove.
($(SUBDIRS)): Drop mingw check.
(mingw): Remove rule.
(install_mingw): Ditto.
* configure.in: Remove support for mingw as build target.
* configure: Regenerate.
utils:
* Makefile.in ($(MINGW_BINS)): Drop -B$(mingw_build)/ from build
expression.
|
|
|
|
| |
build option tweaks to mingw compiler as well.
|
|
|
|
|
|
| |
(CREPRINT): Define as alias of CRPRNT.
(CDISCARD): Define as alias of CFLUSH.
(TTYDEF_*): Define.
|
| |
|
| |
|
|
|
|
| |
wrong value in condition.
|
|
|
|
| |
CW_MAP_DRIVE_MAP and CW_FREE_DRIVE_MAP.
|
|
|
|
|
|
|
|
| |
* environ.cc (environ_init): Likewise.
* sec_acl.cc (aclfromtext32): Likewise.
* sec_auth.cc (extract_nt_dom_user): Likewise.
* uinfo.cc (pwdgrp::next_str): Likewise.
* string.h (strechr): Likewise.
|
|
|
|
|
|
| |
C code.
(ascii_strcasematch): Likewise.
(ascii_strncasematch): Likwise.
|
| |
|
| |
|
| |
|
|
|
|
| |
* configure: Regenerate.
|
| |
|
|
|
|
| |
* configure: Regenerate.
|
|
|
|
|
|
|
|
|
|
|
| |
* configure: Regenerate.
* Makefile.in: Remove references to mingw and w32api directories.
Use MINGW_CXX instead of mingw script to build MINGW_BINS.
Check for libiconv with $CC --print-file-name.
* cygcheck.cc: Use relative include paths for Cygwin headers.
* path.cc: Ditto.
* strace.cc: Ditto
* mingw: Remove.
|
|
|
|
|
|
| |
kernel32 and ntdll instead of from in-tree w32api.
(cygwin0.dll): Remove rule dependency on DLL_IMPORTS, as they
are no longer built in-tree.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Yaakov Selkowitz <yselkowitz@users.sourceforge.net>
Corinna Vinschen <corinna@vinschen.de>
* configure.in [cygwin*]: Always build cygserver, lsaauth,
utils, and doc. Do not build mingw or w32api.
[mingw*]: Build w32api if present.
* configure: Regenerate.
* Makefile.common: Remove references to mingw and w32api
directories.
(MINGW_LDFLAGS): Redefine as -static to force static linking
with libgcc and libstdc++.
* Makefile.in: Remove references to mingw and w32api directories
from Cygwin targets.
|
|
|
|
| |
* configure: Regenerate.
|
|
|
|
|
|
|
|
|
|
|
| |
Yaakov Selkowitz <yselkowitz@users.sourceforge.net>
* configure.in: Check for MINGW32_CC and MINGW64_CC.
* configure: Regenerate.
* Makefile.in: Use MINGW32_CC and MINGW64_CC to build 32-bit and
64-bit DLLs. Remove references to mingw and w32api directories.
* cyglsa64.dll: Remove from version control.
* make-64bit-version-with-mingw-w64.sh: Remove.
|
|
|
|
|
| |
InterlockedCompareExchangePointer call to avoid compiler warnings.
(List_remove): Ditto.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
allow cygcheck running on pre-Vista despite of the new w32api not
matching the locally used w32api.
|
| |
|
| |
|
|
|
|
|
|
| |
Use offset directly. Add shortcut for lseek(fd, 0, SEEK_CUR) case.
(fhandler_dev_floppy::ioctl): Drop wrong RDSETBLK case.
* fhandler_raw.cc (fhandler_dev_raw::ioctl): Revamp RDSETBLK code.
|
|
|
|
|
| |
with write mutex held. Delete redundant mutex release. Clear tty error once
we've grabbed it.
|
|
|
|
| |
initializing from previous patch.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
devbufalign.
(class fhandler_dev_floppy): Remove member bytes_per_sector;
* fhandler_floppy.cc (bytes_per_sector): Define as devbufalign.
(fhandler_dev_floppy::open): Set devbufalign to a multiple of the
sector size and handle devbuf allocation and alignment in !O_DIRECT
case here. Change comment accordingly.
Call FSCTL_ALLOW_EXTENDED_DASD_IO for partitions as well.
(fhandler_dev_floppy::raw_write): Fix comment. Rewrite and fix
writing behaviour when application uses read and lseek.
(fhandler_dev_floppy::lseek): Use rounddown macro. Call
SetFilePointerEx rather than the old SetFilePointer.
(fhandler_dev_floppy::ioctl): Reformat switch. Call
IOCTL_DISK_UPDATE_PROPERTIES rather than IOCTL_DISK_UPDATE_DRIVE_SIZE
in BLKRRPART case. Support BLKIOMIN, BLKIOOPT, BLKPBSZGET and
BLKALIGNOFF.
* fhandler_raw.cc (fhandler_dev_raw::fhandler_dev_raw): Initialize
all devbuf-related members.
(fhandler_dev_raw::~fhandler_dev_raw): Delete devbufalloc rather than
devbuf.
(fhandler_dev_raw::open): Drop allocating devbuf.
(fhandler_dev_raw::dup): Allocate devbufalloc and set devbuf to support
new sector-aligned devbuf handling.
(fhandler_dev_raw::fixup_after_exec): Ditto.
* fhandler_tape.cc (fhandler_dev_tape::open): Ditto, set devbufalign
to 1.
* include/cygwin/fs.h (BLKIOMIN): Define.
(BLKIOOPT): Define.
(BLKALIGNOFF): Define.
(BLKPBSZGET): Define.
|
|
|
|
| |
Linux.
|
|
|
|
|
|
|
|
|
| |
output_mutex on CTRL-S/CTRL-Q to avoid a deadlock.
* fhandler_tty.cc (fhandler_pty_slave::write): Loop when output_stopped is
detected before acquiring output_mutex. Acquire output_mutex in the loop for
each write.
* tty.h: Remove some obsolete defines.
(tty_min::output_stopped): Make 'bool'.
|
|
|
|
| |
potential collision with Win32 headers.
|
| |
|
| |
|
|
|
|
|
| |
statement. Drop "not yet supported" and "Server" from Windows 2012
output string.
|
|
|
|
| |
retrieved but PID_EXECED flag is not set.
|
|
|
|
| |
* spawn.cc (child_info_spawn::worker): Avoid calling close_all_files() twice.
|
| |
|
|
|
|
|
| |
(__write_memory): Call auto_protect_for to handle page protection.
(do_pseudo_reloc): Call auto_protect_for to restore old page protection.
|