b397593c942005-11-08 Tom Walsh <tom@openhardware.net>
Jeff Johnston
2005-11-08 22:44:16 +0000
86c6c4212f* libc/include/string.h: Add cygwin-specific function declaration.
Christopher Faylor
2005-11-08 22:10:33 +0000
14f7b567ccfix entry
Christopher Faylor
2005-11-08 22:08:59 +0000
42cd8528aa* memmem.cc: New file. * include/cygwin/version.h: Bump API version number to 142. * cygwin.din: Export memmem.
Christopher Faylor
2005-11-08 22:08:39 +0000
1f99dd3ecf* environ.cc (spenvs): Make "SYSTEMDRIVE" an "always export".
Christopher Faylor
2005-11-08 16:32:09 +0000
39f7ae0616* times.cc (futimes): Redirect to utimes_worker if given file descriptor is opened R/O.
Corinna Vinschen
2005-11-07 17:08:08 +0000
835cc311c3* elf/hppa.h (R_PARISC_DIR64WR, R_PARISC_DIR64DR): Remove relocs.
John David Anglin
2005-11-07 00:08:35 +0000
2b91e0dac4* dcrt0.cc (dll_crt0_0): Initialize security data first so that it can be used by subsequent handle creation.
Christopher Faylor
2005-11-06 14:02:33 +0000
72319550c1* cygheap.h (init_cygheap::_gtod): New hires_ms element. * hires.h (hires_ms::minperiod): Remove static designation. (hires::began_period): New field. * signal.cc: Include headers required for cygheap.h now that gtod lives in the cygheap. * timer.c: Ditto. * times.cc (gtod): Delete variable. (gtod::minperiod): Ditto. (gtod::began_period): Define. (hires_ms::prime): Add more debugging output. Call timeBeginPeriod only when !began_period.
Christopher Faylor
2005-11-04 20:45:56 +0000
f359a29fc8* times.cc (hires_ms::prime): More debugging. (hires_ms::usecs): Ditto.
Christopher Faylor
2005-11-04 17:38:32 +0000
39dd399c502005-11-04 Michael Jung <mjung@iss.tu-darmstadt.de>
Danny Smith
2005-11-04 02:19:26 +0000
86548162b0* times.cc (stupid_printf): Define and use throughout -- temporarily.
Christopher Faylor
2005-11-04 02:01:45 +0000
15eaca1c3f2005-11-03 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston
2005-11-03 20:47:50 +0000
d31a8623122005-11-03 Shaun Jackman <sjackman@gmail.com>
Jeff Johnston
2005-11-03 16:52:15 +0000
314f743e1e* times.cc (hires_ms::prime): Add lots of temporary debugging output.
Christopher Faylor
2005-11-03 14:59:23 +0000
cdf5300155* lib/crypt32.def (CertOIDToAlgId, CertAlgIDToOID, CryptProtectData, CryptUnprotectData, CryptDecodeObjectEx, CryptEncodeObjectEx, CryptRegisterOIDFunction, CryptUnregisterOIDFunction): Add stubs. Thanks to: F Richter <res2002 at users dot sourceforge dot net>
Danny Smith
2005-11-03 08:21:18 +0000
71ac53ee132005-11-01 Ralf Corsepius <ralf.corsepius@rtems.org>
Jeff Johnston
2005-11-01 22:26:21 +0000
b7bb9f5fde* include/sys/cygwin.h: Define CYGWIN_SIGNAL_STRING. * exceptins.cc (sigpacket::process): Send a _CYGWIN_SIGNAL_STRING to gdb if the process is being debugged. A WIP.
Christopher Faylor
2005-11-01 05:55:30 +0000
dc1b6289a62005-10-31 Darin Johnson <darin@usa.net>
Jeff Johnston
2005-10-31 18:47:20 +0000
00ee7d4e99merge from gcc
DJ Delorie
2005-10-31 18:01:16 +0000
ecb476c1652005-10-29 Chris Sutcliffe <ir0nh34d@users.sf.net>
Chris Sutcliffe
2005-10-30 00:07:58 +0000
0dc249751d* exceptions.cc (signal_exit): Eliminate setting of main thread priority since process lock should make that unnecessary. * fork.cc (stack_base): Eliminate. (frok::parent): Subsume stack_base and just set stack stuff here. Report on priority class in debugging output. * spawn.cc (spawn_guts): Report on priority class in debugging output.
Christopher Faylor
2005-10-29 20:33:59 +0000
f02b22dcee* fork.cc (frok::child): Change order of cleanup prior to return. (fork): Save more of the stack. * gendef: Fix some comments. * sigproc.cc (wait_sig): Clarify debug output.
Christopher Faylor
2005-10-29 15:19:34 +0000
c85263884a* child_info.h (CHILD_INFO_MAGIC): Reset.
Christopher Faylor
2005-10-29 15:05:55 +0000
884c0ff0162005-10-28 Bob Wilson <bob.wilson@acm.org>
Jeff Johnston
2005-10-28 21:38:59 +0000
a9c15f6feb2005-10-28 Bob Wilson <bob.wilson@acm.org>
Jeff Johnston
2005-10-28 21:36:05 +0000
a306ebc97e2005-10-28 Bob Wilson <bob.wilson@acm.org>
Jeff Johnston
2005-10-28 21:33:23 +0000
239c2bf93e2005-10-28 Bob Wilson <bob.wilson@acm.org>
Jeff Johnston
2005-10-28 21:21:08 +0000
39e9e2b0c92005-10-28 Dave Brolley <brolley@redhat.com>
Dave Brolley
2005-10-28 19:41:01 +0000
2f8b2203e32005-10-28 Dave Brolley <brolley@redhat.com>
Dave Brolley
2005-10-28 19:38:59 +0000
cc2ac099b52005-10-27 Chris Sutcliffe <ir0nh34d@users.sf.net>
Chris Sutcliffe
2005-10-27 23:28:21 +0000
8cc9ac230c2005-10-27 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
Chris Sutcliffe
2005-10-27 21:21:58 +0000
2556eb8d412005-10-26 Shaun Jackman <sjackman@gmail.com>
Jeff Johnston
2005-10-26 22:16:34 +0000
c9d71a8d462005-10-26 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston
2005-10-26 22:10:51 +0000
4aa1b05777Add support for the Z80 processor family
Nick Clifton
2005-10-25 17:40:19 +0000
6573722005* pinfo.cc (_pinfo::fds): Lock fdtab while enumerating.
Christopher Faylor
2005-10-24 15:42:14 +0000
6485bf0b33* spawn.cc (spawn_guts): Don't leave the function with return inside pthread cleanup brackets.
Corinna Vinschen
2005-10-24 15:17:54 +0000
95baaf8819include/opcode/ 2005-10-24 Jan Beulich <jbeulich@novell.com>
Jan Beulich
2005-10-24 07:42:50 +0000
0f9a8fc652add missing ChangeLog entry
Christopher Faylor
2005-10-24 00:02:05 +0000
82c925af80* cygheap.h (cygheap_fdenum::cygheap_fdenum): Record locked state or suffer 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.
Christopher Faylor
2005-10-23 23:47:45 +0000
c2c020d1fb* fhandler_socket.cc (fhandler_socket::connect): Don't restrict 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.
Corinna Vinschen
2005-10-22 16:02:15 +0000
152a9caf58* fhandler.h (class fhandler_socket): Add timeout parameter to wait() 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.
Corinna Vinschen
2005-10-22 15:11:49 +0000
ecebee48382005-10-22 Paolo Bonzini <bonzini@gnu.org>
Paolo Bonzini
2005-10-22 10:37:55 +0000
f4f1045c8cFix typo
Mark Mitchell
2005-10-21 23:31:33 +0000
6fd3ff4e70* texi2pod.pl: Substitue for @value even when part of @include.
Mark Mitchell
2005-10-21 23:29:22 +0000
a6d19f4cd4* texi2pod.pl: Import latest version from GCC.
Bob Wilson
2005-10-21 18:08:07 +0000
a591389de3* dir.cc (rmdir): Eliminate nonsensical code. * fork.cc (fork): Move exit debug_printf to last statement.
Christopher Faylor
2005-10-21 14:08:19 +0000
09968b6d272005-10-20 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston
2005-10-20 21:42:33 +0000
34da20b26f2005-10-20 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston
2005-10-20 20:17:50 +0000
c70571bdbe* libc/include/sys/time.h: Declare futimes and lutimes for Cygwin.
Corinna Vinschen
2005-10-20 14:38:57 +0000
81bd1ca723* cygwin.din (futimes): Export. (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.
Corinna Vinschen
2005-10-20 14:26:23 +0000
0cdcb2345a* sigproc.cc (child_info::sync): Move check for !wr_proc_pipe lower. * spawn.cc (spawn_guts): Correct check for top-level process.
Christopher Faylor
2005-10-19 22:25:46 +0000
fece95f7f3* sigproc.cc (child_info::sync): Move check for !wr_proc_pipe lower. * spawn.cc (spawn_guts): Correct check for top-level process.
Christopher Faylor
2005-10-19 22:13:04 +0000
c928a06464* autoload.cc: Revert loading rcmd, rexec, rresvport and inet_network from wsock32.dll since these symbols are not exported from ws2_32.dll.
Corinna Vinschen
2005-10-19 19:55:31 +0000
b27f0b2cf9* times.cc (utimes): Only consider fds opened with write access.
Christopher Faylor
2005-10-19 17:11:25 +0000
5a90915d41* fhandler_disk_file.cc (fhandler_base::utimes_fs): Use existing handle if fhandler has one. * times.cc (utimes): Scan open fds for matching paths and use existing fhandler if one exists.
Christopher Faylor
2005-10-19 16:50:43 +0000
b3982520d3* pinfo.cc (_pinfo::dup_proc_pipe): Make warning more severe by actually printing it. (_pinfo::alert_parent): Fix comment. Don't send to parent if we are in an exec stub.
Christopher Faylor
2005-10-19 14:19:37 +0000
b72a5c0767* cygtls.cc (handle_threadlist_exception): Improve diagnostic output. * sigproc.cc (child_info::sync): Only clear hProcess when execing. (wait_sig): Protect readsig handle.
Christopher Faylor
2005-10-19 00:22:08 +0000
a93b4154f1* sigproc.cc (child_info::sync): Use correct name when closing to prevent warnings when DEBUGGING. * spawn.cc (spawn_guts): Set myself.hProcess to pi.hProcess since this may have been zeroed by the previous sync.
Christopher Faylor
2005-10-18 15:13:13 +0000
4116609aca* sigproc.cc (child_info::sync): Fix typo which caused hProcess to never be cleared. Only clear hProcess when not forking.
Christopher Faylor
2005-10-18 04:20:46 +0000
267e201daeChange process_lock to lock_process throughout. Change all calls to new 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.
Christopher Faylor
2005-10-17 23:27:00 +0000
8b00a766ff* autoload.cc: Never load wsock32.dll. Load all wsock32 function 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.
Corinna Vinschen
2005-10-17 21:22:18 +0000
9276ec15a72005-10-17 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston
2005-10-17 21:17:17 +0000
a68fc753b9* configure.in (bfin-*-*): Use test, not brackets, in if statement. * configure: Regenerate.
Bernd Schmidt
2005-10-17 12:54:34 +0000
0fa52a6cdfCheck in previously ChangeLoged entry.
Christopher Faylor
2005-10-17 03:20:20 +0000
e68354936d* hppa.h (pa_opcodes): Add two fcmp opcodes. Reorder ftest opcodes. Add FLAG_STRICT to pa10 ftest opcode.
John David Anglin
2005-10-16 20:42:14 +0000
654808f00c* include/limits.h (SSIZE_MAX): Define. (LLONG_MAX, LLONG_MIN, ULLONG_MAX): Separate from non-ISO names.
Danny Smith
2005-10-15 22:35:55 +0000
d2c2c1328b2005-10-14 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston
2005-10-14 21:11:39 +0000
4d57c1edc72005-10-14 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston
2005-10-14 21:06:20 +0000
1012585f1f2005-10-14 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston
2005-10-14 21:03:13 +0000
e9154015a02005-10-14 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston
2005-10-14 20:01:55 +0000
1a8696985f2005-10-14 Bob Wilson <bob.wilson@acm.org>
Jeff Johnston
2005-10-14 18:55:57 +0000
e0811fb3bf2005-10-14 Bob Wilson <bob.wilson@acm.org>
Jeff Johnston
2005-10-14 18:45:19 +0000
e63c98c61b2005-10-14 Bob Wilson <bob.wilson@acm.org>
Jeff Johnston
2005-10-14 18:37:24 +0000
fd1165e29a* Makefile.in (MKDIRP): Just use raw $(INSTALL) rather than $(INSTALL_DATA). Create directories with 755 permissions.
Christopher Faylor
2005-10-14 02:15:12 +0000
5d023ae8d52005-10-13 Wu Yongwei <adah@users.sourceforge.net>
Danny Smith
2005-10-13 20:31:50 +0000
0e7712aeeb* gas/hppa/basic/basic.exp (do_system): Adjust for removal of lha instructions from system.s. * gas/hppa/basic/system.s (lha): Remove.
John David Anglin
2005-10-13 02:26:34 +0000
bf1550b6f8* dir.cc (mkdir): Abandon use of PC_WRITABLE. (rmdir): Ditto. * path.h (PC_WRITABLE): Delete. * path.cc (path_conv::check): Remove PC_WRITABLE accommodations. Revisit later.
Christopher Faylor
2005-10-12 20:38:38 +0000
48882f9a07* fhandler_disk_file.cc (fhandler_disk_file::rmdir): Convert an ERROR_INVALID_FUNCTION into an ERROR_FILE_NOT_FOUND. Add comment to explain why.
Corinna Vinschen
2005-10-12 12:54:34 +0000
c3a1f48c42* include/winbase.h (GetProcessId): Remove duplicate declaration. Use _WIN32_WINNT >= 0x0501 guard.
Danny Smith
2005-10-12 09:40:29 +0000
16d4791f87* include/stddef.h: Remove. * include/stdarg.h: Remove.
Danny Smith
2005-10-12 09:02:24 +0000
0efe737420* mingwex/complex/csqrt.c (csqrt): The sign of real part of result is positive when real part of arg == 0; * mingwex/complex/csqrtf.c (csqrtf): Ditto. * mingwex/complex/csqrtl.c (csqrtl): Ditto.
Danny Smith
2005-10-12 06:46:18 +0000
1a5c68c8d9* include/time.h (_time64): Correct prototype.
Danny Smith
2005-10-12 00:28:11 +0000
339195bf122005-10-11 Shaun Jackman <sjackman@gmail.com>
Jeff Johnston
2005-10-11 23:59:32 +0000
da71e518112005-10-11 David Weatherford <weath@tensilica.com>
Jeff Johnston
2005-10-11 22:51:37 +0000
daed3bec54revert erroneous checkin
Christopher Faylor
2005-10-11 18:39:02 +0000
d9b8d62966* Makefile.in: Make sure that directories are created prior to copying to them.
Christopher Faylor
2005-10-11 18:27:05 +0000
a5ac89cbbd* Makefile.common (CFLAGS_COMMON): Add -Wstrict-aliasing.
Christopher Faylor
2005-10-11 18:17:59 +0000
f2e8d7b0f0* net.cc (cygwin_gethostbyname): Remove debugging.
Christopher Faylor
2005-10-11 16:35:31 +0000
bf2d5da310* syslog.cc (try_connect_syslogd): Add priority parameter. Use writev 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.
Corinna Vinschen
2005-10-11 16:28:08 +0000