summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* 2005-10-14 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2005-10-1411-108/+146
| | | | | | | | | | | | | | * libc/include/math.h (HUGE_VALF, HUGE_VALL): New. * libm/common/Makefile.am: Add s_infconst.c support. * libm/common/Makefile.in: Regenerated. * libm/common/s_infconst.c: New file with float and long double infinity support added. * libm/math/Makefile.am: Remove s_infconst.c support. * libm/math/Makefile.in: Regenerated. * libm/math/s_infconst.c: Moved to common directory. * libm/mathfp/Makefile.am: Remove s_infconst.c support. * libm/mathfp/Makefile.in: Regenerated. * libm/mathfp/s_infconst.c: Moved to common directory.
* 2005-10-14 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2005-10-142-9/+14
| | | | | * libc/sys/linux/net/gethostbydns.c (dprintf): Rename to dbgprintf to prevent conflict with new dprintf function.
* 2005-10-14 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2005-10-142-2/+13
| | | | | * libc/stdio/vfprintf.c (_VFPRINTF_R): Fix up "inf" and "nan" processing for systems that have long double support.
* 2005-10-14 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2005-10-142-0/+5
| | | | * libc/sys/linux/sys/types.h (int8_t): Add type.
* 2005-10-14 Bob Wilson <bob.wilson@acm.org>Jeff Johnston2005-10-146-14/+74
| | | | | | | | * libm/common/Makefile.am (doc): Do not append to $(TARGETDOC). * libm/common/Makefile.in: Regenerate. * libm/common/common.tex: Delete file. * libm/math/math.tex: Include .def files from common/. * libm/mathfp/mathfp.tex: Likewise.
* 2005-10-14 Bob Wilson <bob.wilson@acm.org>Jeff Johnston2005-10-142-4/+30
| | | | | | | * libc/libc.texinfo (Top): Surround this node with @ifnottex instead of @ifinfo. Update menu to add Introduction and match SUBDIRS order. (Introduction): New section.
* 2005-10-14 Bob Wilson <bob.wilson@acm.org>Jeff Johnston2005-10-145-5/+13
| | | | | | | | * libc/reent/reent.tex (Reentrancy): Replace "Cygnus C Library" with "Red Hat newlib C Library". * libc/sys.tex (Stubs): Likewise. * libm/math/math.tex (Math): Likewise. * libm/mathfp/mathfp.tex (Math): Likewise.
* * Makefile.in (MKDIRP): Just use raw $(INSTALL) rather than $(INSTALL_DATA).Christopher Faylor2005-10-142-1/+7
| | | | Create directories with 755 permissions.
* 2005-10-13 Wu Yongwei <adah@users.sourceforge.net>Danny Smith2005-10-132-0/+20
| | | | | * include/tchar.h: Include <wchar.h> when _UNICODE is defined. (_TEOF): New macro definition for _UNICODE and non_UNICODE cases.
* * gas/hppa/basic/basic.exp (do_system): Adjust for removal of lhaJohn David Anglin2005-10-132-4/+6
| | | | | | | instructions from system.s. * gas/hppa/basic/system.s (lha): Remove. * hppa.h (pa_opcodes): Remove lha entries.
* * dir.cc (mkdir): Abandon use of PC_WRITABLE.Christopher Faylor2005-10-124-13/+16
| | | | | | | (rmdir): Ditto. * path.h (PC_WRITABLE): Delete. * path.cc (path_conv::check): Remove PC_WRITABLE accommodations. Revisit later.
* * fhandler_disk_file.cc (fhandler_disk_file::rmdir): Convert anCorinna Vinschen2005-10-122-2/+13
| | | | | ERROR_INVALID_FUNCTION into an ERROR_FILE_NOT_FOUND. Add comment to explain why.
* * include/winbase.h (GetProcessId): Remove duplicate declaration.Danny Smith2005-10-122-4/+6
| | | | Use _WIN32_WINNT >= 0x0501 guard.
* * include/stddef.h: Remove.Danny Smith2005-10-123-14/+5
| | | | * include/stdarg.h: Remove.
* * mingwex/complex/csqrt.c (csqrt): The sign of real partDanny Smith2005-10-124-8/+16
| | | | | | of result is positive when real part of arg == 0; * mingwex/complex/csqrtf.c (csqrtf): Ditto. * mingwex/complex/csqrtl.c (csqrtl): Ditto.
* * include/time.h (_time64): Correct prototype.Danny Smith2005-10-122-1/+5
|
* 2005-10-11 Shaun Jackman <sjackman@gmail.com>Jeff Johnston2005-10-117-40/+238
| | | | | | | | | | | * libc/include/stdio.h (dprintf): New declaration. (vdprintf): Ditto. * libc/stdio/Makefile.am (GENERAL_SOURCES): Add dprintf.c and vdprintf.c. * libc/stdio/Makefile.in: Regenerate. * libc/stdio/dprintf.c: New file. * libc/stdio/vdprintf.c: New file. * libc/stdio/stdio.tex (dprintf): New entry.
* 2005-10-11 David Weatherford <weath@tensilica.com>Jeff Johnston2005-10-112-2/+15
| | | | | | * libc/stdio/vfprintf.c (_VFPRINTF_R): Recognize 'F' format. Print "inf" and "nan" in lowercase for e/f/g formats and in uppercase for E/F/G formats.
* Add ChangeLog: * include/winbase.h (GetProcessId): Declare.Christopher Faylor2005-10-113-1/+7
| | | | Revert erroneous include/winsock.h checkin.
* revert erroneous checkinChristopher Faylor2005-10-112-6/+2
|
* * Makefile.in: Make sure that directories are created prior to copying to them.Christopher Faylor2005-10-112-0/+9
|
* * Makefile.common (CFLAGS_COMMON): Add -Wstrict-aliasing.Christopher Faylor2005-10-116-4/+13
|
* * net.cc (cygwin_gethostbyname): Remove debugging.Christopher Faylor2005-10-112-3/+4
|
* * syslog.cc (try_connect_syslogd): Add priority parameter. Use writevCorinna Vinschen2005-10-112-15/+37
| | | | | | | to add the priority to the message in a syslog conformant way. (vsyslog): If facility isn't set in the priority, use default facility as given in call to openlog. Fix agressive use of spaces in syslog output. Call try_connect_syslogd with priority parameter.
* * (symlink_info::set_error): Change to return bool if input error should beChristopher Faylor2005-10-112-7/+25
| | | | | ignored. (symlink_info::check): Treat path as a normal file if set_error returns false.
* * configure.in (arm-*-linux-gnueabi): Add to noconfigdirsKazu Hirata2005-10-093-76/+91
| | | | | | target-libffi, target-qthreads, target-libjava, and targetlibobjc. * configure: Regenerate.
* * config/tc-hppa.c (strict): Don't initialize. Update comment.John David Anglin2005-10-082-84/+151
| | | | | | | | | | (pa_ip): Promote from PA 1.0 to 1.1 immediately when 1.1 match is found. Simplify handling of "ma" and "mb" completers. * hppa.h (FLAG_STRICT): Revise comment. (pa_opcode): Revise ordering rules. Add/move strict pa10 variants before corresponding pa11 opcodes. Add strict pa10 register-immediate entries for "fdc".