summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * fork.cc (frok::child): Change order of cleanup prior to return.Christopher Faylor2005-10-294-7/+18
| | | | | | (fork): Save more of the stack. * gendef: Fix some comments. * sigproc.cc (wait_sig): Clarify debug output.
* * child_info.h (CHILD_INFO_MAGIC): Reset.Christopher Faylor2005-10-292-1/+5
|
* 2005-10-28 Bob Wilson <bob.wilson@acm.org>Jeff Johnston2005-10-289-29/+48
| | | | | | | | | | | * libc/stdio/siprintf.c: Wrap long lines in ANSI_SYNOPSIS. * libc/stdio/siscanf.c: Likewise. * libc/stdio/sprintf.c: Likewise. * libc/stdio/sscanf.c: Likewise. * libc/stdio/vfprintf.c: Likewise. * libc/stdio/vfscanf.c: Likewise. * libc/stdio/viprintf.c: Likewise. * libc/stdio/viscanf.c: Likewise.
* 2005-10-28 Bob Wilson <bob.wilson@acm.org>Jeff Johnston2005-10-282-42/+47
| | | | | | * libc/sys.tex (Stubs): Format examples consistently. Change sbrk example to use "_end" symbol instead of "end". Change write example to use "outbyte" instead of "writechar".
* 2005-10-28 Bob Wilson <bob.wilson@acm.org>Jeff Johnston2005-10-2838-133/+173
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * libc/ctype/ctype.tex: Use hyphens as appropriate, but not otherwise. * libc/ctype/islower.c: Likewise. * libc/ctype/isupper.c: Likewise. * libc/ctype/iswalnum.c: Likewise. * libc/ctype/iswalpha.c: Likewise. * libc/ctype/iswblank.c: Likewise. * libc/ctype/iswcntrl.c: Likewise. * libc/ctype/iswdigit.c: Likewise. * libc/ctype/iswgraph.c: Likewise. * libc/ctype/iswlower.c: Likewise. * libc/ctype/iswprint.c: Likewise. * libc/ctype/iswpunct.c: Likewise. * libc/ctype/iswspace.c: Likewise. * libc/ctype/iswupper.c: Likewise. * libc/ctype/iswxdigit.c: Likewise. * libc/ctype/tolower.c: Likewise. * libc/ctype/toupper.c: Likewise. * libc/ctype/towctrans.c: Likewise. * libc/ctype/towlower.c: Likewise. * libc/ctype/towupper.c: Likewise. * libc/string/strcasecmp.c: Likewise. * libc/string/strcoll.c: Likewise. * libc/string/strings.tex: Likewise. * libc/string/strlwr.c: Likewise. * libc/string/strncasecmp.c: Likewise. * libc/string/strupr.c: Likewise. * libc/string/wcscoll.c: Likewise. * libc/string/wcslcat.c: Likewise. * libc/string/wcslcpy.c: Likewise. * libc/string/wcsnlen.c: Likewise. * libc/string/wcsstr.c: Likewise. * libc/string/wcstrings.tex: Likewise. * libc/string/wmemchr.c: Likewise. * libc/string/wmemcmp.c: Likewise. * libc/string/wmemcpy.c: Likewise. * libc/string/wmemmove.c: Likewise. * libc/string/wmemset.c: Likewise.
* 2005-10-28 Bob Wilson <bob.wilson@acm.org>Jeff Johnston2005-10-2852-132/+192
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * libc/misc/unctrl.c: Replace FUNCTION description. * libc/signal/signal.c: Remove documentation for raise and _raise_r. * libc/stdio/getdelim.c: Fix spelling errors. * libc/stdio/getw.c: Put RETURNS on a separate line. Fix punctuation. * libc/stdio/putw.c: Likewise. * libc/stdlib/a64l.c: Fix formatting, spelling and punctuation in documentation. * libc/stdlib/assert.c: Do not capitalize FUNCTION description. * libc/stdlib/efgcvt.c: Add spaces to FUNCTION description. * libc/stdlib/envlock.c: Use em-dash in FUNCTION description. * libc/stdlib/mlock.c: Likewise. * libc/stdlib/mstats.c: Likewise. * libc/time/tzlock.c: Likewise. * libc/stdlib/rand.c: Use "multi-threaded" and "thread-safe" in NOTES. * libc/stdlib/rand48.c: Remove extra space in FUNCTION description and hyphenate "pseudo-random". * libc/string/bcmp.c: Remove extra blank lines in documentation. * libc/string/strncat.c: Likewise. * libc/string/memchr.c: Remove extra ">" character in documentation. * libc/string/strcspn.c: Use "characters" instead of "chars". * libc/string/strpbrk.c: Likewise. * libc/string/strerror_r.c: Capitalize "GNU". * libc/string/strnlen.c: Likewise. * libc/string/strtok.c: Fix formatting, spelling and punctuation in documentation. Use "multi-threaded" and "thread-safe" in NOTES. * libc/string/wcscat.c: Split PORTABILITY into two paragraphs. * libc/string/wcschr.c: Likewise. * libc/string/wcscmp.c: Likewise. * libc/string/wcscpy.c: Likewise. * libc/string/wcscspn.c: Likewise. * libc/string/wcslen.c: Likewise. * libc/string/wcsncat.c: Likewise. * libc/string/wcsncmp.c: Likewise. * libc/string/wcsncpy.c: Likewise. * libc/string/wcsnlen.c: Likewise. * libc/string/wcspbrk.c: Likewise. * libc/string/wcsrchr.c: Likewise. * libc/string/wcsspn.c: Likewise. * libc/string/wmemchr.c: Likewise. * libc/string/wmemcmp.c: Likewise. * libc/string/wmemcpy.c: Likewise. * libc/string/wmemset.c: Likewise. * libc/string/wmemmove.c: Likewise. Also fix FUNCTION description. * libc/string/wcswidth.c: Formatting and punctuation in documentation. * libc/string/wcwidth.c: Likewise. * libm/common/s_modf.c: Remove extra period from documentation. * libm/math/s_isnan.c: Fix formatting, grammar and punctuation in documentation. * libm/mathfp/s_isnan.c: Likewise. * libm/math/s_ldexp.c: Fix punctuation. * libm/mathfp/s_ldexp.c: Likewise. * libm/math/w_log.c: Likewise. * libm/mathfp/s_logarithm.c: Likewise. * libm/math/w_j0.c: Add spaces to FUNCTION description. * libm/mathfp/w_jn.c: Likewise.
* 2005-10-28 Dave Brolley <brolley@redhat.com>Dave Brolley2005-10-283-1/+31
| | | | | | | | Contribute the following changes: 2003-09-29 Dave Brolley <brolley@redhat.com> * dis-asm.h (disassemble_info): insn_sets now (void *) to allow for more exotic underlying types to be used.
* 2005-10-28 Dave Brolley <brolley@redhat.com>Dave Brolley2005-10-283-7/+83
| | | | | | | | | Contribute the following changes: 2005-02-16 Dave Brolley <brolley@redhat.com> * cgen-bitset.h: Rename CGEN_ISA_MASK to CGEN_BITSET. Rename cgen_isa_mask_* to cgen_bitset_*. * cgen.h: Likewise.
* 2005-10-27 Chris Sutcliffe <ir0nh34d@users.sf.net>Chris Sutcliffe2005-10-273-3/+8
| | | | | * include/w32api.h: Increment version to 3.4. * Makefile.in: Ditto.
* 2005-10-27 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>Chris Sutcliffe2005-10-273-3/+8
| | | | | * Include/_mingw.h: Increment version to 3.9. * Makefile.in: Ditto.
* 2005-10-26 Shaun Jackman <sjackman@gmail.com>Jeff Johnston2005-10-264-5/+12
| | | | | | | | | * libc/posix/scandir.c (scandir): Update the function prototype to match the header. * libc/sys/linux/linuxthreads/bits/libc-lock.h: Remove an extraneous #endif. * libc/sys/linux/sys/lock.h: Do not include machine/weakalias.h, since it's not used by this file.
* 2005-10-26 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2005-10-263-8/+13
| | | | | * libc/Makefile.am: Reorder SUBLIBS so machine and sys directories can override properly.
* Add support for the Z80 processor familyNick Clifton2005-10-257-3/+75
|
* * pinfo.cc (_pinfo::fds): Lock fdtab while enumerating.Christopher Faylor2005-10-242-1/+5
|
* * spawn.cc (spawn_guts): Don't leave the function with return insideCorinna Vinschen2005-10-242-2/+9
| | | | pthread cleanup brackets.
* * cygheap.h (cygheap_fdenum): Remove start_fd stuff.Christopher Faylor2005-10-244-6/+12
| | | | | | (cygheap_fdenum::rewind): Ditto. * pipe.cc (fhandler_pipe::open): Lock fdtab while enumerating. * times.cc (utimes_worker): Ditto.
* include/opcode/Jan Beulich2005-10-242-1/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-10-24 Jan Beulich <jbeulich@novell.com> * ia64.h (enum ia64_opnd): Move memory operand out of set of indirect operands. bfd/ 2005-10-24 Jan Beulich <jbeulich@novell.com> * cpu-ia64-opc.c (elf64_ia64_operands): Move memory operand out of set of indirect operands. gas/ 2005-10-24 Jan Beulich <jbeulich@novell.com> * config/tc-ia64.c (enum reg_symbol): Delete IND_MEM. (dot_rot): Change type of num_* variables. Check for positive count. (ia64_optimize_expr): Re-structure. (md_operand): Check for general register. gas/testsuite/ 2005-10-24 Jan Beulich <jbeulich@novell.com> * gas/ia64/index.[sl]: New. * gas/ia64/rotX.[sl]: New. * gas/ia64/ia64.exp: Run new tests. opcodes/ 2005-10-24 Jan Beulich <jbeulich@novell.com> * ia64-asmtab.c: Regenerate.
* add missing ChangeLog entryChristopher Faylor2005-10-241-0/+1
|
* * cygheap.h (cygheap_fdenum::cygheap_fdenum): Record locked state or sufferChristopher Faylor2005-10-239-66/+86
| | | | | | | | | | | | | | | | | | | deadlocks. (class locked_process): Move to another header. * sync.h (lock_process): Define here. * cygtls.cc (_cygtls::fixup_after_fork): Reset spinning state as well as stacklock state. * dcrt0.cc (lock_process::locker): Define. (dtable::lock_cs): Delete. * dtable.cc (dtable_init): Eliminate call to init_lock(). (dtable::fixup_after_fork): Ditto. (dtable::init_lock): Delete definition. * dtable.h (dtable::init_lock): Delete declaration. (dtable::lock): Use process lock rather than dtable-specific lock. (dtable::unlock): Ditto. * sigproc.cc (sigproc_init): Minor change to debugging output. * times.cc (utime_worker): Use build_fh_pc rather than reinterpreting the posix path name again. Return any error from path_conv immediately.
* * fhandler_socket.cc (fhandler_socket::connect): Don't restrictCorinna Vinschen2005-10-223-16/+35
| | | | | | | | | WSAEINVAL -> WSAEISCONN conversion to nonblocking sockets. (fhandler_socket::accept): Use event driven technique to implement interuptible accept. (fhandler_socket::wait): Allow FD_ACCEPT handling. * net.cc (cygwin_accept): Remove workaround for allowing blocking accept. That's entirely in fhandler_socket::accept now.
* * fhandler.h (class fhandler_socket): Add timeout parameter to wait()Corinna Vinschen2005-10-224-55/+37
| | | | | | | | | | method. * fhandler_socket.cc (fhandler_socket::connect): Use event driven technique (prepare/wait/release) to implement interuptible connect. (fhandler_socket::wait): Add timeout parameter. Allow FD_CONNECT handling. * net.cc (cygwin_connect): Remove braindead workaround for allowing blocking connect. That's entirely in fhandler_socket::connect now.
* 2005-10-22 Paolo Bonzini <bonzini@gnu.org>Paolo Bonzini2005-10-223-31/+83
| | | | | | | | PR bootstrap/24297 * Makefile.tpl (do-[+make-target+], do-check, install, stage[+id+]-bubble, [+compare-target+]): Ensure $$r and $$s are set before recursing. * Makefile.in: Regenerate.
* * include/cygwin/version.h: Fix typo.Corinna Vinschen2005-10-222-1/+5
|
* Fix typoMark Mitchell2005-10-211-1/+1
|
* * texi2pod.pl: Substitue for @value even when part of @include.Mark Mitchell2005-10-212-3/+8
|
* * texi2pod.pl: Import latest version from GCC.Bob Wilson2005-10-212-17/+36
|
* * dir.cc (rmdir): Eliminate nonsensical code.Christopher Faylor2005-10-213-5/+8
| | | | * fork.cc (fork): Move exit debug_printf to last statement.
* 2005-10-20 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2005-10-202-22/+51
| | | | | * libc/include/math.h (HUGE_VAL, HUGE_VALF, HUGE_VALL): When gcc is 3.3 or greater, use special gcc builtins.
* 2005-10-20 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2005-10-203-10/+24
| | | | | | * arm/configure.in: Add AC_SUBST for BUILD_CRT0_TRUE and BUILD_CRT0_FALSE. * arm/configure: Regenerate.
* * libc/include/sys/time.h: Declare futimes and lutimes for Cygwin.Corinna Vinschen2005-10-202-0/+8
|
* * cygwin.din (futimes): Export.Corinna Vinschen2005-10-204-5/+47
| | | | | | | | | | (lutimes): Export. * times.cc (utimes_worker): Created from utimes, add nofollow flag to implement utimes and lutimes. (utimes): Just call utimes_worker. (lutimes): New function. (futimes): Ditto. * include/cygwin/version.h: Bump API minor version.
* PR bootstrap/18939Eric Botcazou2005-10-203-2/+8
| | | | | * Makefile.def (gcc) <target>: Fix thinko. * Makefile.in: Regenerate.
* * sigproc.cc (child_info::sync): Move check for !wr_proc_pipe lower.Christopher Faylor2005-10-192-31/+26
| | | | * spawn.cc (spawn_guts): Correct check for top-level process.
* * sigproc.cc (child_info::sync): Move check for !wr_proc_pipe lower.Christopher Faylor2005-10-191-0/+5
| | | | * spawn.cc (spawn_guts): Correct check for top-level process.
* * autoload.cc: Revert loading rcmd, rexec, rresvport and inet_networkCorinna Vinschen2005-10-192-4/+11
| | | | from wsock32.dll since these symbols are not exported from ws2_32.dll.
* * times.cc (utimes): Only consider fds opened with write access.Christopher Faylor2005-10-192-1/+6
|
* * fhandler_disk_file.cc (fhandler_base::utimes_fs): Use existing handle ifChristopher Faylor2005-10-193-19/+51
| | | | | | fhandler has one. * times.cc (utimes): Scan open fds for matching paths and use existing fhandler if one exists.
* * pinfo.cc (_pinfo::dup_proc_pipe): Make warning more severe by actuallyChristopher Faylor2005-10-192-5/+15
| | | | | | printing it. (_pinfo::alert_parent): Fix comment. Don't send to parent if we are in an exec stub.
* * cygtls.cc (handle_threadlist_exception): Improve diagnostic output.Christopher Faylor2005-10-193-8/+14
| | | | | * sigproc.cc (child_info::sync): Only clear hProcess when execing. (wait_sig): Protect readsig handle.
* * autoload.cc (NtLockVirtualMemory): Import.Corinna Vinschen2005-10-1810-14/+160
| | | | | | | | | | | | | | | | | | | | | (NtUnlockVirtualMemory): Import. (GetProcessWorkingSetSize): Import. (SetProcessWorkingSetSize): Import. * cygwin.din (mlock): Export. (munlock): Export. * mmap.cc (mlock): New function. (munlock): Ditto. * ntdll.h (STATUS_WORKING_SET_QUOTA): Define. (LOCK_VM_IN_WSL): Define. (LOCK_VM_IN_RAM): Define. (NtLockVirtualMemory): Declare. (NtUnlockVirtualMemory): Declare. * sysconf.cc (sysconf): Implement _SC_MEMLOCK_RANGE. * wincap.h: Implement has_working_virtual_lock throughout. * wincap.cc: Ditto. * include/cygwin/version.h: Bump API minor version. * include/sys/mman.h (mlock): Declare, (munlock): Declare.
* * libc/include/sys/features.h: Define _POSIX_MEMLOCK_RANGE for Cygwin.Corinna Vinschen2005-10-182-0/+5
|
* * sigproc.cc (child_info::sync): Use correct name when closing to preventChristopher Faylor2005-10-183-1/+9
| | | | | | warnings when DEBUGGING. * spawn.cc (spawn_guts): Set myself.hProcess to pi.hProcess since this may have been zeroed by the previous sync.
* * sigproc.cc (child_info::sync): Fix typo which caused hProcess to never beChristopher Faylor2005-10-182-3/+8
| | | | cleared. Only clear hProcess when not forking.
* Change process_lock to lock_process throughout. Change all calls to newChristopher Faylor2005-10-1718-85/+162
| | | | | | | | | | | | | | | | | | | | | | | | | | | cygthread to handle extra argument, throughout. * cygthread.h (cygthread::callproc): Declare new method. (cygthread::cygthread): Add optional length argument to allow copying arguments to executing thread. * cygthread.cc (cygthread::callproc): Define new method. (cygthread::stub): Use callfunc to invoke thread func to allow potentially allocating stack memory which will be returned. (cygthread::simplestub): Ditto. (cygthread::cygthread): Accept arglen argument. Reset ev here prior to activating thread. Wait for ev after activating thread if we're copying contents to the thread. Wait until the end before setting h, to allow thread synchronization. (cygthread::release): Don't reset ev here. Rely on that happening the next time the thread is activated. * pinfo.h (commune_process): Rename declaration from _pinfo::commune_process. * pinfo.cc (commune_process): Ditto for definition. Modify slightly to allow running as a separate cygthread. * sigproc.cc (child_info::sync): Always wait for both subproc_ready and any hProcess if we have a cygwin parent. (talktome): Change argument to be a pointer to siginfo_t. Contiguously allocate whole siginfo_t structure + any needed extra for eventual passing to commune_process thread. (wait_sig): Accommodate change in talktome argument. * pipe.cc (fhandler_pipe::fixup_after_exec): Remove debugging.
* * autoload.cc: Never load wsock32.dll. Load all wsock32 functionCorinna Vinschen2005-10-178-466/+401
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | from ws2_32. Rearrange symbol order accordingly. None of the ws2_32 functions is optional right now. (wsadata): Move from net.cc here. Define NO_COPY. (wsock_init): Drop unused symbols ws2_32_handle and wsock32_handle. (load_wsock32): Remove. (WSACleanup): Remove. * fhandler_socket.cc: Drop Winsock 1 accommodations throughout. (fhandler_socket::readv): Accomodate new POSIX style struct msghdr. (fhandler_socket::writev): Ditto. (fhandler_socket::recvmsg): Ditto. Handle "old" applications using former struct msghdr correctly. * net.cc: Drop Winsock 1 accommodations throughout. (wsadata): Move definition to autoload.cc. (set_socket_inheritance): Remove. (convert_ws1_ip_optname): New static function to convert Winsock1 IPPROTO_IP option values into Winsock2 IPPROTO_IP option values. (cygwin_setsockopt): Remove wrong and incomplete cleartext printing of optname. For "old" applications, convert optname from Winsock1 to Winsock2 values before using them. Add comment to describe the IP_TOS weirdness on W2K and above. (cygwin_getsockopt): Remove wrong and incomplete cleartext printing of optname. For "old" applications, convert optname from Winsock1 to Winsock2 values before using them. * select.cc (start_thread_socket): Forget about winsock2_active. * winsup.h (wsock32_handle): Remove declaration. (ws2_32_handle): Ditto. (netapi32_handle): Ditto. (wsadata): Ditto. (winsock2_active): Remove definition. * include/cygwin/socket.h: Change formatting slightly. (socklen_t): Move definition up in file. (struct msghdr): Convert to POSIX style. (struct cmsghdr): New type. (CMSG_ALIGN): New macro. (CMSG_LEN): Ditto. (CMSG_SPACE): Ditto. (CMSG_FIRSTHDR): Ditto. (CMSG_NXTHDR): Ditto. (CMSG_DATA): Ditto. (SCM_RIGHTS): Ditto. (struct OLD_msghdr): Define old msghdr structure for Cygwin internal purposes. (MSG_TRUNC): New macro. (MSG_CTRUNC): Ditto. (IP_OPTIONS): Redefine IPPROTO_IP option values to Winsock2 values. Keep Winsock1 values for Cygwin internal purposes. * include/cygwin/version.h: Bump API minor version. (CYGWIN_VERSION_CHECK_FOR_USING_ANCIENT_MSGHDR): Define to check for applications using old struct msghdr. (CYGWIN_VERSION_CHECK_FOR_USING_WINSOCK1_VALUES): Define to check for applications using old Winsock1 IPPROTO_IP values.
* 2005-10-17 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2005-10-173-6/+12
| | | | | | * arm/configure.in: Support building crt0.o when syscalls are disabled in newlib. * arm/configure: Regenerated.
* * configure.in (bfin-*-*): Use test, not brackets, in if statement.Bernd Schmidt2005-10-173-2/+7
| | | | * configure: Regenerate.
* Check in previously ChangeLoged entry.Christopher Faylor2005-10-171-1/+1
|
* * hppa.h (pa_opcodes): Add two fcmp opcodes. Reorder ftest opcodes.John David Anglin2005-10-162-1/+8
| | | | Add FLAG_STRICT to pa10 ftest opcode.
* * include/limits.h (SSIZE_MAX): Define.Danny Smith2005-10-152-9/+19
| | | | (LLONG_MAX, LLONG_MIN, ULLONG_MAX): Separate from non-ISO names.