Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/winsup
AgeCommit message (Collapse)Author
2011-08-09 * ntdll.h (STATUS_NOT_FOUND): Define.Corinna Vinschen
* ntea.cc (read_ea): Return correct ENOTSUP rather than EOPNOTSUPP. Handle STATUS_INVALID_DEVICE_REQUEST and STATUS_NOT_FOUND. Explain why. Convert conditional to switch statement. (write_ea): Return correct ENOTSUP rather than EOPNOTSUPP. Handle STATUS_INVALID_DEVICE_REQUEST. Convert conditional to switch statement.
2011-08-07 * resource.cc (getrlimit): Just return RLIM_INFINITY in a request forCorinna Vinschen
RLIMIT_AS.
2011-08-07 * fhandler_process.cc (format_process_maps): Actually print info aboutCorinna Vinschen
the application heap of the printed process, not of the current process.
2011-08-05 * include/winnt.h (IMAGE_DLLCHARACTERISTICS_DYNAMIC_BASE,Corinna Vinschen
IMAGE_DLLCHARACTERISTICS_FORCE_INTEGRITY, IMAGE_DLLCHARACTERISTICS_NX_COMPAT): Fix typo in definitions. (IMAGE_DLL_CHARACTERISTICS_DYNAMIC_BASE, IMAGE_DLL_CHARACTERISTICS_FORCE_INTEGRITY, IMAGE_DLL_CHARACTERISTICS_NX_COMPAT): Keep broken definitions for backward compatibility.
2011-08-04 * faq-using.xml (faq.using.bloda): Add NVIDIA. Change wording slightly.Corinna Vinschen
2011-08-04 * net.cc (socketpair): Release sb0 if there's no space left for sb1.Corinna Vinschen
2011-08-03* new-features.sgml (ov-new1.7.10): Document new POSIX Clock SelectionYaakov Selkowitz
option APIs.
2011-08-03* cygwin.din (clock_nanosleep): Export.Yaakov Selkowitz
* posix.sgml (std-notimpl): Move clock_nanosleep from here... (std-susv4): ... to here. (std-notes): Note limitations of clock_nanosleep. * signal.cc (clock_nanosleep): Renamed from nanosleep, adding clock_id and flags arguments and changing return values throughout. Improve checks for illegal rqtp values. Add support for CLOCK_MONOTONIC and TIMER_ABSTIME. (nanosleep): Rewrite in terms of clock_nanosleep. (sleep): Ditto. (usleep): Ditto. * thread.cc: Mark clock_nanosleep in list of cancellation points. * include/cygwin/version.h (CYGWIN_VERSION_API_MINOR): Bump.
2011-08-03* dll_init.cc: Use fabort in favor of api_fatal and fork_info->abort whereChristopher Faylor
appropriate throughout. (fabort): Define. (dll_list::topsort): Don't print sorting information. Fix formatting. (dll_list::topsort_visit): Fix formatting. (dll_list::load_after_fork_impl): Perform comment fixups. * sigproc.cc (child_info_fork::abort): (for now?) Always print cause of fork failure. * include/sys/strace.h (strace_vprintf): Remove _STRACE_NOTALL when printing. We really do want to see this.
2011-08-03* cygtls.h (struct _local_storage): Add cw_timer member.Yaakov Selkowitz
* cygtls.cc (_cygtls::init_thread): Initialize locals.cw_timer. (_cygtls::fixup_after_fork): Ditto. * tlsoffsets.h: Regenerate. * ntdll.h (enum _TIMER_INFORMATION_CLASS): Define. (struct _TIMER_BASIC_INFORMATION): Define. (NtQueryTimer): Declare function. * thread.h (cancelable_wait): Change timeout argument to PLARGE_INTEGER and provide NULL default. (fast_mutex::lock): Adjust accordingly. (pthread_cond::wait): Change timeout argument to PLARGE_INTEGER and default to NULL. * thread.cc (cancelable_wait): Change timeout argument to PLARGE_INTEGER. Initialize _cygtls.locals.cw_timer if needed. Use NT waitable timers for handling timeout. Return remaining time to timeout argument if timeout was relative. (pthread_cond::wait): Change timeout argument to PLARGE_INTEGER. Adjust to change in cancelable_wait. (pthread_mutex::lock): Adjust to change in cancelable_wait. (pthread_spinlock::lock): Ditto. (pthread::join): Ditto. (__pthread_cond_dowait): Change waitlength argument to PLARGE_INTEGER. Adjust to changes in cancelable_wait and pthread_cond::wait. (pthread_cond_timedwait): Adjust to change in __pthread_cond_dowait. (pthread_cond_wait): Ditto. (semaphore::_timedwait): Adjust to change in cancelable_wait. (semaphore::_wait): Ditto. * exceptions.cc (handle_sigsuspend): Ditto. * signal.cc (nanosleep): Ditto. * wait.cc (wait4): Ditto. Fix copyright dates. * times.cc (FACTOR, NSPERSEC): Move from here... * hires.h (FACTOR, NSPERSEC): ...to here.
2011-08-01 * syscalls.cc (faccessat): Fix parens in flag expression when callingCorinna Vinschen
build_fh_name. * fhandler_disk_file.cc (fhandler_disk_file::mkdir): Fix typo in comment. * fhandler_socket.cc (fhandler_socket::bind): Ditto. * path.cc (symlink_worker): Ditto.
2011-08-01* dll_init.cc (dll_list::load_after_fork_impl): Add a hint to an error message.Christopher Faylor
2011-08-01* sigproc.cc (pending_signals::pending): Define new function.Christopher Faylor
(sig_dispatch_pending): Avoid calling sig_send if there are no pending signals.
2011-07-31 * fhandler.h (class fhandler_dev_mem): Remove dup method declaration.Corinna Vinschen
* fhandler_clipboard.cc (fhandler_dev_clipboard::dup): Accommodate the fact that the entire fhandler gets copied over to the child in operator =. * fhandler_floppy.cc (fhandler_dev_floppy::dup): Ditto. * fhandler_raw.cc (fhandler_dev_raw::dup): Ditto. * fhandler_serial.cc (fhandler_serial::dup): Ditto. * fhandler_socket.cc (fhandler_socket::dup): Ditto. * fhandler_virtual.cc (fhandler_virtual::dup): Ditto. * fhandler_mem.cc (fhandler_dev_mem::dup): Ditto. Remove entirely.
2011-07-31add missing entryChristopher Faylor
2011-07-31* cygthread.cc (cygthread::async_create): Define new function.Christopher Faylor
* cygthread.h (cygthread::create): Use correct regparm. (cygthread::standalone): Delete from class and from all constructors. (cygthread::cygthread): Use three only arguments for detached threads, and start the thread via QueueUserAPC/async_create. * dcrt0.cc (dll_crt0_0): Remove handling for wincap.has_buggy_thread_startup. (dll_crt0_1): Ditto. * wincap.cc: Ditto throughout. * wincap.h: Ditto.
2011-07-31* fhandler.h (fhandler_base_overlapped::size): Declare/define size() functionChristopher Faylor
for consistency. (fhandler_termios::size): Ditto. (fhandler_pty_common::size): Ditto.
2011-07-30 * fhandler_registry.cc (fhandler_registry::dup): Duplicate value_name.Corinna Vinschen
2011-07-29 Throughout change "WinSock" to "Winsock" in comments.Corinna Vinschen
* fhandler_socket.cc (fhandler_socket::sendmsg): Add missing call to get_inet_addr to convert AF_LOCAL to AF_INET sockets. * net.cc (cygwin_socket): Workaround UDP Winsock problem. Add comment to explain why. * select.cc: Include winsock2.h rather than winsock.h.
2011-07-29 * include/winsock2.h (SIO_UDP_CONNRESET): Define.Corinna Vinschen
2011-07-26 * fhandler_disk_file.cc (__DIR_mounts::eval_ino): Create path_convCorinna Vinschen
with PC_KEEP_HANDLE flag. * path.h (path_conv::operator =): Duplicate UNICODE path as well. * security.cc (check_file_access): Use path_conv handle if available. * syscalls.cc (access): Create fhandler with PC_KEEP_HANDLE flag set. (euidaccess): Ditto. (faccessat): Ditto.
2011-07-26 * ntdll.h: Fix typo in comment.Corinna Vinschen
* path.cc: Ditto.
2011-07-25 * fhandler_console.cc (fhandler_console::ioctl): Fetch console eventsCorinna Vinschen
using PeekConsoleInput and return only key down events in buf. * fhandler_tty.cc (fhandler_pty_slave::ioctl): Always return EINVAL if PeekNamedPipe fails. (fhandler_pty_master::ioctl): Ditto.
2011-07-22 * fhandler_tty.cc (fhandler_pty_slave::ioctl): Drop FIONBIO case.Corinna Vinschen
Handle FIONREAD. (fhandler_pty_master::ioctl): Ditto. Call fhandler_base::ioctl to decode default condition. * fhandler_console.cc (fhandler_console::ioctl): Handle FIONREAD.
2011-07-22Corinna Vinschen <corinna@vinschen.de>Christopher Faylor
* fhandler.cc: Add #include for asm/socket.h for dealing with FIONREAD. (fhandler_base::ioctl): Special-case errno for FIONREAD. * fhandler_dsp.cc (fhandler_dev_dsp::ioctl): Rename parameter for consistency. Call fhandler_base::ioctl to decode default condition. * fhandler_serial.cc (fhandler_serial::ioctl): Ditto. * fhandler_tty.cc (fhandler_pty_slave::ioctl): Call fhandler_base::ioctl to decode default condition. * fhandler_windows.cc (fhandler_windows::ioctl): Ditto.
2011-07-21 * heap.cc (eval_start_address): Simplify test for large addressCorinna Vinschen
awareness of executable, which works for 32 and 64 bit systems. Change comment accordingly.
2011-07-21 * heap.cc (eval_start_address): New static function to evaluate theCorinna Vinschen
best start address for the application heap. (heap_init): Call eval_start_address to fetch the start value for start_address. Move preceeding comment to eval_start_address.
2011-07-21* cygwin.din (pthread_condattr_getclock): Export.Yaakov Selkowitz
(pthread_condattr_setclock): Export. * posix.sgml (std-notimpl): Move pthread_condattr_getclock and pthread_condattr_setclock from here... (std-susv4): ... to here. * sysconf.cc (sca): Set _SC_CLOCK_SELECTION to _POSIX_CLOCK_SELECTION. * thread.cc: (pthread_condattr::pthread_condattr): Initialize clock_id. (pthread_cond::pthread_cond): Initialize clock_id. (pthread_cond_timedwait): Use clock_gettime() instead of gettimeofday() in order to support all allowed clocks. (pthread_condattr_getclock): New function. (pthread_condattr_setclock): New function. * thread.h (class pthread_condattr): Add clock_id member. (class pthread_cond): Ditto. * include/pthread.h: Remove obsolete comment. (pthread_condattr_getclock): Declare. (pthread_condattr_setclock): Declare. * include/cygwin/version.h (CYGWIN_VERSION_API_MINOR): Bump.
2011-07-20 * setup-net.sgml (setup-packages): Reflect removal of Prev button.Andy Koppe
Also document Keep button and improve description of Exp button.
2011-07-20* new-features.sgml (ov-new1.7.10): Document getconf(1).Yaakov Selkowitz
2011-07-20* Makefile.in (CYGWIN_BINS): Add getconf.Yaakov Selkowitz
(getconf.c): New file.
2011-07-19* sysconf.cc (sca): Return -1 for _SC_THREAD_ROBUST_PRIO_INHERIT,Yaakov Selkowitz
_SC_THREAD_ROBUST_PRIO_PROTECT, and _SC_XOPEN_UUCP. (SC_MAX): Redefine accordingly. (csa): Return strings for _CS_POSIX_V7_THREADS_CFLAGS, _CS_POSIX_V7_THREADS_LDFLAGS, and _CS_V7_ENV. (CS_MAX): Redefine accordingly. * include/limits.h (LONG_BIT): Define. (WORD_BIT): Define.
2011-07-18 * heap.cc (heap_init): Change type of largest_found to PVOID. StartCorinna Vinschen
querying memory at 0x20000000. Use largest_found pointer when trying to allocate largest free memory area found.
2011-07-16correct commentChristopher Faylor
2011-07-16* cygwinenv.sgml (using-cygwinenv): Clarify "glob" works.Christopher Faylor
2011-07-14 * fhandler_console.cc (fhandler_console::input_tcsetattr): Revert toCorinna Vinschen
setting ENABLE_PROCESSED_INPUT depending on ISIG and IGNBRK. (fhandler_console::tcgetattr): Set ISIG depending on ENABLE_PROCESSED_INPUT as well.
2011-07-13 * fhandler_serial.cc (fhandler_serial::raw_read): Handle non-blockingCorinna Vinschen
case more thoroughly.
2011-07-13* setup_handler (setup_handler): Change break to goto out, missed in 2011-07-06Christopher Faylor
changes.
2011-07-11* fhandler_tty.cc (fhandler_pty_slave::ioctl): Remove erroneous support forChristopher Faylor
TIOCLINUX for pty. Get rid of unneeded EINVAL handling in wake of tty removal. Remove now-unneeded variable.
2011-07-10 * include/netdb.h (gethostbyname2): Declare.Corinna Vinschen
2011-07-10pthread_sigmask: fix return value to match POSIXEric Blake
* signal.cc (handle_sigprocmask): Return error rather than setting errno, for pthread_sigmask. (sigprocmask): Adjust caller.
2011-07-07 * miscfuncs.cc (yield): Drop thread priority only once.Corinna Vinschen
2011-07-06* exceptions.cc (_cygtls::interrupt_now): Back out previous change since itChristopher Faylor
could theoretically cause a non-CTRL-C-able program if a program has suffered memory corruption. (setup_handler): Ditto.
2011-07-06 * sched.c (sched_yield): Just call SwitchToThread because yield nowCorinna Vinschen
potentially switches CPU.
2011-07-06* exceptions.cc (_cygtls::interrupt_now): Don't check for spinning here.Christopher Faylor
(setup_handler): Check for spinning here, assuming that it is transitory and should not affect the retry loop.
2011-07-06* exceptions.cc (CALL_HANDLER_RETRY_INNER): Rename to reflect differentChristopher Faylor
functionality. (CALL_HANDLER_RETRY_OUTER): New define. (setup_handler): Add outer loop to signal handler to try harder to deliver the signal. * miscfuncs.cc (yield): Drop priority and use SleepEx() to force thread rescheduling rather than relying on SwitchToThread().
2011-07-06 * sigproc.cc (wait_sig): Fix debug output.Corinna Vinschen
2011-07-05 * fhandler_console.cc (fhandler_console::input_tcsetattr): MakeCorinna Vinschen
ENABLE_PROCESSED_INPUT flag only depending on value of IGNBRK. (fhandler_console::tcgetattr): Don't set ISIG depending on ENABLE_PROCESSED_INPUT, set IGNBRK instead.
2011-07-05 * security.cc (get_file_sd): Fix comment.Corinna Vinschen
2011-07-05 * fhandler.cc (fhandler_base::open): Never create files with WRITE_DACCorinna Vinschen
access. Explain why. * fhandler_disk_file.cc (fhandler_base::fstat_helper): Improve debug output.