Commit Graph

  • b7c9eef432 STT_GNU_IFUNC support for PowerPC. Alan Modra 2009-07-10 12:19:55 +0000
  • 08373ab21a merge from gcc DJ Delorie 2009-07-09 21:01:15 +0000
  • 2bc49a42c0 merge from gcc DJ Delorie 2009-07-09 20:02:41 +0000
  • 664f00763b 2009-07-09 Craig Howland <howland@LGSInnovations.com> Jeff Johnston 2009-07-09 17:04:56 +0000
  • b2cbcab19f * pathnames.sgml: Fix typo. Christopher Faylor 2009-07-08 23:23:02 +0000
  • fe589604cb * m32c/sbrk.c (sbrk): Change to take ptrdiff_t, not int. DJ Delorie 2009-07-08 20:54:19 +0000
  • 97bef5b7fd * winbase.h (ilockexch): Avoid making 'ret' volatile. (ilockcmpexch): Likewise. Dave Korn 2009-07-07 21:41:43 +0000
  • cd6c79f4fe * ChangeLog: Assorted minor whitespace fixes in old entries. Dave Korn 2009-07-07 20:25:34 +0000
  • b602bb90e2 winsup/ChangeLog: Dave Korn 2009-07-07 20:12:44 +0000
  • 6499c6e07b * cygtls.cc (_cygtls::remove): Fix typo. Corinna Vinschen 2009-07-07 08:07:38 +0000
  • 37b9360dc6 * Makefile.in (clean): Clean generated files in srcdir. * tlsoffsets.h: Regenerate. Christopher Faylor 2009-07-06 23:19:08 +0000
  • 421dde25fa * cygtls.cc (_cygtls::remove): Avoid closing a NULL handle. Christopher Faylor 2009-07-06 23:05:10 +0000
  • 58fc288ada * fhandler_socket.cc (fhandler_socket::recv_internal): Convert wsabuf and wsacnt to references. Fix handling of WSAEMSGSIZE. Corinna Vinschen 2009-07-06 20:30:34 +0000
  • 394660ec2f 2009-07-06 Joel Sherrill <joel.sherrill@oarcorp.com> Jeff Johnston 2009-07-06 18:59:04 +0000
  • 023c25829c * cygtls.h (struct _local_storage): Add thread storage pointers for memory used by socket select functions. Combine them into a single struct select. * cygtls.cc: Accommodate above change throughout. (_cygtls::init_thread): Drop initalizing of sockevt to INVALID_HANDLE_VALUE. (_cygtls::fixup_after_fork): Reset sockevt to NULL. (_cygtls::remove): Don't use sockevt value to bail out prematurely. Set sockevt to NULL. Free malloced select members. * select.h (struct select_socket_info): Drop max_w4 member. * select.cc (thread_socket): Use INFINITE timeout value if number of objects to wait for is <= MAXIMUM_WAIT_OBJECTS. Use num_w4 member of select_socket_info struct rather than dropped max_w4. (init_tls_select_info): New inline function to initialize TLS select members. (start_thread_socket): Just call init_tls_select_info to initialize TLS select members and use them later on. (socket_cleanup): Don't free select_socket_info pointer members since they are thread local now. Corinna Vinschen 2009-07-06 15:42:01 +0000
  • 1183d7fb13 * dtable.cc (handle_to_fn): Detect failing NtQueryObject. Christopher Faylor 2009-07-06 15:11:30 +0000
  • e4001d4ccd * autoload.cc: Delete stray CR. Corinna Vinschen 2009-07-06 10:44:14 +0000
  • 5ea3e685eb * fhandler_console.cc: Change workstation -> windows station throughout. Christopher Faylor 2009-07-05 16:49:56 +0000
  • cea37699d1 * cygwin-console-helper.cc: New file. Christopher Faylor 2009-07-05 00:01:26 +0000
  • 01d8a2dfd6 * autoload.cc (SetParent): Add new import. * fhandler.h (fhandler_console::create_invisible_console): Declare new function. (create_invisible_console_workaround): Ditto. * fhandler_console.cc (fhandler_console::create_invisible_console): Define new function. (create_invisible_console_workaround): Ditto. Add too much code to deal with broken Windows 7. Use a helper app to start an invisible console window. (fhandler_console::need_invisible): Reorganize to use helper functions to create invisible console. * spawn.cc (spawn_guts): Avoid zeroing already zeroed fields in si. Christopher Faylor 2009-07-04 23:51:10 +0000
  • 38a58dd13c * autoload.cc (AttachConsole): Correct size of args. Dave Korn 2009-07-04 14:51:09 +0000
  • 3c4f2024a1 * dcrt0.cc (jit_debug): New global. (initial_env): Set jit_debug when we are automatically starting a gdb process. * dtable.cc (dtable::get_debugger_info): Don't tty tricks when we are being debugged by our own captive gdb, as determined by jit_debug == true. (dtable::init_std_file_from_handle): Detect errors when initializing a tty early rather than at random points later. * fhandler.h (fhandler_*::init): Return int to indicate success/failure. * fhandler.cc (fhandler_base::init): Reflect change in return value. * pipe.cc (fhandler_pipe::init): Ditto. (fhandler_pipe::create_selectable): Don't say we're retrying when we aren't. * fhandler_console.cc (fhandler_console::init): Ditto. Return success/failure. * fhandler_serial.cc (fhandler_serial::init): Ditto. * fhandler_tty.cc (fhandler_tty_slave::init): Ditto. (fhandler_tty_slave::open): Make debugging output more detailed. * tty.cc (tty_list::terminate): Don't close I/O handles before all slaves have checked in. (tty::slave_alive): Make a non-inlined function. Check if tty pipe handles can be created as an additional exists check. * tty.h (tty::slave_alive): Just define here. Christopher Faylor 2009-07-03 18:05:51 +0000
  • 3e62013829 * new-features.sgml (ov-new1.7-file): Add fpurge and mkstemps to new API functions. Corinna Vinschen 2009-07-03 13:06:34 +0000
  • 8d7471ab44 * posix.sgml: Add fpurge and mkstemps to BSD list. Corinna Vinschen 2009-07-03 13:04:01 +0000
  • e5f37aa148 * cygwin.din (fpurge, mkstemps): New exports. * include/cygwin/version.h (CYGWIN_VERSION_API_MINOR): Bump. * mktemp.cc (_gettemp): Add parameter. (mkstemps): New function. (mkstemp, mkdtemp, mktemp): Adjust clients. Corinna Vinschen 2009-07-03 13:01:17 +0000
  • c52ac05c3a Add mkdtemp, mkstemps. Eric Blake 2009-07-03 12:03:25 +0000
  • ce1eb6bba0 Add fpurge. Eric Blake 2009-07-03 11:58:04 +0000
  • a4175657bf * autoload.cc: Fix typo in comment. (ShowWindowAsync): Define. (AttachConsole): Define. * fhandler_console.cc (fhandler_console::need_invisible): Add band-aid for Windows 7 AllocConsole bug. Corinna Vinschen 2009-07-03 10:50:51 +0000
  • e490a1f83c * dwarf2.h (enum dwarf_location_atom): Add DW_OP_implicit_value and DW_OP_stack_value. Jakub Jelinek 2009-07-03 08:53:50 +0000
  • 4159214911 2009-07-02 Tristan Gingold <gingold@adacore.com> Tristan Gingold 2009-07-02 08:24:01 +0000
  • 75da5017d7 Clean up some sources.redhat.com references. Christopher Faylor 2009-07-01 22:07:31 +0000
  • d3920e10ad * net.cc (get_xp_ifs): Fix typo in comment. Corinna Vinschen 2009-07-01 15:45:23 +0000
  • 265b5faec7 * moxie/crt0.S (_start): Clear BSS at startup. Register _fini() with atexit(). * moxie/sim-open.S: Fix comment. Anthony Green 2009-07-01 11:45:49 +0000
  • 128b854b57 * lib/comctl32.def (StrCSpnA@8, StrCSpnIA@8, StrCSpnW@8, StrChrA@8, StrChrIA@8, StrChrIW@8, StrChrW@8, StrCmpNA@12, StrCmpNIA@12, StrCmpNIW@12, StrCmpNW@12, StrRChrA@12, StrRChrIA@12, StrRChrW@12, StrRStrIA@12, StrRStrIW@12, StrStrA@8, StrStrIA@8, StrStrIW@8, StrStrW@8, StrToIntA@4, StrToIntW@4): Remove erroneously defined entry points. Corinna Vinschen 2009-07-01 11:06:12 +0000
  • 975a630109 * fhandler.h (class fhandler_socket): Add class members and methods to store and retrieve the SO_RCVBUF and SO_SNDBUF sizes. * fhandler_socket.cc (fhandler_socket::dup): Duplicate new members. (fhandler_socket::send_internal): Check for SO_SNDBUF size and restrict send to 1 byte less per KB 823764. Leave loop immediately if WSASendMsg has been used. * net.cc (fdsock): Change comment again. Set buffer sizes to 65536. Store values in fhandler_socket. (cygwin_setsockopt): Store SO_RCVBUF and SO_SNDBUF sizes in fhandler_socket. (cygwin_sendto): Drop call to sig_dispatch_pending. (cygwin_recvfrom): Ditto. (cygwin_recvmsg): Ditto. (cygwin_sendmsg): Ditto. Corinna Vinschen 2009-07-01 09:16:17 +0000
  • b4fa816474 * select.h: New file split from fhandler.h. (select_record::select_record): Define do-nothing constructor for "new" to avoid gratuitous zeroing. (select_info): New base class. (select_pipe_info): New class with methods for dealing with pipes. (select_socket_info): New class with methods for dealing with sockets. (select_serial_info): Dummy class for serial. (select_mailslot_info): Dummy class for mailslots. (select_stuff): Define device_specific_* as actual classes rather than void *. * dtable.h (dtable::select_read): Accommodate return value change to 'bool' and argument change to "select_stuff". (dtable::select_write): Ditto. (dtable::select_except): Ditto. * dtable.cc (dtable::select_read): Accommodate return value change to 'bool' and argument change to "select_stuff". (dtable::select_write): Ditto. (dtable::select_except): Ditto. * fhandler.h: Excise select-related classes. (fhandler_*::select_read): Change argument to select_stuff. (fhandler_*::select_write): Ditto. (fhandler_*::select_except): Ditto. * select.cc (UNIX_FD_ZERO): Use memset rather than bzero. (select_stuff::test_and_set): Change return type to bool. Allocate select_record on entry and let fhandler_*::select_* operate on the start.next field of select_stuff. (pipeinf): Delete. (select_pipe_info::select_pipe_info): New constructor. Allocates event for controlling pipe waits. (select_pipe_info::~select_pipe_info): New destructor. Destroy event. Stop thread. (select_pipe_info::add_watch_handle): New function. (thread_pipe): Wait for the hEvent part of any overlapped pipes before peeking. (start_thread_pipe): Don't allocate device_specific_pipe stuff here. Assume that it has been allocated earlier. (pipe_cleanup): Rely on select_pipe_info destructor to clean up pipe paraphenalia. (fhandler_*::select_*): Derive select_record from new select_stuff argument. (fhandler_pipe::select_*): Ditto. Allocate pipe-specific field if not already allocated. (serialinf): Delete. (thread_serial): serialinf -> select_serial_info. (fhandler_base::ready_for_read): Rewrite to accommodate change in argument to fhandler_*::select_*. (socketinf): Delete. (thread_socket): socketinf -> select_socket_info. (mailslotinf): Delete. (thread_mailslot): mailslotinf -> select_mailslot_info. Christopher Faylor 2009-06-30 21:18:44 +0000
  • 840bb39798 * fhandler.cc (fhandler_base::has_ongoing_io): Accept an argument indicating whether the overlapped event should be tested. (fhandler_base::read_overlapped): Pass is_overlapped state to has_ongoing_io. (fhandler_base::write_overlapped): Ditto. * fhandler.h (fhandler_base::has_ongoing_io): Accommodate argument change. * select.cc (peek_pipe): Ditto. Christopher Faylor 2009-06-30 14:36:11 +0000
  • 4a83803381 * net.cc (fdsock): Set default socket buffer sizes to 65520. Change comment accordingly. * fhandler_socket.cc (fhandler_socket::send_internal): Set maximum send size to 65520 as well. Corinna Vinschen 2009-06-30 10:36:40 +0000
  • 9adef9ffef * select.cc (peek_pipe): Turn on (temporarily?) the experimental code which tries to determine when a pipe is writable. Christopher Faylor 2009-06-29 14:32:58 +0000
  • 7fc7ee1726 * select.cc (peek_pipe): Use has_ongoing_io() to determine if the pipe is ready for writing rather than performing brute-force checks. Christopher Faylor 2009-06-28 19:27:15 +0000
  • c81ceaefec * fhandler.h (fhandler_base::has_ongoing_io): Declare new function. * fhandler.cc (fhandler_base::has_ongoing_io): Define new function. (fhandler_base::read_overlapped): Use has_ongoing_io to avoid writing when handle has not completed last I/O. (fhandler_base::write_overlapped): Ditto. * select.cc (peek_pipe): Be more careful about accessing hEvent field from get_overlapped(). Christopher Faylor 2009-06-28 19:23:13 +0000
  • 91000b5d66 * gendef (cleanup): Rename from 'nocr'. Remove comments and trailing spaces. * cygwin.din: Add long-needed comment describing what dll_crt0__FP11per_process demangles to. Christopher Faylor 2009-06-28 18:23:35 +0000
  • d0880d6200 * Makefile.def (host_modules): Add cgen. * Makefile.in: Regenerate. * configure.ac (host_tools): Add cgen. * configure: Regenerate. Doug Evans 2009-06-26 17:19:07 +0000
  • 8d1d548fd8 * wincap.h (wincaps::has_broken_alloc_console): New element. * wincap.cc: Implement above element throughout. Corinna Vinschen 2009-06-26 15:12:06 +0000
  • 21a49eaeeb * sec_auth.cc (lsaauth): Close unused handle. (lsaprivkeyauth): Ditto. Corinna Vinschen 2009-06-25 08:22:09 +0000
  • 9ed8b4d807 * include/wtsapi32.h (WTSQueryUserToken, WTSEnumerateSessionsW, WTSEnumerateSessionsA): Add function prototypes. (struct _WTS_SESSION_INFOW, struct _WTS_SESSION_INFOA): Add typedefs. (WTS_SESSION_INFO, PWTS_SESSION_INFO, WTSEnumerateSessions): Add defines dependent on UNICODE setting. Corinna Vinschen 2009-06-24 10:30:07 +0000
  • e192c48eec * faq-setup.xml (faq.setup.setup-fails-on-ts): Fix another typo. Corinna Vinschen 2009-06-24 07:57:03 +0000
  • f95b410d77 * faq-setup.xml (faq.setup.setup-fails-on-ts): Fix typo. Corinna Vinschen 2009-06-24 07:49:37 +0000
  • f948b1050e * faq-setup.xml (faq.setup.setup-failes-on-ts): Change rebaseall to rebase. Corinna Vinschen 2009-06-23 16:16:57 +0000
  • 4f4622807f 2009-06-23 Jeff Johnston <jjohnstn@redhat.com> Jeff Johnston 2009-06-23 16:04:33 +0000
  • fe0dbf69f9 * faq-setup.xml (faq.setup.setup-failes-on-ts): New FAQ entry. Corinna Vinschen 2009-06-23 15:52:20 +0000
  • bc4020d725 * sec_auth.cc (get_server_groups): Ignore errors from get_user_local_groups. Corinna Vinschen 2009-06-23 10:23:16 +0000
  • d6bb3f330d * spawn.cc (spawn_guts): Don't run additional check for Win32 incompatible CWD if newargv.fixup bailed out already. (av::fixup): Check shell scripts for executability. Corinna Vinschen 2009-06-22 15:40:59 +0000
  • e20afc07b0 include/elf/ * ppc.h (R_PPC_RELAX*): Define as enum. bfd/ * elf32-ppc.c (ppc_elf_check_relocs): Handle R_PPC_RELAX* in switch. * elf32-v850.c (v850_elf_relocate_section): Warning fix. Alan Modra 2009-06-22 00:52:20 +0000
  • a8481dca71 2009-06-19 Joseph Myers <joseph@codesourcery.com> Jeff Johnston 2009-06-19 18:18:01 +0000
  • ab9ef0fa5f 2009-06-19 Joel Sherrill <joel.sherrill@oarcorp.com> Jeff Johnston 2009-06-19 18:15:35 +0000
  • d66550cae6 * new-features.sgml (ov-new1.7-misc): Add new link libs. * setup2.sgml (setup-locale-ov): Explain locale-specific wcwidth feature. Corinna Vinschen 2009-06-19 09:33:45 +0000
  • 344ea7b658 PR 10288 * arm-dis.c (print_insn_coprocessor): Check that a user specified ARM architecture supports the matched instruction. (print_insn_arm): Likewise. (select_arm_features): New function. Fills in the fields of an arm_feature_set structure based on a given arm machine number. (print_insn): Initialise an arm_feature_set structure. Nick Clifton 2009-06-18 10:31:20 +0000
  • 1279c76b6a * path.cc (chdir): Check error conditions first. Corinna Vinschen 2009-06-18 09:47:13 +0000
  • e53c92a80e * libc/locale/locale.c (loadlocale): Add handling of "@cjknarrow" modifier on _MB_CAPABLE targets. Add comment to explain. Improve documentation. Corinna Vinschen 2009-06-18 09:13:39 +0000
  • 339dde8fe5 2009-06-16 Chris Sutcliffe <ir0nh34d@users.sourceforge.net> Chris Sutcliffe 2009-06-17 22:01:36 +0000
  • a2c3c5dab4 2009-06-17 Michael Eager <eager@eagercon.com> Jeff Johnston 2009-06-17 16:47:02 +0000
  • de8c9afd7a 2009-06-17 Michael Eager <eager@eagercon.com> Jeff Johnston 2009-06-17 16:38:22 +0000
  • 48114f9455 2009-06-17 Michael Eager <eager@eagercon.com> Jeff Johnston 2009-06-17 16:35:15 +0000
  • 3477392bd7 * fhandler_socket.cc (fhandler_socket::recv_internal): Mark WSARecvMsg as NO_COPY. Corinna Vinschen 2009-06-17 08:23:17 +0000
  • 6a451dce26 * fhandler.cc (fhandler_base::read_overlapped): Use a better variable name. Christopher Faylor 2009-06-16 20:33:45 +0000
  • 999820f6ab * libc/include/locale.h (struct lconv): Add missing members required by POSIX.1-2008. * libc/locale/locale.c (lconv): Initialize new members to default values in "C" locale. Corinna Vinschen 2009-06-16 19:45:17 +0000
  • 4844eaa5f8 * fhandler.cc (fhandler_base::read_overlapped): Preserve len when looping due to received signal. Christopher Faylor 2009-06-16 19:05:43 +0000
  • 1c5e84dd08 * libc/stdio/vfprintf.c (_VFPRINTF_R): Use actual length of radix char instead of assuming length 1. * libc/stdlib/gdtoa-gethex.c: Remove use of USE_LOCALE. (gethex): Allow multibyte decimal point. Fix compiler warnings due to different signedness of pointer types. * libc/stdlib/strtod.c: Remove use of USE_LOCALE. (_strtod_r): Allow multibyte decimal point. * libc/stdlib/wcstod.c (_wcstod_r): Evaluate correct wide char endptr position if the decimal point is a multibyte char. Corinna Vinschen 2009-06-16 17:44:20 +0000
  • 1a99b6f85a 2009-06-16 Craig Howland <howland@LGSInnovations.com> Jeff Johnston 2009-06-16 16:02:07 +0000
  • aa201fc9df 2009-06-16 Craig Howland <howland@LGSInnovations.com> Jeff Johnston 2009-06-16 15:55:06 +0000
  • bc95c37690 merge from gcc DJ Delorie 2009-06-16 13:21:26 +0000
  • ea3923078a * net.cc (get_flags): New static function to generate interface flags value. (get_ipv4fromreg_ipcnt): New static function to fetch number of configured IPv4 addresses for a given NIC from registry. (get_ipv4fromreg): New static function to fetch configured IPv4 addresses for a given NIC from registry. (get_friendlyname): New static function to generate friendly name. (get_hwaddr): New static function to copy hardware address. (get_xp_ifs): Restructure slightly. Add code to generate IPv4 entries entries for interfaces which are disconnected. Corinna Vinschen 2009-06-15 20:04:15 +0000
  • a02f102db2 * configure.ac: Define is_elf for QNX Neutrino targets. * configure: Regenerate. Nick Clifton 2009-06-15 14:08:41 +0000
  • e586b9d5c5 PR 10263 * arm-dis.c (print_insn): Ignore is_data if the user has requested the disassembly of data as well as instructions. Nick Clifton 2009-06-15 11:37:26 +0000
  • fee56469d4 * errno.cc (errmap): Add mapping for ERROR_IO_INCOMPLETE. * fhandler.cc (fhandler_base::fcntl): Fix comment. (fhandler_base::wait_overlapped): Accept an optional len parameter. Use the len parameter when WriteFile fails with ERROR_IO_PENDING. Make debug output less alarming. (fhandler_base::write_overlapped): Pass len to wait_overlapped. * fhandler.h (fhandler_base::wait_overlapped): Add an optional argument denoting the number of characters intended to be written. * fhandler_tty.cc (fhandler_pty_master::close): Don't close archetype handles when cygwin is still initializing since the handles aren't actually opened at that point. Christopher Faylor 2009-06-14 23:42:09 +0000
  • 313c719cb8 * localtime.cc (time2): Take another stab at fixing a compiler warning. Corinna Vinschen 2009-06-14 09:35:35 +0000
  • b5b99c0486 * localtime.cc (time2): Take a stab at fixing a compiler warning. Christopher Faylor 2009-06-14 05:49:01 +0000
  • 6a712635dd * fhandler.cc (fhandler_base::wait_overlapped): Honor nonblocking flag for writes. Don't reset event handle when we see a ERROR_IO_PENDING. * sigproc.cc (stopped_or_terminated): Use bool constants for consistency. * wait.cc (wait4): Remove nonsensical comment. Christopher Faylor 2009-06-14 05:38:55 +0000
  • 792c564b27 * fhandler_socket.cc (fhandler_socket::recv_internal): Set namelen pointer to NULL if name pointer is NULL. Explain why. Corinna Vinschen 2009-06-13 16:13:01 +0000
  • 2476ec9bdf * faq-using.xml (faq.using.emacs): Update. Corinna Vinschen 2009-06-12 15:16:27 +0000
  • c3d7820d5b * localtime.cc (time2): Change "spring gap" to "spring forward gap" in comment. Corinna Vinschen 2009-06-12 15:08:43 +0000
  • 7ce08eab6c * localtime.cc (time2): Add workaround for spring gap problem. Add explaining comment. Corinna Vinschen 2009-06-12 15:06:26 +0000
  • 06391373b0 * Makefile.in (SUBLIBS): Add librt.a. (librt.a): New rule to build librt.a. Corinna Vinschen 2009-06-12 10:19:36 +0000
  • bf79ee9167 Improve ChangeLog entry. Fix posix_ipc.cc copyright Corinna Vinschen 2009-06-12 09:52:06 +0000
  • b32c31d117 * posix_ipc.cc (check_path): Fix typo in comment. Align naming convention rules to Linux. Add comment. Corinna Vinschen 2009-06-12 09:50:05 +0000
  • 297abffd67 Add PC-relative branch instructions to moxie port. Anthony Green 2009-06-11 11:27:57 +0000
  • 070a99e8aa * path.cc (oopts): Sort alphabetically, add missing "auto" and "override" entries. (from_fstab_line): Handle mount points same as Cygwin itself. Use "cygdrive prefix" as posix name of cygdrive prefix. (from_fstab): Add auto entries for /usr/bin and /usr/lib. Add MOUNT_AUTOMATIC and MOUNT_IMMUTABLE flags to default root dir entry. Use "cygdrive prefix" as posix name of default cygdrive prefix. (getmntent): Allocate smaller buffers. Align output closer to output of mount(1). Corinna Vinschen 2009-06-10 10:42:22 +0000
  • 5c1939c8c4 * libc/ctype/tolower.c (tolower): Cast conversion result from mbtowc/wctomb to unsigned char to avoid negative return values. * libc/ctype/toupper.c (toupper): Ditto. Corinna Vinschen 2009-06-09 11:33:57 +0000
  • 962082b91a * autoload.cc (GetSystemTimes): Remove. * fhandler_proc.cc (format_proc_uptime): Use global system_info rather than retrieving a local copy of the SYSTEM_INFO. Drop call to GetSystemTimes and retrieve SystemPerformanceInformation on all systems again with buffer size big enough for 64 bit systems. (format_proc_stat): Use global system_info rather than retrieving a local copy of the SYSTEM_INFO. Retrieve SystemPerformanceInformation with buffer size big enough for 64 bit systems. Corinna Vinschen 2009-06-09 09:45:29 +0000
  • e83d7b1835 Fix ChangeLog entry Corinna Vinschen 2009-06-08 20:06:55 +0000
  • d8e551a1a7 * autoload.cc (GetSystemTimes): Define. * fhandler_proc.cc (format_proc_uptime): Use GetSystemInfo to retrieve processor count. Use GetSystemTimes when available to retrieve system idle time. Improve debug output. (format_proc_stat): Use GetSystemInfo to retrieve processor count. Improve debug output. Ignore if SystemPerformanceInformation returns error. Explain why. Corinna Vinschen 2009-06-08 20:04:37 +0000
  • 3b80aa0156 * fork.cc (frok::parent): Remove ancient code erroneously flushing stdout descriptor. Corinna Vinschen 2009-06-08 19:45:39 +0000
  • c84bbb2d8f * cygerrno.h (save_errno::~save_errno): Set errno directly to avoid flooding debug output. Corinna Vinschen 2009-06-08 19:44:33 +0000
  • 590f450aa9 * path.cc (symlink_info::check): Return with error set to ENOENT if STATUS_NO_MEDIA_IN_DEVICE is returned. Corinna Vinschen 2009-06-08 15:22:52 +0000
  • 71f53a2f62 * cygheap.h (mini_cygheap): New struct. (init_cygheap): Inherit locale field via mini_cygheap. * cygheap.cc (cygheap_at_start): Define new variable. (cygheap): Initialize as cygheap_at_start so that locale information is always available. (cygheap_init): Initialize cygheap iff it is set to cygheap_at_start. * shared_info.h (memory_init): Accommodate argument change. * memory.cc (memory_init): Accept an argument indicating whether cygheap should be initialized or not. * dcrt0.cc (child_info_fork::handle_fork): Pass false to memory_init(). (child_info_spawn::handle_spawn): Ditto. (dll_crt0_0): Pass true to memory_init when not forking or execing. * cygheap.h (cygheap_types::HEAP_2_DLL): New enum. * dll_init.h (dll): Remove unused namelen field. (dll_list::load_after_fork): Accommodate change in arguments. * dll_init.cc (dll_list::alloc): Allocate dll information in the cygwin heap. (dll_list::detach): Free dll information from the cygwin heap. (dll_list::load_after_fork): Use dll information in the cygwin heap directly rather than querying parent. * fork.cc (frok::first_dll): Delete. (frok::child): Don't report on first_dll. Don't pass it to load_on_fork. (frok::parent): Don't set first_dll. (fork): Ditto. Christopher Faylor 2009-06-08 03:53:40 +0000
  • 1866410bb8 * include/ddk/ntapi.h: Add NtXxx equivalent to ZwXxx where missing and vice versa. * include/ddk/ntifs.h: Ditto. * include/ddk/winddk.h: Ditto. * lib/ntdll.def (NtPlugPlayControl, NtQueryInstallUILanguage, ZwPlugPlayControl, ZwQueryInstallUILanguage): Add entry points defined in header, but missing in lib. Omit NT4-only entry points. Corinna Vinschen 2009-06-07 11:40:09 +0000
  • cf2e7e9cbc * dll_init.cc (dll_list::alloc): Allocate memory using a section object. Explain why. Drop call to GetSystemInfo, rather call getpagesize to get allocation granularity. Only align to allocation granularity under WOW64. Use roundup2 to align. (dll_list::detach): Call NtUnmapViewOfSection instead of VirtualFree. Corinna Vinschen 2009-06-07 07:26:07 +0000
  • f985cc1c53 * mmap.cc: Use NtUnmapViewOfSection instead of UnmapViewOfFile throughout for symmetry. (fhandler_dev_mem::munmap): Use correct process handle in call to NtUnmapViewOfSection. Corinna Vinschen 2009-06-06 19:56:41 +0000
  • c05f7ba26e Print moxie addresses nicely. Anthony Green 2009-06-06 13:02:21 +0000