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
AgeCommit message (Collapse)Author
2003-08-29* sigproc.h: Make some functions regparm.Christopher Faylor
* sigproc.cc (checkstate): Make regparm. (getevent): Change parameters in declaration, rename from getsem, make regparm. (sig_send): Recognize that nosync is now an event. Remove some old cruft from previous interrupt anywhere signal handler. (getevent): Change parameters in definition, rename from getsem. Allocate event rather than semaphore. (wait_sig): Treat sigcatch_nosync as an event.
2003-08-29* sigproc.h: Make some functions regparm.Christopher Faylor
* sigproc.cc (checkstate): Make regparm. (getevent): Change parameters in declaration, rename from getsem, make regparm. (sig_send): Recognize that nosync is now an event. Remove some old cruft from previous interrupt anywhere signal handler. (getevent): Change parameters in definition, rename from getsem. Allocate event rather than semaphore. (wait_sig): Treat sigcatch_nosync as an event.
2003-08-29* exceptions.cc (sigreturn): Fix problem where old return address was notChristopher Faylor
properly restored for a nested signal.
2003-08-28* autoload.cc (SwitchToThread): Declare as autoload function.Christopher Faylor
* cygthread.h (cygthread::main_thread_id): Make public. * exceptions.cc (setup_handler): Remove unneeded priority stuff. Rename label to reflect what it does. Add debugging for idiotic Windows NT problem. Change debugging output to include signal number. * miscfuncs.cc (low_priority_sleep): If available, use SwitchToThread function to give time slice to other threads. * wincap.cc: Properly define have_switch_to_thread throughout. * wincap.h (wincap::switch_to_thread): New element.
2003-08-28* syscalls.cc (mount): Don't check win32_path when doing cygdrive mount.Christopher Faylor
2003-08-28* specdir: Correctly remove temporary directory prior to use.Christopher Faylor
2003-08-28* sigproc.cc (wait_sig): Count number of iterations through 'more_signals' loopChristopher Faylor
and issue a warning if DEBUGGING and excessive. (WFSO): When debugging and infinite timeout, loop.
2003-08-26 * include/cygwin/stat.h: Allow definition of internal stat structuresCorinna Vinschen
also when compiling newlib.
2003-08-25add missing filesChristopher Faylor
2003-08-25Throughout, change USE_CYGSERVER to USE_SERVER.Christopher Faylor
* Makefile.in (LIBSERVER): Define and use. * configure.in: Set LIBSERVER as appropriate. * environ.cc: Rename allow_daemon to allow_server. Only recognize when USE_SERVER is defined.
2003-08-23* syscalls.cc (_remove_r): Define.Christopher Faylor
2003-08-23* cygheap.h (enum cygheap_types): Add HEAP_MMAP.Christopher Faylor
(CYGHEAPSIZE): Add another 64K. * mmap.cc: Use cmalloc, ccalloc and crealloc with HEAP_MMAP type throughout.
2003-08-22* cygheap.cc (user_heap_info::max): New field.Christopher Faylor
* heap.cc (heap_init): Save pointer to end of heap reserved memory. (sbrk): Don't attempt to commit memory beyond end of heap reserved memory. Attempt to honor comment and reserve commitbytes if heapchunk fails.
2003-08-22* exceptions.cc (sigreturn): Don't clobber ebp in recursive signal calls.Christopher Faylor
2003-08-22* exceptions.cc (sig_handle): Change so that default signals indicate success.Christopher Faylor
2003-08-22* sigproc.cc (wait_sig): Remove redundant test in do/while.Christopher Faylor
2003-08-22* sigproc.cc (wait_sig): Avoid infinite loop.Christopher Faylor
2003-08-21* speclib: Reenable removal of temp files.Christopher Faylor
2003-08-21* miscfuncs.cc (low_priority_sleep): Sleep at same priority as main thread.Christopher Faylor
* sigproc.cc (wait_sig): Keep looping if there are more signals to consider and we are flushing signals. (sig_send): Put nonsync signals in the correct bucket.
2003-08-21* speclib: Fix created lib to avoid "File truncated" problems.Christopher Faylor
2003-08-20* exceptions.cc (interrupt_setup): Set sigsave.sig last to avoid a race.Christopher Faylor
2003-08-20* sigproc.cc (wait_sig): Ensure that myself->getsigtodo array is flushed on aChristopher Faylor
__SIGFLUSH. Christopher Faylor <cgf@redhat.com> * exceptions.cc (_sigreturn): Handle nested signals without growing the stack.
2003-08-20* exceptions.cc (pending_signals): Remove unneeded declaration.Christopher Faylor
* sigproc.cc (pending_signals): Make static. (wait_sig): Use defined values rather than integers for rc. Never scan both todo arrays as this could cause hangs if signals arrive from two different sources. Rename saw_pending_signals to saw_failed_interrupt. Exit loop when signal found. Enter low-priority sleep, if necessary, after finished signalling completion. Set pending_signals when blocked (from Pierre Humblet).
2003-08-20clarifyChristopher Faylor
2003-08-19* signal.cc (sigpending): Move.Christopher Faylor
* sigproc.cc (sigpending): To here. (getlocal_sigtodo): Return process-local signal array. (sigpending): Accommodate new process-local signal array. (sig_send): Ditto. (sig_set_pending): Ditto. (wait_sig): Ditto.
2003-08-19Throughout, eliminate argument to sig_dispatch_pending.Christopher Faylor
* exceptions.cc (setup_handler): Move non-interruptible condition handling (back) to wait_sig (as suggested by Pierre Humblet). (set_process_mask): Don't worry about calling sig_dispatch_pending from sigthread since it is detected in the function anyway. (sig_handle): Eliminate thisproc arg. Don't call sig_dispatch_pending on SIGCONT since that should happen automatically. * sigproc.cc (sig_dispatch_pending): Eliminate justwake argument. Just return when called from sigthread. (wait_sig): Change some variables to bool. Change inner while to an if. Move uninterruptible signal handling here. (sigproc_terminate): Don't call sig_dispatch_pending. Just increment semaphore on exit. * speclib: Use slightly different (but still flawed) method for determining symbols to extract from libraries.
2003-08-19correct attribution, since this is not Pierre's patch.Christopher Faylor
2003-08-19* exceptions.cc (sigdelayed): Fix race where signal handler could get the wrongChristopher Faylor
mask.
2003-08-19* path.cc (mount): Add null/empty check for input parameters.Christopher Faylor
(umount): Add null/empty check for input parameters.
2003-08-17 * grp.cc (read_group): Revert previous change.Corinna Vinschen
* uinfo.cc (pwdgrp::load): Always reset curr_lines.
2003-08-17 * errno.cc (errmap): Map ERROR_INVALID_BLOCK_LENGTH to EIO.Corinna Vinschen
* fhandler_raw.cc (fhandler_dev_raw::raw_read): Set more accurate errnos instead of EACCES. (fhandler_dev_raw::raw_write): Ditto.
2003-08-17* path.cc (special_name): Accommodate all special names with extensions.Christopher Faylor
2003-08-15 * mmap.cc (mmap64): Avoid crash if file size is less than requestedCorinna Vinschen
map length.
2003-08-13 * path.cc (special_name): Add checks for some specials followed byCorinna Vinschen
a "." and a FIXME comment.
2003-08-13 * cygwin.din: Accomodate change from cygwin_lstat to lstat.Corinna Vinschen
* syscalls.cc: Add defines to avoid declaration issues when renaming cygwin_lstat back to lstat. (lstat): Reverted name change from cygwin_lstat.
2003-08-12 * include/sys/param.h (NBBY): Define if not defined.Corinna Vinschen
* include/sys/param.h (setbit): Add new bitmap related macro. (clrbit): Likewise. (isset): Likewise. (isclr): Likewise. (howmany): Add new counting/rounding macro. (rounddown): Likewise. (roundup): Likewise. (roundup2): Likewise. (powerof2): Likewise (MIN): Add macro for calculating min. (MAX): Add macro for calculating max.
2003-08-09* include/cygwin/version.h: Bump DLL minor number to 3.Christopher Faylor
2003-08-08* include/stdint.h: Correctly define INT32_MIN.Christopher Faylor
2003-08-08* grp.cc (read_group): Set __group32.gr_mem pointer back to &null_ptr afterChristopher Faylor
free() is called.
2003-08-06* Makefile.in: Rework to accommodate new speclib arguments.Christopher Faylor
* speclib: Rework to extract everything from libcygwin.a rather than building things from existing object files.
2003-08-05* path.cc (cygdrive_getmntent): Do not skip over drives of typeChristopher Faylor
DRIVE_REMOVABLE. * fhandler.cc (fhandler_base::lseek): Be more paranoid when constructing offsets from 64 bit value. * syscalls.cc (logout): Avoid temp buffer memcpy since new scheme does not require it. (utmp_data): Rework as a macro which returns a pointer into a buffer. (getutent): Use new buffer allocation mechanism to grab a utmp buffer. (getutid): Ditto. (pututline): Ditto.
2003-08-05* fhandler_disk_file.cc (fhandler_cygdrive::readdir): Do not change 'errno' ifChristopher Faylor
end of directory condition is encountered as per SUSv2. * fhandler_proc.cc (fhandler_proc::readdir): Ditto. * fhandler_process (fhandler_process::readdir): Ditto. * fhandler_registry (fhandler_registry::readdir): Ditto.
2003-07-30* dcrt0.cc (_dll_crt0): Move strace.microseconds initialization to afterChristopher Faylor
pthread initialization. (dll_crt0_1): i.e., here.
2003-07-29* include/cygwin/version.h: Bump DLL minor number to 2.Christopher Faylor
2003-07-29* fhandler_base.cc (fhandler_base::readv): Rework to properly return number ofChristopher Faylor
bytes from read.
2003-07-26* exceptions.cc (ctrl_c_handler): Send SIGHUP when events occur only if thereChristopher Faylor
is a tty associated with the process. Send SIGHUP on CTRL_LOGOFF_EVENT. * fhandler_tty.cc (fhandler_tty_slave::open): Adjust console open handle counter regardless of whether this is a pty or tty. (fhandler_tty_slave::open): Ditto. (fhandler_tty_slave::dup): Ditto. (fhandler_tty_common::set_close_on_exec): Ditto. (fhandler_tty_master::init_console): Decrement console open handle counter after init since it will now be handled by all tty open. * syscalls.cc (setsid): Rework debugging output slightly.
2003-07-26* configure.in: Use 'install-sh -c'.Christopher Faylor
* configure: Regenerate.
2003-07-26preliminary checkinChristopher Faylor
2003-07-26preliminary checkinChristopher Faylor
2003-07-26* configure.in: Always use install-sh.Christopher Faylor
* configure: Regenerate.