summaryrefslogtreecommitdiff
path: root/winsup
Commit message (Collapse)AuthorAgeFilesLines
* * kill.cc (main): Allow negative pids (indicates process groups).cvs/cr-0x9bcr-0x9bChristopher Faylor2003-09-202-0/+1531
|
* * spawn.cc (pthread_cleanup): New struct.Christopher Faylor2003-09-202-13/+37
| | | | | | | (do_cleanup): New function. (spawn_guts): Initialize struct for pthread_cleanup handling to ensure proper restoration of signals if/when thread is cancelled. Restore settings using pthread_cancel_pop.
* fix accidental checkinChristopher Faylor2003-09-201-1/+1
|
* * thread.h (__reent_t::init_clib): Declare new function.Christopher Faylor2003-09-206-29/+5279
| | | | | | | | | | * thread.cc (__reent_t::init_clib): Define new function. (pthread::thread_init_wrapper): Use __reent_t::init_clib to init local clib storage and set std{in,out,err} appropriately. * syscalls.cc (system): Strip signal considerations from here so that they are not inherited by a child process. * spawn.cc (spawn_guts): Handle system() signal stuff here. * winsup.h (_P_SYSTEM): Define.
* * include/cygwin/version.h: Bump DLL minor number to 5.Christopher Faylor2003-09-192-0/+298
|
* * fhandler_tty.cc (fhandler_pty_master::process_slave_output): Handle buf ==Christopher Faylor2003-09-194-2/+4671
| | | | | | | | | | | | NULL as flushing the buffer. (fhandler_tty_slave::read): Handle ptr == NULL as flushing the buffer. (fhandler_tty_slave::tcflush): Implement input queue flushing by calling read with NULL buffer. (fhandler_pty_master::tcflush): Ditto, calling process_slave_output. * termios.cc (tcflush): Check for legal `queue' value. Return EINVAL otherwise. * syscalls.cc (gethostid): Add lpFreeBytesAvailable argument to GetDiskFreeSpaceEx call since NT4 requires it.
* * fhandler_disk_file.cc (path_conv::ndisk_links): Fix potential off-by-oneChristopher Faylor2003-09-197-0/+9433
problem when first file in a directory is a directory. * Makefile.in: Make malloc_wrapper -fomit-frame-pointer. * cygwin.din: Remove extraneous mallinfo definition. * dcrt0.cc (quoted): Use strechr for efficiency. * exceptions.cc (sig_handle_tty_stop): Fix boneheaded mistake by using correct check for parent state rather than inverted check. * getopt.c (opterr): Reinstate initialization. (optind): Ditto. (optopt): Ditto.