| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
* cygpath.cc (options) New global variable.
(main) Make short options global for easier change.
(print_version) Add a missing newline.
|
| |
|
| |
|
|
|
|
| |
(setegid32): Treat ILLEGAL_GID invalid.
|
|
|
|
| |
associated macros (copied from w32api/include/winsock.h).
|
|
|
|
|
| |
macros with _TIMEVAL_DEFINED.
* include/winsock2.h (timeval): Likewise.
|
|
|
|
|
|
|
| |
supplementary group sids that may have been set by setgroups.
* security.cc (cygsidlist::free_sids): Also zero the class members.
* security.h (groups::clear_supp): New.
Rename cygsidlist_unknown to cygsidlist_empty.
|
| |
|
| |
|
|
|
|
|
| |
handles since they are not properly manipulated later.
* tty.cc (tty::make_pipes): Ditto.
|
|
|
|
|
| |
(_WIN32_WINNT): Ditto.
Special thanks to Paul Schmidt <paul@tricattechnologies.com>
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Makefile.in: Ditto.
|
|
|
|
|
| |
* mingwex/vsnprintf.c: Ditto.
* mingwex/vsnwprintf.c: Ditto.
|
|
|
|
|
|
|
| |
* include/winbase.h (AllocateUserPhysicalPages,
MapUserPhysicalPages, MapUserPhysicalPagesScatter,
FreeUserPhysicalPages): Add prototypes.
* lib/kernel32.def: Add function stubs for above.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
* path.cc: Move all shortcut functions from shortcut.c to here.
(check_shortcut): Implement without using COM interface.
* path.h: Move definition of SHORTCUT_HDR_SIZE to here.
* shortcut.c: Remove.
* shortcut.h: Ditto.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(fhandler_socket::write): Ditto.
(fhandler_socket::readv): New method.
(fhandler_socket::writev): Ditto.
(fhandler_socket::recvmsg): Add new optional argument.
(fhandler_socket::sendmsg): Ditto.
* fhandler.cc (fhandler_socket::read): Remove method.
(fhandler_socket::write): Ditto.
(fhandler_socket::readv): New method.
(fhandler_socket::writev): Ditto.
(fhandler_socket::recvmsg): Use win32's scatter/gather IO where
possible.
(fhandler_socket::sendmsg): Ditto.
* net.cc (cygwin_recvmsg): Check the msghdr's iovec fields.
(cygwin_sendmsg): Ditto. Add omitted sigframe.
|
|
|
|
|
| |
* include/winuser.h (IDTRYAGAIN,IDCONTINUE): Add defines.
Add WINVER guards for dialog box command id defines.
|
| |
|
|
|
|
| |
* include/cygwin/version.h: Change comment for API minor 62.
|
|
|
|
| |
* shared.cc (memory_init): Move it here.
|
|
|
|
| |
library.
|
|
|
|
|
|
|
|
|
|
| |
(format_proc_uptime): Use KernelTime and UserTime only as they include the
other counters.
(format_proc_stat): KernelTime includes IdleTime, so subtract IdleTime from
KernelTime. Make number of 'jiffies' per second same as HZ define.
* fhandler_process.cc: Add <sys/param.h> include.
(format_process_stat): Make number of 'jiffies' per second same as HZ define.
Use KernelTime and UserTime only to calculate start_time.
|
|
|
|
|
|
| |
ready for read" flag.
(fhandler_tty_slave::read): Don't do anything special with vtime when vmin ==
0.
|
|
|
|
|
|
|
|
| |
* select.cc (fhandler_tty_slave::ready_for_read): Remove.
* fhandler.h (fhandler_tty_slave::ready_for_read): Remove declaration.
* fhandler_tty.cc (fhandler_tty_slave::read): Don't do anything special with
vtime when vmin == 0.
* autoload.cc (GetConsoleWindow): Correct parameter count.
|
|
|
|
|
| |
* tty.cc (tty_list::allocate_tty): Use GetConsoleWindow, if available. Call
FindWindow in a loop.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
iov_len.
(check_iovec_for_write): Ditto.
* fhandler.h (fhandler_base::readv): New method.
(fhandler_base::writev): Ditto.
* fhandler.cc (fhandler_base::readv): New method.
(fhandler_base::writev): Ditto.
* syscalls.cc (_read): Delegate to readv(2).
(_write): Ditto, mutatis mutandi.
(readv): Rewrite, based on the old _read code, to use the new
fhandler_base::readv method. Improve access mode handling and ensure all calls
reach the final strace statement.
(writev): Ditto, mutatis mutandi.
* include/sys/uio.h (struct iovec): Change field types to match SUSv3.
* winsup.h (check_iovec_for_read): New function.
(check_iovec_for_write): Ditto.
* miscfuncs.cc (check_iovec_for_read): Ditto.
(check_iovec_for_write): Ditto.
|
| |
|
| |
|
|
|
|
| |
* include/cygwin/version.h: Bump API minor number.
|
|
|
|
| |
working. Answer thread safe question more simply.
|
|
|
|
| |
actually data.
|
|
|
|
|
|
|
|
|
|
| |
(cygthread::simplestub): New static member function.
(cygthread::runner): Don't set hthreads.
(cygthread::freerange): New member function.
(cygthread::operator new): Call freerange if all cygwin slots are used up.
(cygthread::exit_thread): Don't mess with event if freerange thread.
(cygthread::detach): Ditto.
* cygthread.h (class cygthread): Declare new member functions and variables.
|
| |
|
|
|
|
| |
* Makefile.in: Ditto.
|
|
|
|
| |
* test_headers.c: Include sys/param.h.
|
| |
|
| |
|
|
|
|
| |
and putchar_unlocked.
|
|
|
|
|
| |
putc_unlocked, putchar_unlocked functions.
* include/cygwin/version.h: Bump api minor.
|
|
|
|
|
|
|
|
|
| |
not understood by WinSock.
(fhandler_socket::sendto): Ditto. If WinSock sendto() returns
WSAESHUTDOWN, change errno to EPIPE and raise SIGPIPE if MSG_NOSIGNAL
isn't set in flags.
* include/cygwin/socket.h: Define MSG_WINMASK and MSG_NOSIGNAL.
* include/cygwin/version.h: Bump API minor number.
|
| |
|
|
|
|
|
| |
* Makefile.in (test_headers): Don't use -std=xx
with -xc++. Test -std=gnu89, gnu99 also.
|