| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
been explicitly set.
* include/cygwin/version.h: Bump DLL minor version number to 2.
|
| |
|
|
|
|
|
|
|
| |
into pieces.
* syslog.cc (vsyslog): Set default facility to LOG_USER if it hasn't
been set yet.
|
|
|
|
| |
copied over. Add paragraph about TMP, TEMP, and TMPDIR.
|
|
|
|
| |
directory and siblings as nohandle fhandler.
|
| |
|
|
|
|
| |
owner and owner group.
|
|
|
|
| |
* include/_mingw.h: Increment version to 3.17.
|
|
|
|
|
| |
* mingwex/gdtoa/misc.c: Fix security vulnerability in gdtoa:
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2009-0689
|
|
|
|
|
| |
comments. Always open file synchronized when reading header bytes,
otherwise suffer stack corruption.
|
| |
|
|
|
|
|
| |
hMainProc as process handle when duplicating the stdout handle.
Explain why. Add Win32 error code to debug output.
|
|
|
|
|
|
|
|
| |
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_base::set_close_on_exec for inheritable sockets.
|
|
|
|
|
| |
* syscalls.cc (nt_path_has_executable_suffix): Add ro_u_dll to
blessed_executable_suffixes array. Explain why.
|
|
|
|
| |
* include/shlobj.h (SHParseDisplayName): Fix definition.
|
|
|
|
|
| |
* include/w32api.h: Increment version to 3.14.
* Makefile.in: Ditto.
|
|
|
|
|
|
| |
* include/shlobj.h (SHParseDisplayName): Define.
Thanks to James Roberts-Thomson for the report.
|
|
|
|
|
|
| |
* include/wingdi.h (ENHMFENUMPROC): Correct definition.
Thanks to Alexander Vassilev for the report.
|
|
|
|
|
|
| |
* include/iprtrmib.h (MIB_IPADDRROW): Correct definition.
Thanks to Thomas Denk for the report.
|
|
|
|
|
|
| |
* include/winbase.h (UnmapViewOfFile): Correct definition.
Thanks to Dimitry Sibiryakov for the report.
|
|
|
|
| |
* include/sspi.h: Include ntsecapi.h to correct postgresql build error.
|
|
|
|
|
| |
* include/commctrl.h (GetMUILanguage, InitMUILanguage): Add prototypes.
* lib/comctl32.def (GetMUILanguage, InitMUILanguage): Define.
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
| |
* include/winver.h (VerQueryValue[AW]): Correct definition.
|
|
|
|
|
|
|
| |
* include/shlobj.h (SHARD): Add enum.
(SHARD_PATH): Define based on UNICODE.
Thanks to Jacek Caban for the report.
|
|
|
|
| |
original BSD code, but keep it in and documented why we can't use it.
|
|
|
|
|
| |
explaining fstab content. Add paragraph about Extended Attributes.
Discourage chroot.
|
|
|
|
| |
on Samba. Change comment.
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
| |
* environ.cc (setenv): Detect invalid argument.
(unsetenv): Distinguish EFAULT from EINVAL.
|
| |
|
|
|
|
| |
against cygstdc++-6.dll due to references to __cxa_pure_virtual.
|
|
|
|
|
|
| |
* include/wingdi.h (_devicemodeW, _devicemodeA): Correct definition.
Thanks to Bruno Martinez for the report.
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
| |
* include/io.h (_open_osfhandle): Correct definition.
Thanks to Alexander Shaduri for the information.
|
|
|
|
|
|
| |
* include/wincon.h (AttachConsole): Correct guard.
Thanks to Alexander Shaduri for report.
|
|
|
|
|
| |
* include/wininet.h (NTERNET_CACHE_ENTRY_INFOW): Correct definition.
(DeleteUrlCacheEntryW, DeleteUrlCacheEntryA): Define.
|
|
|
|
| |
* include/winerror.h: Fix typos in macro names.
|
|
|
|
|
| |
* include/winuser.h (SendMessageTimeoutA, SendMessageTimeoutW): Correct
definition.
|
|
|
|
| |
* include/winnt.h (PROCESS_SUSPEND_RESUME): Define.
|
|
|
|
| |
from getsockopt if setsockopt with desired values failed.
|
|
|
|
|
| |
(ov-new1.7-device): Add API get_avphys_pages, get_nprocs,
get_nprocs_conf, and get_phys_pages.
|
|
|
|
|
|
|
|
|
|
| |
(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.
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
(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.
|
|
|
|
| |
2009-11-09.
|
|
|
|
|
|
| |
symlink_info::check_reparse_point().
* path.cc (symlink_info::check_reparse_point): Rearrange slightly.
Add code path for unrecognized repare point types. Add comment.
|