summaryrefslogtreecommitdiffstats
path: root/winsup
Commit message (Collapse)AuthorAgeFilesLines
* * fhandler_fifo.cc (fhandler_fifo::open): Avoid resetting errno after it hasChristopher Faylor2009-12-094-5/+17
| | | | | been explicitly set. * include/cygwin/version.h: Bump DLL minor version number to 2.
* * include/cygwin/version.h: Bump DLL minor version number to 1.Corinna Vinschen2009-12-062-1/+5
|
* * fhandler_socket.cc (send_internal): Don't split datagram messagesCorinna Vinschen2009-12-023-5/+23
| | | | | | | into pieces. * syslog.cc (vsyslog): Set default facility to LOG_USER if it hasn't been set yet.
* * setup2.sgml (setup-env): Clarify that Windows environment getsCorinna Vinschen2009-12-022-1/+36
| | | | copied over. Add paragraph about TMP, TEMP, and TMPDIR.
* * fhandler_registry.cc (fhandler_registry::open): Mark /proc/registryCorinna Vinschen2009-12-012-0/+7
| | | | directory and siblings as nohandle fhandler.
* * speclib: Use last dll found since that's the real name of the cygwin DLL.Christopher Faylor2009-11-302-1/+6
|
* * setfacl.c (getaclentry): Allow to delete default entries for theCorinna Vinschen2009-11-292-3/+17
| | | | owner and owner group.
* 2009-11-29 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>Chris Sutcliffe2009-11-282-2/+6
| | | | * include/_mingw.h: Increment version to 3.17.
* 2009-11-25 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>Chris Sutcliffe2009-11-282-1/+40
| | | | | * mingwex/gdtoa/misc.c: Fix security vulnerability in gdtoa: http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2009-0689
* * fhandler_disk_file.cc (fhandler_base::fstat_helper): Fix typos inCorinna Vinschen2009-11-272-5/+12
| | | | | comments. Always open file synchronized when reading header bytes, otherwise suffer stack corruption.
* * cygcheck.cc (dump_sysinfo): Fix typo in products.Corinna Vinschen2009-11-272-1/+5
|
* * dtable.cc (dtable::stdio_init): Use GetCurrentProcess() rather thanCorinna Vinschen2009-11-262-3/+13
| | | | | hMainProc as process handle when duplicating the stdout handle. Explain why. Add Win32 error code to debug output.
* * fhandler_socket.cc (fhandler_socket::fixup_before_fork_exec): AddCorinna Vinschen2009-11-233-5/+25
| | | | | | | | socket handle value to debug output. (fhandler_socket::fixup_after_fork): Ditto. Make new socket handle OVERLAPPED, just as if it has been created with socket(). * net.cc (fdsock): Close duplicated socket and explain why. Disable the entire WSADuplicateSocket test for now and explain why.
* * fhandler_socket.cc (fhandler_socket::set_close_on_exec): Only callCorinna Vinschen2009-11-232-2/+12
| | | | fhandler_base::set_close_on_exec for inheritable sockets.
* * globals.cc (ro_u_dll): New R/O unicode string.Corinna Vinschen2009-11-213-0/+13
| | | | | * syscalls.cc (nt_path_has_executable_suffix): Add ro_u_dll to blessed_executable_suffixes array. Explain why.
* 2009-20-10 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>Chris Sutcliffe2009-11-212-1/+5
| | | | * include/shlobj.h (SHParseDisplayName): Fix definition.
* 2009-20-10 Chris Sutcliffe <ir0nh34d@users.sf.net>Chris Sutcliffe2009-11-213-3/+8
| | | | | * include/w32api.h: Increment version to 3.14. * Makefile.in: Ditto.
* 2009-20-10 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>Chris Sutcliffe2009-11-212-0/+7
| | | | | | * include/shlobj.h (SHParseDisplayName): Define. Thanks to James Roberts-Thomson for the report.
* 2009-20-10 Chris Sutcliffe <ir0n3h4d@users.sourceforge.net>Chris Sutcliffe2009-11-212-1/+7
| | | | | | * include/wingdi.h (ENHMFENUMPROC): Correct definition. Thanks to Alexander Vassilev for the report.
* 2009-20-10 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>Chris Sutcliffe2009-11-212-1/+7
| | | | | | * include/iprtrmib.h (MIB_IPADDRROW): Correct definition. Thanks to Thomas Denk for the report.
* 2009-20-10 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>Chris Sutcliffe2009-11-212-1/+7
| | | | | | * include/winbase.h (UnmapViewOfFile): Correct definition. Thanks to Dimitry Sibiryakov for the report.
* 2009-20-10 Aleksey Chernov <virxkane@users.sourceforge.net>Chris Sutcliffe2009-11-202-0/+6
| | | | * include/sspi.h: Include ntsecapi.h to correct postgresql build error.
* 2009-20-10 Heiko Hund <heiko@ist.eigentlich.net>Chris Sutcliffe2009-11-203-0/+13
| | | | | * include/commctrl.h (GetMUILanguage, InitMUILanguage): Add prototypes. * lib/comctl32.def (GetMUILanguage, InitMUILanguage): Define.
* 2009-20-10 Michael James <james.me@gmail.com>Chris Sutcliffe2009-11-204-1/+23
| | | | | | | | | | * include/wingdi.h (CLEARTYPE_QUALITY): Define. * include/winuser.h (WM_KEYLAST): Alternative definition when _WIN32_WINNT >= 0x0501. (WM_UNICHAR,UNICODE_NOCHAR): Define. * lib/comctl32.def (DefSubclassProc@16,GetWindowSubclass@16, RemoveWindowSubclass@12): Add exports. * lib/gdi32.def (GetDCBrushColor@4,GetDCPenColor@4): Add exports.
* 2009-20-10 Jarkko Sakkinen <jarkko.sakkinen@iki.fi>Chris Sutcliffe2009-11-203-0/+61
| | | | | | | | | | | | * include/winuser.h (WM_TOUCHMOVE, WM_TOUCHDOWN, WM_TOUCHUP, TOUCHEVENTF_DOWN, TOUCHEVENTF_INRANGE, TOUCHEVENTF_MOVE, TOUCHEVENTF_NOCOALESCE, TOUCHEVENTF_PALM, TOUCHEVENTF_PEN, TOUCHEVENTF_PRIMARY, TOUCHEVENTF_UP, TOUCHEVENTMASKF_CONTACTAREA, TOUCHEVENTMASKF_EXTRAINFO, TOUCHEVENTMASKF_TIMEFROMSYSTEM, TOUCHINPUT, CloseTouchInputHandle, GetTouchInputInfo, IsTouchWindow, RegisterTouchWindow, UnregisterTouchWindow): Define. * lib/user32.def (CloseTouchInputHandle, GetTouchInputInfo, IsTouchWindow, RegisterTouchWindow, UnregisterTouchWindow): Define.
* 2009-20-10 Dmitry Potapov <dpotapov@users.sourceforge.net>Chris Sutcliffe2009-11-202-2/+6
| | | | * include/winver.h (VerQueryValue[AW]): Correct definition.
* 2009-20-10 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>Chris Sutcliffe2009-11-202-2/+22
| | | | | | | * include/shlobj.h (SHARD): Add enum. (SHARD_PATH): Define based on UNICODE. Thanks to Jacek Caban for the report.
* * flock.cc (fhandler_disk_file::lock): Disable a shortcut from theCorinna Vinschen2009-11-182-0/+11
| | | | original BSD code, but keep it in and documented why we can't use it.
* * overview2.sgml (ov-hi-files): Remove reference to root directory whenCorinna Vinschen2009-11-182-13/+24
| | | | | explaining fstab content. Add paragraph about Extended Attributes. Discourage chroot.
* * ntea.cc (read_ea): Always add length of "user." prefix, not onlyCorinna Vinschen2009-11-182-7/+11
| | | | on Samba. Change comment.
* * ntea.cc (read_ea): Try to open file first to have more sensibleCorinna Vinschen2009-11-182-35/+65
| | | | | | | | | | error codes. Always refuse non "user." EAs for Linux compatibility and return EOPNOTSUPP. Fix handling of empty (== non-existant) EAs. Always prepend "user." prefix to EA names. (write_ea): Try to open file first to have more sensible error codes. Always refuse non "user." EAs for Linux compatibility and return EOPNOTSUPP. Delay skipping "user." prefix until after potential call to read_ea.
* Reintegrate socket duplication via WSADuplicateSocket/WSASocket.Corinna Vinschen2009-11-179-8/+221
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * autoload.cc (WSADuplicateSocketW): Define. (WSASocketW): Define. * dtable.cc (dtable::release): Call dec_need_fixup_before if necessary. (dtable::fixup_before_fork): New function. (dtable::fixup_before_exec): New function. * dtable.h (class dtable): Add member cnt_need_fixup_before. Add declarations for above new functions. (dtable::dec_need_fixup_before): New inline method. (dtable::inc_need_fixup_before): New inline method. (dtable::need_fixup_before): New inline method. * fhandler.h (fhandler_base::fixup_before_fork_exec): New virtual method. (fhandler_base::need_fixup_before): New virtual method. (class fhandler_socket): Add member prot_info_ptr. (fhandler_socket::init_fixup_before): Declare. (fhandler_socket::need_fixup_before): New inline method. (fhandler_socket::fixup_before_fork_exec): Declare. (fhandler_socket::fixup_after_exec): Declare. * fhandler_socket.cc (fhandler_socket::fhandler_socket): Initialize prot_info_ptr to NULL. (fhandler_socket::~fhandler_socket): Free prot_info_ptr conditionally. (fhandler_socket::init_fixup_before): New method. (fhandler_socket::fixup_before_fork_exec): Ditto. (fhandler_socket::fixup_after_fork): Use WSASocketW to duplicate socket if necessary. (fhandler_socket::fixup_after_exec): New method. (fhandler_socket::dup): Use fixup_before_fork_exec/fixup_after_fork to duplicate socket if necessary. * fork.cc (frok::parent): Start child suspended if some fhandler needs fixup before fork. If so, call dtable::fixup_before_fork after CreateProcess and resume child. * net.cc (fdsock): Try to find out if socket needs fixup before and initialize socket accordingly. Add HUGE comment to explain what happens and why. * spawn.cc (spawn_guts): Start child suspended if some fhandler needs fixup before exec. If so, call dtable::fixup_before_exec after CreateProcess.
* Fix setenv and unsetenv corner cases.Eric Blake2009-11-162-5/+13
| | | | | * environ.cc (setenv): Detect invalid argument. (unsetenv): Distinguish EFAULT from EINVAL.
* * pathnames.sgml (pathnames-specialchars): Fix typos.Corinna Vinschen2009-11-162-2/+6
|
* * Makefile.in (cygserver.exe): Link with -static to avoid linkingCorinna Vinschen2009-11-162-1/+6
| | | | against cygstdc++-6.dll due to references to __cxa_pure_virtual.
* 2009-14-09 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>Chris Sutcliffe2009-11-142-8/+18
| | | | | | * include/wingdi.h (_devicemodeW, _devicemodeA): Correct definition. Thanks to Bruno Martinez for the report.
* 2009-14-09 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>Chris Sutcliffe2009-11-142-0/+16
| | | | | | | | * include/shlobj.h (IDO_SHGIOI_SHARE, IDO_SHGIOI_LINK, IDO_SHGIOI_SLOWFILE, IDO_SHGIOI_DEFAULT, SHGetIconOverlayIndexW, SHGetIconOverlayIndexA, SHGetIconOverlayIndex): Define. Thanks to Tim Kosse for report.
* 2009-11-13 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>Chris Sutcliffe2009-11-142-1/+7
| | | | | | * include/io.h (_open_osfhandle): Correct definition. Thanks to Alexander Shaduri for the information.
* 2009-13-09 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>Chris Sutcliffe2009-11-142-1/+7
| | | | | | * include/wincon.h (AttachConsole): Correct guard. Thanks to Alexander Shaduri for report.
* 2009-13-09 Robert Moerland <rjmoerland@users.sourceforge.net>Chris Sutcliffe2009-11-142-2/+13
| | | | | * include/wininet.h (NTERNET_CACHE_ENTRY_INFOW): Correct definition. (DeleteUrlCacheEntryW, DeleteUrlCacheEntryA): Define.
* 2009-13-09 Jacky Lai <crazyjacky@users.sourceforge.net>Chris Sutcliffe2009-11-132-3/+7
| | | | * include/winerror.h: Fix typos in macro names.
* 2009-13-09 Jan Nijtmans <nijtmans@users.sourceforge.net>Chris Sutcliffe2009-11-132-2/+8
| | | | | * include/winuser.h (SendMessageTimeoutA, SendMessageTimeoutW): Correct definition.
* 2009-11-09 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>Chris Sutcliffe2009-11-132-0/+4
| | | | * include/winnt.h (PROCESS_SUSPEND_RESUME): Define.
* * net.cc (fdsock): Fill _rmem and _wmem with valid values returnedCorinna Vinschen2009-11-132-3/+21
| | | | from getsockopt if setsockopt with desired values failed.
* * new-features.sgml (ov-new1.7-os): Mention Windows 7 and 2008 R2.Corinna Vinschen2009-11-122-1/+10
| | | | | (ov-new1.7-device): Add API get_avphys_pages, get_nprocs, get_nprocs_conf, and get_phys_pages.
* * sysconf.cc (get_nprocs): New function.Corinna Vinschen2009-11-126-2/+75
| | | | | | | | | | (get_nprocs_conf): Ditto. (get_avphys_pages): Ditto. (get_phys_pages): Ditto. * cygwin.din: Export them. * include/sys/sysinfo.h: New header, decalre above new functions. * include/cygwin/version.h (CYGWIN_VERSION_API_MINOR): Bump. * posix.sgml: Mention them as GNU extensions.
* * fhandler.h (class fhandler_mailslot): Declare new private methodCorinna Vinschen2009-11-113-3/+30
| | | | | | | get_object_attr. * fhandler_mailslot.cc (fhandler_mailslot::get_object_attr): Implement. (fhandler_mailslot::open): Replace calls to path_conv::get_object_attr with calls to fhandler_mailslot::get_object_attr.
* * getfacl.c (print_version): Fix copyright.Corinna Vinschen2009-11-112-18/+23
| | | | | | (main): Don't reuse local variables confusingly. Don't print any file information if acl() fails. Improve error message. Always print a trailing empty line. Set return code to 2 if accessing some file fails.
* * fhandler_console.cc (fhandler_console::read): Revert change fromCorinna Vinschen2009-11-102-16/+16
| | | | 2009-11-09.
* * fhandler_disk_file.cc (is_volume_mountpoint): Align check withCorinna Vinschen2009-11-103-15/+31
| | | | | | symlink_info::check_reparse_point(). * path.cc (symlink_info::check_reparse_point): Rearrange slightly. Add code path for unrecognized repare point types. Add comment.