Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | * sigproc.cc (sig_send): Set PIPE_NOWAIT for pipes which are not us. | Christopher Faylor | 2013-12-18 | 2 | -1/+14 |
| | |||||
* | * fhandler.h (fhandler_pty_master::~fhandler_pty_master): Delete. | Christopher Faylor | 2013-12-17 | 4 | -10/+8 |
| | | | | * fhandler_tty.cc (fhandler_pty_master::~fhandler_pty_master): Ditto. | ||||
* | * syscalls.cc (NT_TRANSACTIONAL_ERROR): Define. | Corinna Vinschen | 2013-12-11 | 3 | -9/+57 |
| | | | | | | | | | | | (stop_transaction): Take "trans" HANDLE by reference and set it to NULL after closing it. (unlink_nt): If NtOpenFile fails due to a transactional error, stop transaction and retry NtOpenFile. Simplify check for having to call stop_transaction. (rename): If NtOpenFile fails due to a transactional error, stop transaction and retry NtOpenFile in both affected cases. Simplify check for having to call stop_transaction and add comment from unlink_nt. | ||||
* | * mount.cc (fs_info::update): Fix formatting. | Corinna Vinschen | 2013-12-11 | 2 | -2/+6 |
| | |||||
* | * fhandler.h (fhandler_dev_clipboard): Add private member | Corinna Vinschen | 2013-12-10 | 3 | -4/+14 |
| | | | | | | | | cygnativeformat. Declare private method set_clipboard. * fhandler_clipboard.cc (cygnativeformat): Convert static variable to fhandler_dev_clipboard member. (fhandler_dev_clipboard::set_clipboard): Convert from static function to fhandler_dev_clipboard method. | ||||
* | signal hang | Christopher Faylor | 2013-12-09 | 1 | -0/+10 |
| | |||||
* | * globals.cc (hntdll): Define/declare. | Christopher Faylor | 2013-12-09 | 4 | -0/+13 |
| | | | | | | * exceptions.cc (inside_kernel): Don't call GetModuleFileName if we know we're in ntdll. * sigproc.cc (wait_sig): Initialize hntdll. | ||||
* | * include/cygwin/stdlib.h (initstate, random, setstate, srandom): | Corinna Vinschen | 2013-12-09 | 2 | -1/+9 |
| | | | | | Harden _XOPEN_SOURCE guard against applications defining _XOPEN_SOURCE with empty value. | ||||
* | * include/cygwin/version.h (CYGWIN_VERSION_DLL_MINOR): Bump to 28. | Corinna Vinschen | 2013-12-08 | 2 | -1/+5 |
| | |||||
* | *** empty log message *** | Corinna Vinschen | 2013-12-08 | 1 | -0/+1 |
| | |||||
* | * new-features.xml (ov-new1.7.26): Add new section. | Corinna Vinschen | 2013-12-07 | 2 | -0/+19 |
| | |||||
* | * path.cc (symlink_native): Workaround Windows 8.1 bug: Drop long path | Corinna Vinschen | 2013-12-07 | 3 | -4/+35 |
| | | | | prefix from symlink target path. Add comment to explain why. | ||||
* | * syscalls.cc (dup): Use cygheap_fdnew properly. | Christopher Faylor | 2013-12-06 | 2 | -1/+5 |
| | |||||
* | * cygheap.h (cygheap_fdnew): Avoid setting errno directly since it will have | Christopher Faylor | 2013-12-05 | 5 | -10/+33 |
| | | | | | | | | | | | | been set by a previous function. * dtable.h (dtable::extend): Accept second size_t argument. * dtable.cc (dtable::extend): Accept second "min" argument which allows checking for OPEN_MAX_MAX boundary conditions. (dtable_init): Accommodate second argument to dtable::extend. (dtable::find_unused_handle): Ditto. * syscalls.cc (setdtablesize): Ditto. (dup): Return any error passed by cygheap_fdnew() directly. (getdtablesize): Just return dtable size directly. | ||||
* | * dtable.cc (dtable::find_unused_handle): When extending, always make sure that | Christopher Faylor | 2013-12-04 | 2 | -1/+8 |
| | | | | there is a NOFILE_INCR chunk following the free fd. | ||||
* | * configure.ac: Back out stupid change. | Christopher Faylor | 2013-12-03 | 3 | -10/+11 |
| | | | | * configure: Regenerate. | ||||
* | * select.cc (select): Add workaround for, as yet undebugged, pathological case. | Christopher Faylor | 2013-12-03 | 2 | -3/+11 |
| | |||||
* | * configure.ac: Don't require 64-bit compiler for 32-bit builds. | Christopher Faylor | 2013-12-03 | 3 | -100/+114 |
| | | | | * configure: Regenerate. | ||||
* | * dtable.cc (dtable::find_unused_handle): Break out of the right loop. | Christopher Faylor | 2013-12-01 | 2 | -2/+6 |
| | |||||
* | * dtable.cc (dtable::find_unused_handle): Fix off-by-one error. Always exit | Christopher Faylor | 2013-12-01 | 3 | -18/+29 |
| | | | | | | | | | through the bottom. (cygwin_attach_handle_to_fd): Make sure that fd tab is locked for the duration of this function. * dtable.h (dtable::lock): Make public. (dtable::unlock): Ditto. (dtable): Remove friends. | ||||
* | Fix ChangeLog entry | Corinna Vinschen | 2013-12-01 | 1 | -3/+4 |
| | |||||
* | * dtable.cc (dtable::extend): Change local variable new_size to size_t | Corinna Vinschen | 2013-12-01 | 3 | -3/+10 |
| | | | | | | as well. * thread.cc: Fix comment. | ||||
* | . | Christopher Faylor | 2013-12-01 | 1 | -2/+5 |
| | |||||
* | * dtable.h (dtable::first_fd_for_open): Change declaration to size_t. | Christopher Faylor | 2013-12-01 | 3 | -10/+18 |
| | | | | | | | | | (dtable::extend): Change parameter to size_t. (dtable::find_unused_handle): Ditto. * dtable.cc: Remove now-unused header. (dtable::extend): Remove pointless test. Change parameter to size_t. (dtable::find_unused_handle): Rework to avoid MAX calculation in extend() call. Change parameter to size_t. | ||||
* | * dtable.cc (build_fh_pc): When creating an archetype, use native name rather | Christopher Faylor | 2013-12-01 | 3 | -1/+12 |
| | | | | than unix name if name doesn't exist. | ||||
* | * include/cygwin/version.h (CYGWIN_VERSION_DLL_MINOR): Bump to 27. | Christopher Faylor | 2013-11-29 | 2 | -1/+5 |
| | |||||
* | * include/cygwin/stdlib.h(initstate, random, setstate, srandom) : | Jon TURNEY | 2013-11-29 | 2 | -0/+9 |
| | | | | Prototype if not __STRICT_ANSI__ or _XOPEN_SOURCE is defined appropriately. | ||||
* | * new-features.xml (ov-new1.7.26): Fix section ID and title. Add | Corinna Vinschen | 2013-11-29 | 2 | -1/+11 |
| | | | | posix_spawn item. | ||||
* | * include/glob.h: Fix invalid use of 'restrict' error. | Corinna Vinschen | 2013-11-28 | 2 | -1/+5 |
| | |||||
* | * syscalls.cc (try_to_bin): Enhance debug output in case reopen fails. | Corinna Vinschen | 2013-11-27 | 2 | -1/+6 |
| | |||||
* | * syscalls.cc (try_to_bin): Drop fh_dup, reuse tmp_fh instead. | Corinna Vinschen | 2013-11-27 | 2 | -3/+6 |
| | |||||
* | * syscalls.cc (try_to_bin): Take additional parameter to get file open | Corinna Vinschen | 2013-11-27 | 3 | -5/+43 |
| | | | | | | | flags. If the file to move to the bin has been opened casesensitive, reopen it caseinsensitive. Explain why. Revert the default name of the Vista-and-later recycler to mixed case for readability. (unlink_nt): Call try_to_bin with file open flags as evaluated. | ||||
* | * nlsfuncs.cc (wcscoll): Add "__restrict" to definition. | Corinna Vinschen | 2013-11-26 | 2 | -2/+7 |
| | | | | (wcsxfrm): Ditto. | ||||
* | * common.din: Export posix_spawn[...] functions. | Corinna Vinschen | 2013-11-26 | 6 | -2/+56 |
| | | | | | | | * exec.cc (execve): Add EXPORT_ALIAS _execve. * include/cygwin/version.h (CYGWIN_VERSION_API_MINOR): Bump. * posix.sgml (std-susv4): Add posix_spawn[...] here. (std-notimpl): Drop here. | ||||
* | * nlsfuncs.cc (strcoll): Add "__restrict" to definition. | Corinna Vinschen | 2013-11-26 | 2 | -2/+7 |
| | | | | (strxfrm): Ditto. | ||||
* | Throughout, keep function definitions and declarations in sync with | Corinna Vinschen | 2013-11-25 | 15 | -30/+47 |
| | | | | newlib in terms of C99 "restrict" keyword. | ||||
* | * dtable.cc: Include sys/param.h for MAX definition. | Corinna Vinschen | 2013-11-24 | 2 | -0/+5 |
| | |||||
* | Throughout, drop unnecessary explicit includes of windows header files | Corinna Vinschen | 2013-11-24 | 21 | -49/+23 |
| | | | | | | | | | | | | included by default. * winlean.h: Add long comment to explain why we have to define certain symbols. (_NORMALIZE_): Define. (_WINNLS_): Drop definition and subsequent undef. (_WINNETWK_): Ditto. (_WINSVC_): Ditto. 2013-11-23 Eric Blake <eblake@redhat.com> | ||||
* | *** empty log message *** | Corinna Vinschen | 2013-11-24 | 1 | -0/+2 |
| | |||||
* | dup2: fix off-by-one crash | Eric Blake | 2013-11-23 | 3 | -2/+15 |
| | | | | | | * dtable.cc (dup3): Fix off-by-one. (find_unused_handle): Reduce time spent expanding during dup. * syscalls.cc (setdtablesize): Report error on invalid value. | ||||
* | * new-features.xml (ov-new1.7.26): Add new section. | Corinna Vinschen | 2013-11-23 | 2 | -0/+39 |
| | |||||
* | * include/cygwin/stdlib.h (realpath): Drop declaration. It's declared | Corinna Vinschen | 2013-11-20 | 2 | -1/+5 |
| | | | | in newlib's stdlib.h now. | ||||
* | * cygcheck.cc (RtlGetVersion): Declare. | Corinna Vinschen | 2013-11-19 | 2 | -9/+18 |
| | | | | | | | | (dump_sysinfo): Call RtlGetVersion rather than GetVersionEx to get correct OS info even on Windows 8.1. Don't check return value since RtlGetVersion never fails per MSDN. Move fetching kernel32 module handle where it's really needed. Drop temporary comment added by previous checkin. | ||||
* | * ntdll.h (RtlGetVersion): Declare. | Corinna Vinschen | 2013-11-19 | 5 | -7/+20 |
| | | | | | | | * wincap.cc (wincapc::init): Rather than GetVersionEx, call RtlGetVersion which is not crippled by missing Windows 8.1 manifest. * wincap.h (wincapc): Change type of version to RTL_OSVERSIONINFOEXW. Align formatting of all class members. | ||||
* | * cygcheck.cc (dump_sysinfo): Revert Windows 8.1 hack. It's not | Corinna Vinschen | 2013-11-19 | 2 | -11/+9 |
| | | | | working. Add a (hopefully temporary) comment. | ||||
* | * wincap.cc (wincapc::init): Revert previous change. It's not working. | Corinna Vinschen | 2013-11-19 | 3 | -13/+4 |
| | |||||
* | *** empty log message *** | Corinna Vinschen | 2013-11-19 | 1 | -0/+4 |
| | |||||
* | * net.cc (cygwin_getaddrinfo): Fix a comment. Only memset whints if | Corinna Vinschen | 2013-11-19 | 2 | -7/+17 |
| | | | | | | hints is NULL. Add a comment and set whints.ai_family explicitely to AF_UNSPEC to follow glibc man page closely. Check flags against whints for locality. | ||||
* | * wincap.cc (wincapc::init): Fix dwMinorVersion for Windows 8.1 and | Corinna Vinschen | 2013-11-19 | 2 | -0/+14 |
| | | | | Server 2012. Explain why this is necessary. | ||||
* | Add missing entry | Corinna Vinschen | 2013-11-19 | 1 | -0/+3 |
| |