summaryrefslogtreecommitdiffstats
path: root/winsup
Commit message (Collapse)AuthorAgeFilesLines
* * winbase.h: Semi-reinstantiate to workaround lack inline assemblerCorinna Vinschen2012-11-113-8/+45
| | | | | | implementation of InterlockedCompareExchange for i686 in Mingw64 headers. * pinfo.cc (pinfo::init): Remove unused variable mapaddr.
* * path.cc (vcygpath): Handle cygdrive prefix.Corinna Vinschen2012-11-092-4/+16
|
* * sigproc.cc (proc_subproc): Delete unused variable child.Corinna Vinschen2012-11-082-1/+4
|
* * fhandler_termios.cc (fhandler_termios::line_edit): Don't do special characterChristopher Faylor2012-11-084-24/+30
| | | | | | 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.
* * mingw: Delete obsolete directory.Christopher Faylor2012-11-071039-246525/+5
| | | | * w32api: Ditto.
* Add missing ChangeLog entryCorinna Vinschen2012-11-071-0/+19
|
* winsup:Corinna Vinschen2012-11-076-62/+21
| | | | | | | | | | | | | | | | | | | | | | | | * 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.
* * Makefile.in (MINGW_CXX): Attach $(CFLAGS) to allow providingCorinna Vinschen2012-11-052-1/+6
| | | | build option tweaks to mingw compiler as well.
* * include/sys/termios.h (CBRK): Define as alias of CEOL.Yaakov Selkowitz2012-11-052-0/+16
| | | | | | (CREPRINT): Define as alias of CRPRNT. (CDISCARD): Define as alias of CFLUSH. (TTYDEF_*): Define.
* Fix copyrightCorinna Vinschen2012-10-311-1/+1
|
* * include/sys/param.h: Include stddef.h to define NULL.Corinna Vinschen2012-10-312-4/+7
|
* * fhandler_disk_file.cc (fhandler_disk_file::rewinddir): Fix usingCorinna Vinschen2012-10-312-1/+6
| | | | wrong value in condition.
* * include/sys/cygwin.h: Add missing defines for CW_ALLOC_DRIVE_MAP,Corinna Vinschen2012-10-302-0/+8
| | | | CW_MAP_DRIVE_MAP and CW_FREE_DRIVE_MAP.
* * dcrt0.cc (quoted): Renamed strechr to strchrnul.Kai Tietz2012-10-277-10/+19
| | | | | | | | * 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.
* * string.h (strechr): Replace assembler byKai Tietz2012-10-262-60/+37
| | | | | | C code. (ascii_strcasematch): Likewise. (ascii_strncasematch): Likwise.
* * dir.cc (closedir): Fix syscall_printf.Corinna Vinschen2012-10-262-1/+5
|
* * include/cygwin/signal.h (sigset_t): Define here.Corinna Vinschen2012-10-262-0/+6
|
* * bsd_helper.cc (adjust_identity_info): Fix typo in log message.Corinna Vinschen2012-10-252-2/+6
|
* * configure.in: Add AC_NO_EXECUTABLES.Corinna Vinschen2012-10-243-13/+97
| | | | * configure: Regenerate.
* Add missing ChangeLog entry.Christopher Faylor2012-10-241-0/+4
|
* * configure.in: Add AC_NO_EXECUTABLES,Corinna Vinschen2012-10-243-13/+97
| | | | * configure: Regenerate.
* * configure.in: Add check for MINGW_CXX. Remove libiconv check.Yaakov Selkowitz2012-10-248-1585/+1260
| | | | | | | | | | | * 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.
* * Makefile.in (DLL_IMPORTS): Use system import libraries forYaakov Selkowitz2012-10-242-2/+9
| | | | | | 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.
* 2012-10-24 Kai Tietz <ktietz70@googlemail.com>Yaakov Selkowitz2012-10-245-244/+252
| | | | | | | | | | | | | | | | 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.in: Add AC_NO_EXECUTABLES.Corinna Vinschen2012-10-243-13/+97
| | | | * configure: Regenerate.
* 2012-10-24 Kai Tietz <ktietz70@googlemail.com>Yaakov Selkowitz2012-10-246-1165/+1100
| | | | | | | | | | | 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.
* * thread.h (List_insert): Cast first parameter inCorinna Vinschen2012-10-232-8/+16
| | | | | InterlockedCompareExchangePointer call to avoid compiler warnings. (List_remove): Ditto.
* * winbase.h: Remove.Corinna Vinschen2012-10-222-98/+4
|
* * child_info.h (CURR_CHILD_INFO_MAGIC): Update.Corinna Vinschen2012-10-222-1/+5
|
* * include/cygwin/version.h (CYGWIN_VERSION_DLL_MINOR): Bump to 18.Corinna Vinschen2012-10-212-1/+5
|
* * new-features.sgml (ov-new1.7.17): Add section.Corinna Vinschen2012-10-202-0/+22
|
* * Makefile.in (cygcheck.exe): Add temporary (1.7.17-only) hack toCorinna Vinschen2012-10-192-1/+7
| | | | | allow cygcheck running on pre-Vista despite of the new w32api not matching the locally used w32api.
* *** empty log message ***Corinna Vinschen2012-10-161-0/+3
|
* *** empty log message ***Corinna Vinschen2012-10-161-0/+7
|
* * fhandler_floppy.cc (fhandler_dev_floppy::lseek): Remove lloffset.Corinna Vinschen2012-10-163-38/+34
| | | | | | 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.
* * fhandler_tty.cc (fhandler_pty_slave::write): Fix potential exit from loopChristopher Faylor2012-10-153-1/+11
| | | | | with write mutex held. Delete redundant mutex release. Clear tty error once we've grabbed it.
* * fhandler_raw.cc (fhandler_dev_raw::fhandler_dev_raw): Drop gratuitousCorinna Vinschen2012-10-152-6/+5
| | | | initializing from previous patch.
* * fhandler_floppy.cc (fhandler_dev_floppy::open): Fix comment.Corinna Vinschen2012-10-152-3/+7
|
* * fhandler_tty.cc (fhandler_pty_slave::write): DWORD -> BOOL.Christopher Faylor2012-10-152-1/+5
|
* * fhandler.h (class fhandler_dev_raw): Add members devbufalloc andCorinna Vinschen2012-10-136-80/+209
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* * fhandler_raw.cc (fhandler_dev_raw::open): Allow O_EXCL flag, as onCorinna Vinschen2012-10-122-3/+8
| | | | Linux.
* * fhandler_termios.cc (fhandler_termios::line_edit): Don't manipulateChristopher Faylor2012-10-124-16/+24
| | | | | | | | | 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'.
* * include/cygwin/in.h (struct in_addr): Guard with s_addr to avoidCorinna Vinschen2012-10-102-0/+9
| | | | potential collision with Win32 headers.
* * child_info.h (child_info_spawn::has_execed): Remove unneeded synchronization.Christopher Faylor2012-10-092-2/+5
|
* * pinfo.cc: Remove unneeded assert.h.Christopher Faylor2012-10-092-1/+4
|
* * cygcheck.cc (dump_sysinfo): Convert "if/else if" chain to a switchCorinna Vinschen2012-10-092-9/+21
| | | | | statement. Drop "not yet supported" and "Server" from Windows 2012 output string.
* * pinfo.cc (pinfo::init): Detect potential race where short block has beenChristopher Faylor2012-09-172-0/+14
| | | | retrieved but PID_EXECED flag is not set.
* * cygthread.cc (cygthread::stub): Remove old, unnecessary, FIXMEd code.Christopher Faylor2012-09-144-7/+12
| | | | * spawn.cc (child_info_spawn::worker): Avoid calling close_all_files() twice.
* * faq-what.xml: Fix typos, clarify responsibility slightly.Christopher Faylor2012-09-041-2/+2
|
* * pseudo-reloc.cc (auto_protect_for): New function.Corinna Vinschen2012-09-022-18/+57
| | | | | (__write_memory): Call auto_protect_for to handle page protection. (do_pseudo_reloc): Call auto_protect_for to restore old page protection.