summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * passwd.cc (read_etc_passwd): Don't bother with locking whenChristopher Faylor2001-09-283-14/+33
| | | | | in cygwin initialization since there is only one thread. * grp.cc (read_etc_group): Ditto.
* * pipe.cc (fhandler_pipe::hit_eof): Return correct value when there is no EOFChristopher Faylor2001-09-282-1/+6
| | | | event available.
* * mmap.cc (mmap): Move setting the access after evaluating fd.Corinna Vinschen2001-09-272-24/+26
| | | | | | | | Remove useless comment. Explain copy-on-write problem of 9x more detailed. Don't set access to FILE_MAP_COPY on 9x only when anonymous mapping is requested. (fhandler_disk_file::mmap): Remove useless device check. Add debug output.
* Thu Sep 27 22:00:00 2001 Robert Collins rbtcollins@itdomain.com.auRobert Collins2001-09-272-2/+6
| | | | * Makefile.in: Only stamp winver_stamp on success.
* Remove spurious commentNick Clifton2001-09-272-2/+5
|
* * select.cc (peek_pipe): REALLY only grab mutex when we actually got somethingChristopher Faylor2001-09-262-1/+7
| | | | from the pipe.
* Tue Sep 25 21:25:00 2001 Robert Collins <rbtcollins@hotmail.com>Robert Collins2001-09-254-80/+159
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * thread.cc (pthread_cond::BroadCast): Use address with verifyable_object_isvalid(). (pthread_cond::Signal): Ditto. (__pthread_create): Ditto. (__pthread_cleanup): Ditto. (__pthread_attr_init): Ditto. (__pthread_attr_getinheritsched): Ditto. (__pthread_attr_getschedparam): Ditto. (__pthread_attr_getschedpolicy): Ditto. (__pthread_attr_getscope): Ditto. (__pthread_attr_setdetachstate): Ditto. (__pthread_attr_getdetachstate): Ditto. (__pthread_attr_setinheritsched): Ditto. (__pthread_attr_setschedparam): Ditto. (__pthread_attr_setschedpolicy): Ditto. (__pthread_attr_setscope): Ditto. (__pthread_attr_setstacksize): Ditto. (__pthread_attr_getstacksize): Ditto. (__pthread_attr_destroy): Ditto. (__pthread_join): Ditto. (__pthread_detach): Ditto. (__pthread_suspend): Ditto. (__pthread_continue): Ditto. (__pthread_getschedparam): Ditto. (__pthread_getsequence_np): Ditto. (__pthread_key_create): Ditto. (__pthread_key_delete): Ditto. (__pthread_setschedparam): Ditto. (__pthread_setspecific): Ditto. (__pthread_getspecific): Ditto. (__pthread_cond_destroy): Ditto. (__pthread_cond_init): Ditto. (__pthread_cond_broadcast): Ditto. (__pthread_cond_signal): Ditto. (__pthread_cond_timedwait): Ditto. (__pthread_cond_wait): Ditto. (__pthread_condattr_init): Ditto. (__pthread_condattr_getpshared): Ditto. (__pthread_condattr_setpshared): Ditto. (__pthread_condattr_destroy): Ditto. (__pthread_kill): Ditto. (__pthread_mutex_init): Ditto. (__pthread_mutex_getprioceiling): Ditto. (__pthread_mutex_lock): Ditto. (__pthread_mutex_trylock): Ditto. (__pthread_mutex_unlock): Ditto. (__pthread_mutex_destroy): Ditto. (__pthread_mutex_setprioceiling): Ditto. (__pthread_mutexattr_getprotocol): Ditto. (__pthread_mutexattr_getpshared): Ditto. (__pthread_mutexattr_gettype): Ditto. (__pthread_mutexattr_init): Ditto. (__pthread_mutexattr_destroy): Ditto. (__pthread_mutexattr_setprotocol): Ditto. (__pthread_mutexattr_setprioceiling): Ditto. (__pthread_mutexattr_getprioceiling): Ditto. (__pthread_mutexattr_setpshared): Ditto. (__pthread_mutexattr_settype): Ditto. (__sem_init): Ditto. (__sem_destroy): Ditto. (__sem_wait): Ditto. (__sem_trywait): Ditto. (__sem_post): Ditto. (verifyable_object_isvalid): Recieve a pointer to a pointer for verification. (__pthread_mutexattr_getprotocol): Fix typo in magic number. (__pthread_mutexattr_getpshared): Ditto. (__pthread_mutexattr_gettype): Ditto. * thread.h (verifyable_object_isvalid): Change prototype to recieve a pointer to a pointer for verification. * include/pthread.h: Fix typo for __cleanup_routine_type typedef. (Contrib from Net).
* * select.cc (fhandler_tty_common::ready_for_read): Rewrite to correctlyChristopher Faylor2001-09-252-6/+16
| | | | call peek_pipe.
* merge from gccDJ Delorie2001-09-242-0/+13
|
* * select.cc (peek_pipe): Only grab mutex when we actually got something fromChristopher Faylor2001-09-244-9/+19
| | | | the pipe.
* * fhandler.h (fhandler_pipe::hit_eof): New method.Christopher Faylor2001-09-248-43/+117
| | | | | | | | | | | | | | | | | | (writepipe_exists): New class element. (orig_pid): Ditto. (id): Ditto. (is_slow): Eliminate. * pipe.cc (fhandler_pipe::set_close_on_exec): Set inheritance on writepipe_exists, if it exists. (fhandler_pipe::hit_eof): New method, modelled after tty. (fhandler_pipe::dup): Duplicate writepipe_exists, if it exists. (make_pipe): Set up a dummy event for pipes on windows 9x. The nonexistence of this event means that the write side of the pipe has closed. (_dup): Move to syscalls.cc (_dup2): Ditto. * dtable.cc (dtable::build_fhandler): Fill out set_names here, if appropriate. * syscalls.cc (_open): Call set_names in build_fhandler.
* * syscalls.cc (_open): Set name in fhandler object after successfulCorinna Vinschen2001-09-232-7/+17
| | | | | creation. (stat_dev): Set device type to block device in FH_FLOPPY case.
* * dtable.cc (dtable::build_fhandler): Initialize unit when usingCorinna Vinschen2001-09-232-0/+6
| | | | optional path_conv argument.
* expand entry "How can I get bash filename completion to be case insensitive?"David Starks-Browning2001-09-231-1/+11
|
* new entry "What versions of Windows are supported?"David Starks-Browning2001-09-231-1/+16
|
* 1.1.x -> 1.3.x in "recent history"David Starks-Browning2001-09-231-8/+9
|
* * dtable.cc (dtable::build_fhandler): Accept an optional path_conv argument.Christopher Faylor2001-09-226-10/+43
| | | | | | | | | | If available, use this to calculate path name and device number. * dtable.h (dtable): Reflect above change. * fhandler.h (fhandler_base): Declare virtual method which accepts path_conv rather than path string as first argument. * fhandler.cc (fhandler_base::open): Define above new method. * syscalls.cc (_open): Set aside a path_conv variable for use in build_fhandler and subsequent call to open.
* new entry "How much disk space does Cygwin require?"David Starks-Browning2001-09-221-0/+13
|
* again revise license termsDavid Starks-Browning2001-09-221-2/+1
|
* * exceptions.cc (setup_handler): Always relinquish lock after we'veChristopher Faylor2001-09-2210-56/+120
| | | | | | | | | | | | | | | | | | | | interrupted. * fhandler.cc: Move pipe methods to pipe.cc. * fhandler.h (fhandler_pipe): Add new methods. * fork.cc (sync_with_parent): Make error messages more informative. * pipe.cc (fhandler_pipe::fhandler_pipe): Move here from fhandler.cc. (fhandler_pipe::lseek): Ditto. (fhandler_pipe::set_close_on_exec): New method. (fhandler_pipe::read): Ditto. (fhandler_pipe::close): Ditto. (fhandler_pipe::dup): Ditto. (make_pipe): Create the guard mutex on the read side of the pipe. * select.cc (peek_pipe): Use guard_mutex to discover if we have the right to read on this pipe. (fhandler_pipe::readh_for_read): Pass the read pipe guard mutex to peek_pipe. * syscalls.cc (_read): Always detect signal catchers, for now. * debug.cc (makethread): Eliminate hack to make thread inheritable. * sigproc.cc (subproc_init): Don't use hack to make thread inheritable.
* revise license explanationDavid Starks-Browning2001-09-221-2/+3
|
* Add recent developments.Christopher Faylor2001-09-221-11/+27
|
* typo, words.Christopher Faylor2001-09-221-4/+5
|
* * Makefile.in (mingw_getopt.o): Ensure that newlib include directories are notChristopher Faylor2001-09-222-1/+6
| | | | searched.
* fix errorDavid Starks-Browning2001-09-211-1/+1
|
* Update contents.David Starks-Browning2001-09-211-27/+49
| | | | | Expanded anti-virus information. How to uninstall a package.
* new entry "Can I build a Cygwin program that does not require cygwin1.dll at ↵David Starks-Browning2001-09-211-0/+13
| | | | runtime?"
* Fix compile time warningsNick Clifton2001-09-212-1/+5
|
* fix compile time warning messagesNick Clifton2001-09-212-1/+5
|
* * Makefile.in (AS_FOR_TARGET, LD_FOR_TARGET,Alexandre Oliva2001-09-212-14/+25
| | | | | | | | DLLTOOL_FOR_TARGET, WINDRES_FOR_TARGET, AR_FOR_TARGET, RANLIB_FOR_TARGET, NM_FOR_TARGET): Don't use double quotes to avoid quotes nesting problems. (NATIVE_CHECK_MODULES): Ditto, just for consistency. (DO_X): Export only variables that are set.
* * Makefile.in (MINGW_INCLUDES): Still need cygwin/include directory.Christopher Faylor2001-09-212-1/+5
|
* New entry "Why doesn't //c (for C:) work anymore?"David Starks-Browning2001-09-201-0/+9
|
* * fhandler.cc (fhandler_base::set_inheritance): Just use DUPLICATE_CLOSE_SOURCEChristopher Faylor2001-09-205-43/+24
| | | | | | to change inheritance. Eliminate all other logic dealing with closed handles. * fhandler.h (fhandler_base::set_inheritance): Reflect above change. * fhandler_tty.cc (fhandler_tty_common::set_close_on_exec): Ditto.
* * libltp/lib/get_high_address.c (get_high_address): Get inaccessibleEgor Duda2001-09-204-9/+17
| | | | | | address more robustly. * winsup.api/ltp/stat06.c (high_address_setup): Use generic function from ltp library to obtain inaccessible address.
* * fhandler_socket.cc (fhandler_socket::fixup_after_exec): CloseCorinna Vinschen2001-09-202-1/+7
| | | | socket only when not using Winsock2.
* * fhandler.h (fhandler_socket::fixup_after_exec): Remove inlineCorinna Vinschen2001-09-204-2/+37
| | | | | | | | | | | | | implementation. (fhandler_dev_raw::fixup_after_exec): Ditto. * fhandler_raw.cc (fhandler_dev_raw::fixup_after_fork): Don't duplicate buffer on fork to avoid memory leak. (fhandler_dev_raw::fixup_after_exec): New implementation equal to former fixup_after_fork() implementation. * fhandler_socket.cc (fhandler_socket::fixup_after_fork): Do nothing when not using Winsock2. (fhandler_socket::fixup_after_exec): New implementation. (fhandler_socket::set_close_on_exec): Never call set_inheritance().
* * fhandler.cc (fhandler_base::set_inheritance): If available,Corinna Vinschen2001-09-204-2/+27
| | | | | | | use SetHandleInformation() to set inheritance. * wincap.cc: Set flag has_set_handle_information_on_console_handles appropriately. * wincap.h: Add flag has_set_handle_information_on_console_handles.
* 2001-09-18 Danny Smith <dannysmith@users.sourceforge.net>Earnie Boyd2001-09-196-5/+28
| | | | | | | | | | | | | | | | | | | | | | * include/winnt.h (_[U]LARGE_INTEGER): Mark nameless structure field as _ANONYMOUS_STRUCT. * include/setupapi.h (SP_DEVINSTALL_PARAMS): Add missing typedef for UNICODE. * include/ipexport.h (icmp_echo_reply): Remove extra ';'. * lib/makefile.in: Add -pedantic switch to TEST_OPTIONS for header test. 2001-09-17 Mattia Barbon <mbarbon@dsi.unive.it> * include/commctrl.h: Add some ListView constants. 2001-09-17 Earnie Boyd <earnie@sf.net> * lib/Makefile.in (inst_includedir): Add FIXME and remove the usr/ portion of the directory from the install. (inst_libdir): Ditto. * Makefile.in (VERSION): Increment. * include/w32api.h: Increment version.
* Add -t option.Christopher Faylor2001-09-191-1/+1
|
* * lib/getopt.c (__progname): Don't declare if not compiling for cygwin.Christopher Faylor2001-09-192-2/+6
|
* * Makefile.in: Filter newlib includes from mingw compilation.Christopher Faylor2001-09-192-3/+7
|
* * lib/getopt.c (getopt_long): Avoid compiler warning.Corinna Vinschen2001-09-192-1/+5
|
* * lib/getopt.c: Use __progname==__argv[0] when not compiling for cygwin.Christopher Faylor2001-09-193-10/+18
| | | | * scandir.cc (scandir): Use correct default when compar == NULL.
* * fhandler_socket.cc (fhandler_socket::fhandler_socket): RevertCorinna Vinschen2001-09-192-1/+6
| | | | memory allocation to use cmalloc again.
* 2001-09-19 Earnie Boyd <earnie@SF.net>Earnie Boyd2001-09-193-6/+12
| | | | | | * Makefile.in: Remove the /usr from the install target. (VERSION): Increment. include/_mingw.h: Ditto.
* 2001-09-19 Ben Elliston <bje@redhat.com>Ben Elliston2001-09-192-1/+7
| | | | | | * configure.in (sparc-sun-solaris2*): Don't use /usr/bin/which on Solaris when testing for the /usr/ucb/cc compiler; it has incorrect semantics. Use the shell built-in "type" command instead.
* * cygwin.din (__argv): Export.Christopher Faylor2001-09-194-298/+411
| | | | | | | (__argc): Ditto. (__progname): Ditto. * include/getopt.h (getopt_long): constify arguments. * lib/getopt.c: Import new file from NetBSD.
* merge from gccDJ Delorie2001-09-182-9/+20
|
* * mmap.cc (mmap): Don't reuse anonymous memory in MAP_FIXED case.Corinna Vinschen2001-09-182-1/+5
|
* oops omitted in previous deltaNick Clifton2001-09-181-14/+26
|