summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Update copyrights.Christopher Faylor2001-09-1175-79/+79
|
* fix some typos.Christopher Faylor2001-09-111-5/+5
|
* change copyright.Christopher Faylor2001-09-111-1/+1
|
* * cygwin.din: Remove cygwin_getshared.Christopher Faylor2001-09-116-22/+32
| | | | | | * shared.cc: Ditto. * include/cygwin/version.h: Bump API minor number. * dtable.cc (dtable::build_fhandler): Fix incorrect test for socket.
* If -mfp32, do not enable 64-bit FPR registers on mips3Michael Meissner2001-09-112-2/+7
|
* Tue Sep 11 21:22:00 2001 Robert Collins <rbtcollins@hotmail.com>Robert Collins2001-09-112-13/+12
| | | | | | * thread.cc (pthread_cond::~pthread_cond): Bugfix: Incorrect use of InterlockExchangePointer. (pthread_mutex::~pthread_mutex): Ditto. (semaphore::~semaphore): Ditto.
* Tue Sep 11 18:15:00 2001 Robert Collins <rbtcollins@hotmail.com>Robert Collins2001-09-115-11/+162
| | | | | | | | | | | | | | | | | | | | | | | * dcrt0.cc (cygwin_finished_initializing): Copy _mtinterf on fork; * fork.cc (fork_child): fixup thread-related structures after fork; * thread.cc (MTinterface::Init): Initialise the new mutex, condition and semaphore lists. (MTinterface::fixup_after_fork): Iterate through each list and fixup the objects. (pthread_cond::pthread_cond): Add this to the condition list. (pthread_cond::~pthread_cond): Remove this from the condition list. (pthread_cond::fixup_after_fork): Recreate as best we can the pre-fork state. (pthread_mutex::pthread_mutex): Add this to the mutex list. (pthread_mutex::~pthread_mutex): Remove this from the mutex list. (pthread_mutex::fixup_after_fork): Recreate as best we can the pre-fork state. (semaphore::semaphore): Store the initial value, and add this to the semaphore list. (semaphore::~semaphore): Remove this from the semaphore list. (semaphore::Post): Increment the current semaphore value. (semaphore::TryWait): Decrement the current semaphore value. (semaphore::Wait): Ditto. (semaphote::fixup_after_fork): Recreate the pre-fork state as best we can. * thread.h (pthread_mutex): New members to allow fixup_after_fork. (pthread_cond): Ditto. (semaphore): Ditto. (MTinterface): New list heads for tracking conds and semaphores.
* Add support for GDB monitor-style I/O.Jim Blandy2001-09-104-4/+224
| | | | | | | | | | | | | | * m68k/idp-outbyte.c (raw_outbyte): Renamed from outbyte; made static. (outbyte): Call raw_outbyte; if GDB_MONITOR_OUTPUT is #defined, precede the byte with a ^O character. * m68k/idpgdb.ld: New linker script. * m68k/Makefile.in (IDPGDB_LDFLAGS, IDPGDB_BSP, IDPGDB_OBJS): New variables. (all): Add ${IDPGDB_BSP} to the list of things to build. (${IDPGDB_BSP}, idp-gdb-outbyte.o, idpgdb-test.x, idpgdb-test.srec, idpgdb-test.dis, idpgdb-test): New rules. (install): Install the IDPGDB stuff, too.
* 2001-09-05 Danny Smith <dannysmith@users.sourceforge.net>Earnie Boyd2001-09-102-1/+34
| | | | | | | | | | | | * include/wininet.h (InternetAutodial): Add prototype. (InternetAutodialHangup): Ditto. (InternetDial): Ditto. (InternetGetConnectedState): Ditto. (InternetGoOnline): Ditto. (InternetHangUp): Ditto. (InternetSetDialState): Ditto. Add associated INTERNET_* auto dial flags. Guard typedefs and prototypes with #ifndef RC_INVOKED.
* 2001-09-10 Earnie Boyd <earnie@SF.net>Earnie Boyd2001-09-102-11/+23
| | | | | | | | | * dossh: Remove inadvertantly imported file. 2001-09-10 Danny Smith <dannysmith@users.sourceforge.net> * dirent.c (opendir): Use GetFileAttributes rather than stat to determine if input arg is dir.
* * dtable.cc (dtable::fixup_after_fork): Use SetStdHandle appropriately onChristopher Faylor2001-09-102-0/+9
| | | | inherited fds.
* * sigproc.cc (NZOMBIES): Reduce substantially to minimize memory use.Christopher Faylor2001-09-102-1/+5
|
* Mon Sep 10 08:28:00 2001 Robert Collins <rbtcollins@hotmail.com>Robert Collins2001-09-093-154/+31
| | | | | | | | | | | | | | | | | | | * thread.h (MT_Interface): Remove pshared mutex array. Add a threadsafe list for mutex tracking (for fixupafter fork). * thread.cc (MTInterface::Init): Remove pshared mutex array. (pthread_mutex::pthread_mutex): Remove pshared mutex functionality. Fail with EINVAL on attempts to use pshared functionality. (__pthread_mutex_getpshared): Remove. (__pthread_cond_timedwait): Remove pshared mutex functionality. (__pthread_cond_wait): 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_setpshared): Ditto.
* * pwdgrp.h (pwdgrp_check::set_last_modified): Call GetFileTime()Corinna Vinschen2001-09-092-4/+7
| | | | instead of GetFileInformationByHandle().
* * heap.h (inheap): Rewrite macro to accomodate removal of brk macros below.Christopher Faylor2001-09-092-1/+8
|
* * cygheap.cc (cygheap_fixup_in_child): Clear cygheap->base so that heap is notChristopher Faylor2001-09-098-65/+82
| | | | | | | | | | | forced to start at the same place in execed process. * heap.cc: Remove brk* macros for clarity throughout. * heap.h: Ditto. * shared.cc (shared_info::initialize): Move heap_chunk test into heap_chunk_size(). (heap_chunk_size): Check for chunk size here. Don't go to registry if heap_chunk_in_mb is already set. * smallprint.c (console_printf): Add Windows 95 concessions.
* * child_info.h (PROC_MAGIC): Bump magic number.Christopher Faylor2001-09-092-1/+5
|
* * cygheap.cc (init_cygheap::etc_changed): New method to signalCorinna Vinschen2001-09-097-103/+124
| | | | | | | | | | | | | | | | | | a change in /etc. * cygheap.h (struct init_cygheap): Add member `etc_changed_h' and method `etc_changed'. * grp.cc (enum grp_state): Eliminate. (class grp_check): Ditto. (group_state): Define as `class pwdgrp_check'. (parse_grp): Remeber path and modification time of /etc/group file. * passwd.cc (enum_pwd_state): Eliminate. (class pwd_check): Ditto. (passwd_state): Define as `class pwdgrp_check'. (read_etc_passwd): Remember path and modification time of /etc/passwd file. * pwdgrp.h: New file. (enum pwdgrp_state): Substitutes `pwd_state' and `grp_state'. (class pwdgrp_check): Substitutes `pwd_check' and `grp_check'.
* * winsup.api/ltp/dup03.c: New test.Egor Duda2001-09-0916-15/+4196
| | | | | | | | | | | | | | | | | | | * winsup.api/ltp/lseek03.c: Ditto. * winsup.api/ltp/mmap001.c: Ditto. * winsup.api/ltp/read01.c: Ditto. * winsup.api/ltp/readdir01.c: Ditto. * winsup.api/ltp/rmdir05.c: Ditto. * winsup.api/ltp/sbrk01.c: Ditto. * winsup.api/ltp/select02.c: Ditto. * winsup.api/ltp/select03.c: Ditto. * winsup.api/ltp/signal03.c: Ditto. * winsup.api/ltp/stat06.c: Ditto. * winsup.api/ltp/unlink08.c: Ditto. * winsup.api/known_bugs.tcl: Update to reflect new test's known failures. * winsup.api/winsup.exp: Don't delete executable in case of unexpected pass, as well as in case of unexpected failure. * README: Update paragraph about expected failures.
* * dumper.cc (main): Change command-line arguments format to beEgor Duda2001-09-092-22/+39
| | | | | | | similar to gdb. Allow adding error_start=x:\path\to\dumper.exe to CYGWIN environment variable to perform core dumping in case of program crash. (usage): Ditto.
* * include/cygwin/version.h: Bump API minor version to 45 accordingCorinna Vinschen2001-09-092-1/+6
| | | | to adding the gamm*_r functions.
* * fork.cc (fork_parent): Stop malloc activity while fork is in control of theChristopher Faylor2001-09-095-22/+25
| | | | | | | | heap. * sigproc.cc (NZOMBIES): Rename from ZOMBIEMAX for clarity. (zombies): Revert to original behavior. Allocating zombie array resulted in performance hit. * winsup.h: Declare malloc lock routines.
* * cygwin.din: Add gamm*_r function exports.Christopher Faylor2001-09-083-1/+13
|
* * cygheap.h (init_cygheap): Move heap pointers here.Christopher Faylor2001-09-0743-543/+571
| | | | | | | | | | | | | | | | | | | * include/sys/cygwin.h (perprocess): Remove heap pointers. * dcrt0.cc (__cygwin_user_data): Reflect obsolete perprocess stuff. (_dll_crt0): Don't initialize heap pointers. (cygwin_dll_init): Ditto. (release_upto): Use heap pointers from cygheap. * heap.h: Ditto. * fork.cc (fork_parent): Ditto. Don't set heap pointers in ch. (fork_child): Remove obsolete sigproc_fixup_after_fork. * shared.cc (memory_init): Reorganize so that cygheap initialization is called prior to regular heap since regular heap uses cygheap now. * sigproc.cc (proc_subproc): Eliminate zombies allocation. (sigproc_init): Move zombies alloation here. Don't free up array on fork, just reuse it. (sigproc_fixup_after_fork): Eliminate. * sigproc.h: Ditto. * include/cygwin/version.h: Reflect change to perprocess structure.
* 2001-09-07 Jeff Law <law@redhat.com>Jeff Johnston2001-09-072-3/+8
| | | | | * libc/sys/h8300hms/crt0.S: For H8/300H and H8/S, load address of __fini with "mov.l" instead of "mov.w".
* Fri Sep 7 10:53:34 2001 Jason Tishler <jason@tishler.net>Corinna Vinschen2001-09-072-3/+16
| | | | | * poll.cc (poll): Change implementation to only call select() when no invalid file descriptors are specified.
* * how-resources.texinfo: Add some additional words about where to findChristopher Faylor2001-09-072-0/+11
| | | | documentation.
* * include/limits.h: Define PIPE_BUF.Corinna Vinschen2001-09-073-2/+13
| | | | | * syscalls.cc (fpathconf): Use PIPE_BUF instead of numerical constant. (pathconf): Ditto.
* experiment.Christopher Faylor2001-09-071-1/+1
|
* * fhandler_socket.cc (fhandler_socket::fhandler_socket): Ensure thatChristopher Faylor2001-09-072-1/+6
| | | | prot_info_ptr is zeroed for later use.
* * cygheap.cc (cygheap_fixup_in_child): Don't consider a NULL bucket as aChristopher Faylor2001-09-063-2/+13
| | | | | | candidate for deletion. It is actually the end of a linked list chain. * exceptions.cc (open_stackdumpfile): Default to "unknown" program name if myself->progname hasn't been filled out yet.
* Another in the how-it-works series.Christopher Faylor2001-09-061-0/+22
|
* Fix import symbols for AIX.Tom Rix2001-09-062-1/+13
|
* Move appropriate variables to NO_COPY segment, throughout.Christopher Faylor2001-09-0617-27/+31
|
* Remove initialization of static or global values to zero, throughout. ThisChristopher Faylor2001-09-0620-38/+45
| | | | | | just needlessly grows the size of the DLL. * tty.cc (tty::alive): Make inuse handle non-inheriting on open, just for thread safety.
* * cygheap.h (init_cygheap): Move bucket array here from cygheap.cc.Christopher Faylor2001-09-0611-18/+49
| | | | | | | | | | | | * cygheap.cc: Throughout use bucket array from cygheap. * sigproc.cc (proc_subproc): Dynamically allocate zombie buffer to save DLL space. (sigproc_fixup_after_fork): Free zombie array after a fork. * sigproc.h (sigproc_fixup_after_fork): Declare. * dir.cc (mkdir): Expand buffer for security descriptor to 4K to avoid stack corruption. * fhandler.cc (fhandler_base::open): Ditto. * path.cc (symlink): Ditto.
* * Makefile.in (dumper): Change logic for libbfd and libintl so that they willChristopher Faylor2001-09-063-5/+11
| | | | | be found either in the build tree or the installed directory. * mkpasswd.c (enum_users): Add a comment as a password for NT.
* Revert inadvertently checked in files.Christopher Faylor2001-09-062-11/+1
|
* * Makefile.in: Install libstdc++.a if it does not exist.Christopher Faylor2001-09-052-1/+11
|
* minor wording changesChristopher Faylor2001-09-051-12/+16
|
* top level overview of vfork.Christopher Faylor2001-09-051-0/+34
|
* * winver.rc: Change copyright to include 2001.Corinna Vinschen2001-09-052-1/+5
|
* * libc/sys/cygwin/include/unistd.h: New file, wrapping sys/unistd.hCorinna Vinschen2001-09-052-0/+14
| | | | and getopt.h.
* * fhandler_floppy.cc (fhandler_floppy::lseek): Remove iswinnt check.Corinna Vinschen2001-09-052-36/+37
|
* * fhandler_socket.cc (fhandler_socket::close): Change 2MSL valueCorinna Vinschen2001-09-052-1/+6
| | | | according to MSDN.
* * net.cc (cygwin_connect): Add WSAEALREADY and WSAEINVAL handlingCorinna Vinschen2001-09-052-5/+15
| | | | for non-blocking sockets.
* * alpha.h (R_ALPHA_OP*, R_ALPHA_IMMED*, R_ALPHA_GPVALUE): Remove.Richard Henderson2001-09-052-17/+14
| | | | (R_ALPHA_GPREL16): Rename from R_ALPHA_IMMED_GP_16.
* * alpha.h (struct alpha_operand): Pack elements into bitfields.Richard Henderson2001-09-052-4/+8
|
* * exceptions.cc (ctrl_c_handler): Only send SIGINT when we have a controllingChristopher Faylor2001-09-052-5/+8
| | | | terminal and we are the head of the process group.
* 2001-09-04 Earnie Boyd <earnie@SF.Net>Earnie Boyd2001-09-042-2/+7
| | | | | * lib/Makefile.in: Move the setting of variable libdir to after the setting of exec_prefix since the value of libdir is dependant on it.