| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
no artificially large limits.
|
|
|
|
| |
closes.
|
|
|
|
|
| |
handling for nonblocking connects to return EALREADY when
connect is called more than once for the same socket.
|
|
|
|
|
|
|
|
|
|
| |
* fhandler.cc (fhandler_base::write): Only make file sparse if the
seeked area is >= 128K.
* syslog.cc (vsyslog): New function, overtaking functionality from
syslog.
(syslog): Just call vsyslog.
* include/cygwin/version.h: Bump API minor.
* include/sys/syslog.h: Add vsyslog declaration.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* lib/test.c: #include <powerprof.h>.
2003-06-06 James E. Lucas <xelloss@sourceforge.net>
* include/powerprof.h: New file.
* lib/powerprof.def: New file.
2003-06-06 Danny Smith <dannysmith@users.sourceforge.net>
* include/winnt (SLIST_HEADER): Add C90 anonymous struct
protection.
|
|
|
|
| |
debug_printf.
|
|
|
|
|
| |
hInstance members to HINSTANCE.
Thanks to: Brenden T. <brenden@rcsis.com>
|
|
|
|
| |
sure that heap_chunk is set.
|
|
|
|
|
| |
* include/lmaccess.h (UF_MNS_LOGON_ACCOUNT): Add define.
* include/wingdi.h (LPRGBTRIPLE, LPRGBQUAD): Add typedefs.
|
|
|
|
| |
a potential SEGV.
|
|
|
|
|
|
|
| |
* fhandler_disk_file.cc (fhandler_disk_file::fstat): Mark the pc
as non-executable if the file cannot be opened for read. Retry query
open only if errno is EACCES. Never change the mode, even if it is 000
when query open() fails.
|
|
|
|
| |
* configure: Regenerate.
|
|
|
|
| |
* configure: Regenerate.
|
|
|
|
|
|
|
|
|
| |
(accept_thread): Remove.
(fhandler_socket::connect): Remove all special blocking handling.
(fhandler_socket::accept): Ditto.
* net.cc (cygwin_connect): Make blocking sockets temporarily
non-blocking and call cygwin_select on them to be interruptible.
(cygwin_accept): Ditto.
|
| |
|
|
|
|
|
|
|
| |
* include/winnt.h (POWER_INFORMATION_LEVEL): Add.
* include/ddk/winddk.h (SINGLE_LIST_ENTRY,SLIST_HEADER):
Remove.
* include/ddk/ndis.h (NdisAllocateSpinLock): Add missing '\'.
|
|
|
|
|
| |
* cygthread.cc (cygthread::terminate_thread): Deallocate free_range thread
stuff.
|
|
|
|
| |
to `interrupted' as used in fhandler_socket::connect.
|
|
|
|
|
| |
patch.
(fhandler_socket::accept): Ditto.
|
|
|
|
|
|
|
|
|
| |
(class sock_event): Remove.
(thread_connect): New function.
(thread_accept): Ditto.
(fhandler_socket::connect): Use cygthread instead of socket event
handling for blocking sockets.
(fhandler_socket::accept): Ditto.
|
|
|
|
| |
glitch.
|
|
|
|
|
| |
* fhandler_disk_file.cc (fhandler_disk_file::fstat_by_name): Assume
an existing directory is a root if FindFirstFile fails.
|
|
|
|
| |
actually valid. Fix it.
|
|
|
|
|
|
| |
problems with.
* path.cc (path_conv::check): Rework has_acls logic slightly. Uncouple exec
tests away from filesystem tests.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* lib/oleacc.def: New file.
* include/winable.h: New file.
* include/oleacc.h: Add extern "C" guard.
(NAVDIR_*, ROLE_*, STATE_*): Add missing constants.
(AccessibleChildren, AccessibleObjectFromEvent,
AccessibleObjectFromPoint, AccessibleObjectFromWindow,
CreateStdAccessibleProxy[AW], GetOleaccVersionInfo, GetRoleText[AW],
GetStateText[AW], LresultFromObject, ObjectFromLresult,
WindowFromAccessibleObject): Add prototypes and UNICODE mappings.
* include/winuser.h (NotifyWinEvent): Add prototype.
(OBJID_WINDOW, OBJID_SYSMENU, OBJID_TITLEBAR,
OBJID_MENU, OBJID_CLIENT, OBJID_VSCROLL, OBJID_HSCROLL,
OBJID_SIZEGRIP, OBJID_CARET, OBJID_CURSOR, OBJID_ALERT,
OBJID_SOUND): Move from here to...
* include/winable.h (OBJID_WINDOW, OBJID_SYSMENU, OBJID_TITLEBAR,
OBJID_MENU, OBJID_CLIENT, OBJID_VSCROLL, OBJID_HSCROLL,
OBJID_SIZEGRIP, OBJID_CARET, OBJID_CURSOR, OBJID_ALERT,
OBJID_SOUND): Here, as per documentation.
* lib/test.c: Include winable.h.
* lib/user32.def (NotifyWinEvent): Add missing export.
|
|
|
|
|
|
| |
* include/winbase.h (HeapCompact): Correct prototype.
* include/winnt.h (SINGLE_LIST_ENTRY, SLIST_ENTRY,
SLIST_HEADER): Add.
|
| |
|
|
|
|
| |
* include/sys/types.h (_ssize_t, ssize_t): Add typedefs.
|
|
|
|
| |
conditional.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
* path.cc (path_conv::check): Set exec state based on known situations.
* path.cc (mount_item::fnmunge): New function.
(mount_item::build_win32): New function.
(mount_info::conv_to_win32_path): Use build_win32 to build windows path.
* path.h (mount_item::fnmunge): Declare new function.
(mount_item::build_win32): Ditto.
* sys/mount.h (MOUNT_ENC): Define.
|
|
|
|
|
|
| |
revert to original account before calling fixup_before_fork_exec
and impersonate again afterwards. Change comment accordingly.
Clean up error handling and debug output.
|
|
|
|
|
|
|
| |
(sock_event::load): Change to void. Check if winsock2 is available.
(socke_event::wait): Return 0 if interruptible mode is not available.
(fhandler_socket::connect): Remove checks for winsock2 availability.
(fhandler_socket::accept): Ditto.
|
|
|
|
| |
using WSADuplicateSocket/WSASocket, if that fails, try DuplicateHandle.
|
|
|
|
| |
permissions throug umask on FAT or if ntsec is off.
|
| |
|
|
|
|
| |
instead of numeric constant.
|
|
|
|
|
| |
sock_event methods by a check for WinSock2 availability.
(fhandler_socket::accept): Ditto.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(fhandler_base::set_did_lseek): Rename from set_check_win95_lseek_bug.
(fhandler_base::get_did_lseek): Rename from get_check_win95_lseek_bug.
(fhandler_base::set_fs_flags): New method.
(fhandler_base::get_fs_flags): Ditto.
* fhandler.cc (fhandler_base::write): Make 64 bit clean. Convert file
to a "sparse" file when writing after a long lseek (>64K) beyond EOF.
(fhandler_base::lseek): Call set_did_lseek() instead of
set_check_win95_lseek_bug().
(fhandler_base::fhandler_base): Initialize fs_flags to 0.
* fhandler_disk_file.cc (fhandler_disk_file::open): Don't create files
as "sparse" unconditionally. Set fs_flags member.
|
| |
|
|
|
|
|
|
|
|
| |
* syscalls.cc (statfs): Call full_path.root_dir() instead of
rootdir(full_path). Use GetDiskFreeSpaceEx when available and
report space available in addition to free space.
* fhandler_disk_file.cc (fhandler_disk_file::fstat_by_name):
Do not call FindFirstFile for disk root directories.
|
|
|
|
|
| |
instead of VirtualSize.
(get_mem_values): Ditto.
|
|
|
|
|
|
|
|
|
|
| |
* include/winuser.h (EnumDisplayDevices[AW]): Add prototypes.
* include/wingdi.h (DISPLAY_DEVICE): UNICODE it.
2003-05-23 Andrew Dunbar <hippietrail@users.sourceforge.net>
* include/wingdi.h (GCP_RESULTS[AW]) Correct type of
lpGlyphs field to LPWSTR.
|
|
|
|
|
|
|
| |
PUBLICKEYBLOBEX, SYMMETRICWRAPKEYBLOB) Add defines.
(PP_*): Add defines.
(CryptContextAddRef): Add prototype.
Thanks to: Shura Zam <debil_urod@users.sourceforge.net>
|
|
|
|
|
|
|
|
|
|
|
| |
* shared.cc (shared_name): Use incoming char * parameter instead of
local static buffer.
(open_shared): Accomodate new calling convention for shared_name.
* exceptions.cc (events_init): Ditto.
* sigproc.cc (getsem): Ditto.
* syscalls.cc (login): Ditto.
(logout): Ditto.
(pututline): Ditto.
|
|
|
|
|
|
|
| |
char *parameter instead of local static buffer.
(fhandler_socket::create_secret_event): Accomodate new calling
convention for secret_event_name.
(fhandler_socket::close_secret_event): Ditto.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(ENTROPY_SOURCE_NAME): Ditto.
(secret_event_name): New static function. Create shared event name
with "Global\" prefix on systems supporting terminal services.
(fhandler_socket::set_connect_secret): Fix conditional.
(fhandler_socket::create_secret_event): Create secret event using
secret_event_name().
(fhandler_socket::close_secret_event): Ditto.
* shared.cc (shared_name): Create shared object name with "Global\"
prefix on systems supporting terminal services.
* wincap.cc: Set has_terminal_services capability throughout.
(wincap_2003): New global object representing Windows 2003 Server
capabilities.
(wincapc::init): Accomodate Windows 2003 Server.
* wincap.h (struct wincaps): Add has_terminal_services capability.
|
|
|
|
|
|
| |
* winsup/cygwin/include/cygwin/types.h: Define key_t as long long.
* winsup/cygwin/cygwin.din: Add ftok, _ftok.
* winsup/cygwin/ipc.cc (ftok): Rework implementation.
|
| |
|