Commit Graph

  • 75f212b2cc * fhandler_process.cc: Re-add exename. Corinna Vinschen 2005-03-29 09:10:59 +0000
  • a9b33f4de6 libiberty: * pex-common.c: New file. * pex-one.c: New file. * pexecute.c: New file. * pex-common.h: Include <stdio.h>. (struct pex_obj): Define. (struct pex_funcs): Define. (pex_init_common): Declare. * pex-unix.c: Rewrite. * pex-win32.c: Rewrite. * pex-djgpp.c: Rewrite. * pex-msdos.c: Rewrite. * testsuite/text-pexecute.c: New file. * pexecute.txh: Rewrite. * configure.ac: Check for wait3 and wait4. Set CHECK to really-check rather than check-cplus-dem. * functions.texi: Rebuild. * Makefile.in: Rebuild dependencies. (CFILES): Add pexecute.c, pex-common.c, pex-one.c. (REQUIRED_OFILES): Add pexecute.o, pex-common.o, pex-one.o. * testsuite/Makefile.in (really-check): New target. (check-pexecute, test-pexecute): New targets. * configure: Rebuild. include: * libiberty.h: Include <stdio.h>. (PEX_RECORD_TIMES, PEX_USE_PIPES, PEX_SAVE_TEMPS): Define. (PEX_LAST, PEX_SEARCH, PEX_SUFFIX, PEX_STDERR_TO_STDOUT): Define. (PEX_BINARY_INPUT, PEX_BINARY_OUTPUT): Define. (pex_init, pex_run, pex_read_output): Declare. (pex_get_status, pex_get_times, pex_free, pex_one): Declare. (struct pex_time): Define. Ian Lance Taylor 2005-03-29 02:15:24 +0000
  • ae6cf546a7 * libiberty.h (ffs): Declare, if necessary. Mark Mitchell 2005-03-29 01:12:11 +0000
  • 68d96be776 * include/ctype.h: Accommodate building in newlib. Christopher Faylor 2005-03-28 21:58:23 +0000
  • f340d72e91 * timer.cc (getitimer): Check that ovalue is a valid pointer, not just NULL. Christopher Faylor 2005-03-28 21:51:55 +0000
  • c6a7568670 * timer.cc (timer_tracker::settime): Set times to zero when just cancelling a timer. Christopher Faylor 2005-03-28 19:55:59 +0000
  • dc000a8386 * cygthread.cc (cygthread::detach): Revert to just waiting for thred event since waiting for anything else is racy. * timer.cc (timer_tracker::hcancel): Rename from cancel. (timer_tracker::cancel): New method. (timer_tracker::th): Remove. (timer_tracker::~timer_tracker): Call cancel method. (timer_tracker::timer_tracker): Ditto. (timer_tracker::timer_tracker): Always, clear cancel, even though it is probably not strictly necessary for ttstart. (timer_thread): Accommodate cancel -> hcancel rename. (timer_tracker::settime): Ditto. (timer_tracker::gettime): Ditto. (timer_delete): Ditto. * cygwin.din: Export _ctype_. * include/ctype.h: Mark that _ctype_ is imported. Christopher Faylor 2005-03-28 19:31:23 +0000
  • 12f9fb4972 * timer.cc (timer_tracker::timer_tracker): Eliminate simple constructor. (ttstart): Fully initialize. * errno.cc: Fix typo introduced in previous change. Christopher Faylor 2005-03-28 18:06:49 +0000
  • c0add211e4 merge from gcc DJ Delorie 2005-03-28 17:14:24 +0000
  • 64443bd47e * errno.cc (FILENAME_EXCED_RANGE): Map to ENAMETOOLONG. Christopher Faylor 2005-03-28 16:57:13 +0000
  • eda51d1610 merge from gcc DJ Delorie 2005-03-28 05:07:01 +0000
  • 25c47304a3 merge from gcc DJ Delorie 2005-03-28 02:08:50 +0000
  • a4ec6363ca update copyright Christopher Faylor 2005-03-28 00:09:08 +0000
  • cfa131587d * signal.cc (nanosleep): Revert tv_sec < 0 check as it is fixed properly in the below change to hires.h. Christopher Faylor 2005-03-27 23:38:28 +0000
  • 491110627f * times.cc (hires_ms::usecs): Compare the difference. * hires.h: Add parentheses to HIRES_DELAY_MAX. Christopher Faylor 2005-03-27 23:33:30 +0000
  • c4a2d2f3e1 merge from gcc DJ Delorie 2005-03-27 05:28:29 +0000
  • 255557f8c3 * timer.cc (nanosleep): Treat tv_sec < 0 as invalid. * include/search.h: Make declarations consistent with newlib. Christopher Faylor 2005-03-27 02:31:33 +0000
  • ec98d19a08 * wininfo.h (wininfo::timer_active): Delete. (wininfo::itv): Ditto. (wininfo::start_time): Ditto. (wininfo::window_started): Ditto. (wininfo::getitimer): Ditto. (wininfo::setitimer): Ditto. (wininfo::wininfo): Ditto. (wininfo::lock): New method. (wininfo::release): Ditto. * window.cc: Use new lock/acquire wininfo methods throughout. (wininfo::wininfo): Delete (wininfo::getitimer): Ditto. (wininfo::setitimer): Ditto. (getitimer): Ditto. (setitimer): Ditto. (ualarm): Ditto. (alarm): Ditto. (wininfo::lock): Define new function. (wininfo::release): Ditto. (wininfo::process): Delete WM_TIMER handling. * timer.cc (struct timetracker): Delete it, flags. Add it_interval, interval_us, sleepto_us, running, init_muto(), syncthread, and gettime(). (ttstart): Make NO_COPY. (lock_timer_tracker): New class. (timer_tracker::timer_tracker): Distinguish ttstart case. (timer_tracker::~timer_tracker): New destructor. Clean out events, and reset magic. (timer_tracker::init_muto): New method. (to_us): Round up as per POSIX. (timer_thread): Reorganize to match timer_tracker::settime and timer_tracker::gettime. Call sig_send without wait. Call auto_release. (timer_tracker::settime): Reorganize logic to avoid race. Call gettime to recover old value. (timer_tracker::gettime): New method. (timer_create): Properly set errno on invalid timerid. Use new lock_timer_tracker method. (timer_delete): Ditto. Simplify code slightly. (timer_gettime): New function. (fixup_timers_after_fork): Reinit ttstart. (getitimer): New implementation. (setitimer): Ditto. (ualarm): Ditto. (alarm): Ditto. * cygwin.din: Export timer_gettime. * winsup.h: Remove has has_visible_window_station declaration. * Makefile.in (DLL_OFILES): Add lsearch.o. * cygthread.h (cygthread::notify_detached): New element. (cygthread::cygthread): Take optional fourth argument signifying event to signal on thread completion. * cygthread.cc (cygthread::stub): Signal notify_detached event, if it exists. (cygthread::cygthread): Initialize notify_detached from fourth argument. (cygthread::detach): Wait for notify_detached field is present. * lsearch.cc: New file. * search.h: Ditto. * include/cygwin/version.h: Bump API minor number to 126. * cygwin.din: Export lsearch, lfind. Christopher Faylor 2005-03-27 01:57:38 +0000
  • 9eba97c0d5 Mention generic-build-script in packaging FAQ Joshua Daniel Franklin 2005-03-26 04:01:52 +0000
  • d34bd810e6 2005-03-25 Paolo Bonzini <bonzini@gnu.org> Paolo Bonzini 2005-03-25 09:02:30 +0000
  • 2c18521373 merge from gcc DJ Delorie 2005-03-25 04:57:00 +0000
  • 0f0595abd9 * cygcheck.cc (init_paths): Use full path instead of "." for the current directory. Do not add "." if present in $PATH. (dump_sysinfo): Skip placeholder first value of paths[]. Corinna Vinschen 2005-03-24 14:48:15 +0000
  • b832c4cf21 * fhandler.h (fhandler_socket::secret_event): Remove. (fhandler_socket::af_local_set_secret): New function combining former set_connect_secret and get_connect_secret into one function. (fhandler_socket::af_local_setblocking): Rename from eid_setblocking. (fhandler_socket::af_local_unsetblocking): Rename from eid_unsetblocking. (fhandler_socket::af_local_set_cred): New method. (fhandler_socket::af_local_copy): New method. (fhandler_socket::af_local_recv_secret): New method. (fhandler_socket::af_local_send_secret): New method. (fhandler_socket::af_local_recv_cred): Rename from eid_recv. (fhandler_socket::af_local_send_cred): Rename from eid_send. (fhandler_socket::af_local_accept): New method. (fhandler_socket::af_local_set_sockpair_cred): Rename from set_socketpair_eids. (fhandler_socket::eid_accept): Remove. (fhandler_socket::eid_connect): Remove. (fhandler_socket::set_connect_secret): Remove. (fhandler_socket::get_connect_secret): Remove. (fhandler_socket::create_secret_event): Remove. (fhandler_socket::check_peer_secret_event): Remove. (fhandler_socket::signal_secret_event): Remove. (fhandler_socket::close_secret_event): Remove. (fhandler_socket::sec_event_accept): Remove. (fhandler_socket::sec_event_connect): Remove. * fhandler_socket.cc (secret_event_name): Remove. (fhandler_socket::af_local_set_sockpair_cred): Rename from set_socketpair_eids. (fhandler_socket::af_local_setblocking): Rename from eid_setblocking. (fhandler_socket::af_local_unsetblocking): Rename from eid_unsetblocking. (fhandler_socket::af_local_recv_secret): New function to receive AF_LOCAL connect secret over socket itself. (fhandler_socket::af_local_send_secret): New function to send AF_LOCAL connect secret over socket itself. (fhandler_socket::af_local_recv_cred): Rename from eid_recv. (fhandler_socket::af_local_send_cred): Rename from eid_send. (fhandler_socket::eid_connect): Remove. (fhandler_socket::af_local_connect): Take over connect side handling of AF_LOCAL secret and credential handshake. (fhandler_socket::eid_accept): Remove. (fhandler_socket::af_local_accept): New method, take over accept side handling of AF_LOCAL secret and credential handshake. (fhandler_socket::af_local_set_cred): New method, set eid credentials to start values. (fhandler_socket::af_local_copy): New method, copy secret and credentials to another socket. (fhandler_socket::af_local_set_secret): New function combining former set_connect_secret and get_connect_secret into one function. (fhandler_socket::create_secret_event): Remove. (fhandler_socket::signal_secret_event): Remove. (fhandler_socket::close_secret_event): Remove. (fhandler_socket::check_peer_secret_event): Remove. (fhandler_socket::sec_event_connect): Remove. (fhandler_socket::sec_event_accept): Remove. (fhandler_socket::fixup_after_fork): Drop secret_event handling. (fhandler_socket::bind): Call af_local_set_secret. (fhandler_socket::connect): Call af_local_set_cred and af_local_connect. (fhandler_socket::listen): Call af_local_set_cred. (fhandler_socket::accept): Call af_local_copy and af_local_accept on accepted socket. (fhandler_socket::close): Don't call close_secret_event. (fhandler_socket::set_close_on_exec): Don't set secret_event inheritance. * net.cc (cygwin_getsockopt): Add debug output. (socketpair): Call af_local_set_sockpair_cred instead of set_socketpair_eids. * select.cc (set_bits): Drop AF_LOCAL special handling in case of except bit set. Corinna Vinschen 2005-03-24 14:04:06 +0000
  • bc47d398b2 * include/stdio.h (__mingw_fwrite): Change return value to size_t. * mingwex/mingw-fseek.c (__mingw_fwrite): Likewise. Danny Smith 2005-03-24 05:58:52 +0000
  • c6190209b3 * include/ctype.h: Always define macros when inside cygwin. (isblank): New macro. Christopher Faylor 2005-03-23 21:04:00 +0000
  • fcfb011798 Fix whitespace with crx entry. Jeff Johnston 2005-03-23 18:09:57 +0000
  • b5478403a9 checkin previously missed file. Christopher Faylor 2005-03-23 17:47:29 +0000
  • ffd9d72a80 fix comment Christopher Faylor 2005-03-23 17:43:51 +0000
  • a6099ff810 * fhandler.h (fhandler_socket::eid_connect): Make private. (fhandler_socket::set_connect_secret): Ditto. (fhandler_socket::get_connect_secret): Ditto. (fhandler_socket::create_secret_event): Ditto. Remove secret argument. (fhandler_socket::check_peer_secret_event): Ditto. (fhandler_socket::signal_secret_event): Make private. (fhandler_socket::close_secret_event): Ditto. (fhandler_socket::sec_event_accept): New private method. (fhandler_socket::sec_event_connect): Ditto. (fhandler_socket::af_local_connect): New public method. * fhandler_socket.cc: Use 'struct sockaddr' and 'struct sockaddr_in' rather than just 'sockaddr' and 'sockaddr_in' throughout. (fhandler_socket::eid_connect): Drop AF_LOCAL/SOCK_STREAM test. (fhandler_socket::create_secret_event): Remove secret argument. Always use connect_secret instead. (fhandler_socket::check_peer_secret_event): Ditto. (fhandler_socket::sec_event_connect): New method, combining entire secret event handshake on connect side. (fhandler_socket::af_local_connect): New method, combining secret event handshake and eid credential transaction on connect side, to be called from select. (fhandler_socket::sec_event_accept): New method, combining entire secret event handshake on accept side. (fhandler_socket::connect): Drop secret, use connect_secret instead. Move entire secret event handshake to sec_event_connect. (fhandler_socket::accept): Move entire secret event handshake to sec_event_accept. * select.cc (set_bits): Just call af_local_connect here. Corinna Vinschen 2005-03-23 17:27:18 +0000
  • bc3f9e29d0 * include/cygwin/version.h: Change coment for most recent API version bump to reflect new additions to the DLL and to remove change obsoleted by the previous checkin. Christopher Faylor 2005-03-23 17:16:16 +0000
  • 6d89e9dd43 * include/ctype.h: New file. * ctype.cc: Ditto. * Makefile.in: Add ctype.o to DLL_OFILES. * cygwin.din: Remove _ctype_ptr (for now?). Christopher Faylor 2005-03-23 17:11:24 +0000
  • e633fde1ba * configure.host: For cygwin, redefine CC with cygwin include directory first to mimic the behavior of the top-level configury. Move include directory out of newlib_cflags. Christopher Faylor 2005-03-23 17:09:29 +0000
  • 45f063e743 Undo previous delta Nick Clifton 2005-03-23 14:49:45 +0000
  • 7e71a4c1a0 (getopt): Allow full prototype when builind under FreeBSD. Nick Clifton 2005-03-23 14:46:13 +0000
  • bade737e45 * Makefile.common: Add -dD to options when creating preprocess files. Christopher Faylor 2005-03-23 03:22:27 +0000
  • 8f4897bceb merge from gcc DJ Delorie 2005-03-23 00:01:17 +0000
  • 859c94e8de 2005-03-22 Jeff Johnston <jjohnstn@redhat.com> Jeff Johnston 2005-03-22 23:45:43 +0000
  • eb35705027 * dwarf.h: Merge with GCC's dwarf.h. Ben Elliston 2005-03-22 19:51:31 +0000
  • a964fc7db1 include ChangeLog * xtensa-isa.h: Update a comment and whitespace. bfd ChangeLog * xtensa-isa.c (xtensa_opcode_lookup, xtensa_state_lookup, xtensa_sysreg_lookup_name, xtensa_interface_lookup, xtensa_funcUnit_lookup): Skip bsearch call if count is zero. (xtensa_opcode_decode): Rearrange code. Bob Wilson 2005-03-22 19:31:26 +0000
  • b1d9a0bd41 * Makefile.in (DLL_OFILES): Add hookapi.o. Eliminate some cruft. * cygheap.h (cygheap_types): Add new enum: HEAP_1_HOOK. (hook_chain): New struct. (init_cygheap::hooks): Define new element. * cygheap.cc (cygheap_fixup_in_child): Zero hook chain on exec. * dcrt0.cc (dll_crt0_1): Call ld_preload just before calling main function. * external.cc (cygwin_internal): Implement CW_HOOK. * fork.cc (fork_child): Call fixup_hooks_after_fork. * init.cc (cygwin_hmodule): Reinstate after a long absence. * include/sys/cygwin.h: Define CW_HOOK. * hookapi.cc: New file. * select.cc (start_thread_socket): Add debugging output. * fhandler_disk_file.cc (fhandler_disk_file::fchmod): gcc 4.x accommodation. * fhandler_socket.cc (fhandler_socket::connect): Make sure that err is initialized. Christopher Faylor 2005-03-22 19:00:31 +0000
  • 7e3fd32b1c * libc/include/machine/_types.h: Make trivial change to comment to avoid a spurious warning from gcc. Christopher Faylor 2005-03-22 18:12:29 +0000
  • 3b5f210520 * cygwin.din (__ctype_ptr): Export. * include/cygwin/version.h: Bump API minor version. Corinna Vinschen 2005-03-22 11:37:55 +0000
  • 9e6daff153 top: * Makefile.def: Remove libstdcxx_incdir, libsubdir, gxx_include_dir, gcc_version, and gcc_version_trigger from set of flags to pass. * Makefile.tpl: Remove definitions of above variables. (config.status): Remove dependency on $(gcc_version_trigger). * Makefile.in: Regenerate. * configure.in: Do not reference config/gcc-version.m4 nor config/gxx-include-dir.m4. Do not invoke TL_AC_GCC_VERSION nor TL_AC_GXX_INCLUDE_DIR. Do not set gcc_version_trigger. * configure: Regenerate. config: * gxx-include-dir.m4: In all substitutions, leave $(gcc_version) to be expanded by the Makefile. Zack Weinberg 2005-03-22 00:49:18 +0000
  • d4eb892018 2005-03-21 Nicholas Wourms <nwourms@netscape.net> Jeff Johnston 2005-03-21 22:34:35 +0000
  • 257e3d8e89 * fhandler.h (class cygthread): Remove forward declaration. Corinna Vinschen 2005-03-21 19:10:45 +0000
  • ef82f76c30 * fhandler.h (class cygthread): Forward declare. (fhandler_socket::sec_pipe): Remove. (fhandler_socket::eid_pipe_name): Remove. (fhandler_socket::eid_setblocking): New private method. (fhandler_socket::eid_unsetblocking): Ditto (fhandler_socket::eid_recv): Ditto (fhandler_socket::eid_send): Ditto (fhandler_socket::eid_accept): Ditto (fhandler_socket::eid_connect): New public method. * fhandler_socket.cc (ASYNC_MASK): Move to beginning of file. (fhandler_socket::eid_pipe_name): Remove. (fhandler_socket::set_socketpair_eids): Move down to fhandler_socket methods. (fhandler_socket::fhandler_socket): Drop initializing sec_pipe. (fhandler_socket::~fhandler_socket): Drop closing sec_pipe. (fhandler_socket::eid_setblocking): New method. (fhandler_socket::eid_unsetblocking): New method. (fhandler_socket::eid_recv): New method. (fhandler_socket::eid_send): New method. (fhandler_socket::eid_connect): New method. (fhandler_socket::eid_accept): New method. (fhandler_socket::dup): Drop sec_pipe handling. (fhandler_socket::connect): Fix WinSock error handling. Prepare eid credential transaction. Call eid_connect on successful connect. (fhandler_socket::listen): Drop creating sec_pipe. (fhandler_socket::accept): Slightly simplify code. Call eid_accept on accepted socket. (fhandler_socket::getpeereid): Reshuffle code for readability. Fix test for invalid pid. * select.cc (set_bits): Call eid_connect on successfully connected socket. Corinna Vinschen 2005-03-21 18:56:50 +0000
  • b5e27d4009 * how-programming.texinfo: Remove incorrect libm.a note. Joshua Daniel Franklin 2005-03-19 23:33:04 +0000
  • f580813771 * child_info.h (fork_info): Use different method to alias variable. (spawn_info): Ditto. * cxx.cc (__cxa_guard_acquire): New function (needed for gcc 4.x). (__cxa_guard_release): Ditto. * devices.in: Make sure stuff is correctly bracketed (for gcc 4.x). * devices.cc: Regenerate. * fhandler.h (fhandler_disk_file::fchmod): Avoid left coercion (for gcc 4.x). * smallprint.c (__rn): Declare as __fastcall since gcc 4.x complains about use of regparm, for some reason. * sync.h (sync::init_lock): Remove. * sync.cc (sync::init_lock): Ditto. Christopher Faylor 2005-03-19 21:45:15 +0000
  • cfaf367058 * net.cc (cygwin_getprotobyname): Don't try to be fancy with return values. (cygwin_getprotobynumber): Ditto. Christopher Faylor 2005-03-18 22:42:51 +0000
  • bb8dc8c4cb Add support for generating PLT lookups for the ColdFire. Nick Clifton 2005-03-18 17:20:23 +0000
  • 45030958d3 2005-03-18 Hans-Peter Nilsson <hp@axis.com> Corinna Vinschen <corinna@vinschen.de> Jeff Johnston 2005-03-18 17:18:59 +0000
  • dc96344161 * elf32-arm.c (elf32_arm_modify_segment_map): New function. (elf32_arm_additional_program_headers): Likewise. (elf_backend_modify_segment_map): Define. (elf_backend_additional_program_headers): Likewise. (elf32_arm_symbian_modify_segment_map): Use elf32_arm_modify_segment_map. Mark Mitchell 2005-03-18 17:06:16 +0000
  • 5c9b5ac72d * libc/include/machine/setjmp.h (sigsetjmp): Use GCC extension to evaluate first parameter only once. (siglongjmp): Ditto. Corinna Vinschen 2005-03-18 09:46:30 +0000
  • dd801fdabd 2005-03-17 Jeff Johnston <jjohnstn@redhat.com> Jeff Johnston 2005-03-17 20:11:23 +0000
  • 993317d0ed * fhandler_disk_file.cc (fhandler_disk_file::utimes): Handle opening directories under 9x gracefully. Corinna Vinschen 2005-03-17 12:53:47 +0000
  • 2e7c4a2ab1 * fhandler_socket.cc (fhandler_socket::connect): Always set sun_path in case of a successful or pending connect. (fhandler_socket::accept): Don't run secret event and eid credential transactions if OS accept returned WSAEWOULDBLOCK. Corinna Vinschen 2005-03-17 11:56:30 +0000
  • 333eabc6f8 * configure.host (newlib_cflags) <cris-*-*, crisv32-*-*>: Add -DCOMPACT_CTYPE. Hans-Peter Nilsson 2005-03-17 02:31:57 +0000
  • 294a7d2a66 complete a sentenc Christopher Faylor 2005-03-16 22:08:33 +0000
  • 9ff29211af bfd/ H.J. Lu 2005-03-16 21:52:41 +0000
  • 29acee4020 * fhandler_tape.cc (get_ll): This is a generally useful function so move it * winsup.h (get_ll): to here * security.cc (get_token_group_sidlist): Use get_ll to figure out the long long version of the luid since QuadPart is not part of the standard Windows API. Christopher Faylor 2005-03-16 21:52:06 +0000
  • 38a1953cfc * winclude/winnt.h (SYSTEM_LUID): Fix definitition invalidated by below change. Christopher Faylor 2005-03-16 21:50:14 +0000
  • 77e5f8975d missing file from previous checkin. Christopher Faylor 2005-03-16 21:21:18 +0000
  • 2693c1ac56 * dir.cc: Rename opendir_* to dirent_* throughout. (opendir_states): Move and rename. * fhandler.h (dirent_states): to here. * fhandler_disk_file.cc (fhandler_disk_file::readdir): Use raw readdir when skipping through entries since it is keeping track of "." and "..". (fhandler_cygdrive::seekdir): Use fhandler_disk_file::readdir to do everything. * fhandler_virtual.cc (fhandler_virtual::opendir): Set flag indicating that we provide . and .. (fhandler_virtual::seekdir): Ditto. (fhandler_virtual::rewinddir): Ditto. * fhandler_registry.cc (fhandler_registry::rewinddir): Ditto. Christopher Faylor 2005-03-16 21:20:56 +0000
  • 80e4c577b6 * Makefile.tpl (check-[+module+]): Fix shell statement inside if ... fi. * Makefile.in: Regenerate. DJ Delorie 2005-03-16 17:46:21 +0000
  • f4f2cc9526 merge from gcc DJ Delorie 2005-03-16 17:44:39 +0000
  • fe83647073 * cygtls.cc (free_local): New macro. (_cygtls::remove): Use free_local to free known-malloced local variables. * cygtls.h: Mark some variables as "malloced". * net.cc (enum struct_type): Rename from is_* to t_* for clarity. (dump_protoent): Delete. (dup_ent): New macro. (__dup_ent): Renamed from dup_ent. Change arguments for convenience. Replace first argument with newly alloced value. Allocate a rounded number of bytes in an attempt to try to reuse space. Subsume "dump_protent". (cygwin_getprotobyname): Simplify using new dup_ent functionality. (cygwin_getprotobynumber): Ditto. (cygwin_getservbyname): Ditto. (cygwin_getservbyport): Ditto. (cygwin_gethostname): Ditto. (cygwin_gethostbyname): Ditto. * tlsoffsets.h: Regenerate. * syslog.cc (openlog): Use NULL rather than 0, for consistency with the rest of cygwin. (pass_handler::initialize): Use unbuffered I/O in pass one. Christopher Faylor 2005-03-16 17:07:32 +0000
  • a53953b070 * errno.cc (errmap): Correct typo in previous change. Christopher Faylor 2005-03-16 01:00:05 +0000
  • 3ce11ca8d0 * include/winnt.h (_LUID): Add structure. Correct LUID typedef. Thanks to: Paul-Christiaan Spruijtenburg <wakarimasu at users dot sf dot net> Danny Smith 2005-03-16 00:46:17 +0000
  • 9d387e73b8 * cygtls.cc (_cygtls::remove): Free process_ident, if it exists. * errno.cc (errmap): ERROR_DISK_CORRUPT -> EIO. Christopher Faylor 2005-03-15 21:58:44 +0000
  • e967098660 2005-03-15 Hans Leidekker <hans@it.vu.nl> Danny Smith 2005-03-15 03:10:01 +0000
  • be4edc9b08 include: * opcode/arm.h: Adjust comments for ARM_EXT_V4T and ARM_EXT_V5T. Add ARM_EXT_V6T2, ARM_ARCH_V6T2, ARM_ARCH_V6KT2, ARM_ARCH_V6ZT2, and ARM_ARCH_V6ZKT2. opcodes: * arm-dis.c (arm_opcodes): Document %E and %V. Add entries for v6T2 ARM instructions: bfc bfi mls strht ldrht ldrsht ldrsbt movw movt rbit ubfx sbfx. (print_insn_arm): Add support for %E and %V. Zack Weinberg 2005-03-12 18:14:05 +0000
  • ac7bc2d470 * path.h (pathconv_arg): Define PC_NO_ACCESS_CHECK. (path_types): Define PATH_NO_ACCESS_CHECK == PC_NO_ACCESS_CHECK. * path.cc (symlink_info::check_sysfile): Move to symlink_info class and eliminate arguments that are part of class. Use set_error. (symlink_info::check_shortcut): Ditto. (symlink_info::set_error): New function. (path_conv::check): Pass PC_NO_ACCESS_CHECK to symlink_info::check. (symlink_info::check): Preserve PC_NO_ACCESS_CHECK in pflags. Use set_error. Christopher Faylor 2005-03-12 02:33:00 +0000
  • 640c3ce5df * path.cc (is_floppy): New function. (setmntent): Drop floppy drives on A: and B: from logical drive DWORD. * syscalls.cc (sync): Don't sync floppies on A: and B:. Corinna Vinschen 2005-03-10 17:02:52 +0000
  • 542afc349c * autoload.cc (LoadDLLprime): Use nocopy segment or forked processes will not initialize properly. * autoload.cc (LoadDLLprime): Scrap use of .linkonce and just use an Christopher Faylor 2005-03-10 16:59:55 +0000
  • 491e84c601 * autoload.cc (LoadDllprime): Scrap use of .linkonce and just use an ifdef guard to load .foo_init into data segment. * dcrt0.cc (initial_env): Allow colon or space as CYGWIN_DEBUG separator for consistency. Christopher Faylor 2005-03-10 14:41:50 +0000
  • 35b4534efe * pinfo.h (pinfo::pinfo): Clear more elements in the constructor. Christopher Faylor 2005-03-10 01:50:09 +0000
  • 2e5fb2d9fa merge from gcc DJ Delorie 2005-03-10 01:05:51 +0000
  • 8b59143fcd * net.cc (dup_ent): Revert older stupid test for null. Don't copy name if it is NULL. Christopher Faylor 2005-03-09 23:46:51 +0000
  • 7d243cd43b * fhandler_socket.cc (fhandler_socket::eid_pipe_name): Fix format string. (fhandler_socket::connect): Set sun_path before running eid credential transaction. Run transaction only if OS connect was successful. (fhandler_socket::accept): Run transaction only if OS accept was successful. Corinna Vinschen 2005-03-09 23:00:20 +0000
  • 8b7de010ab * net.cc (dup_ent): Revert previous stupid change. Christopher Faylor 2005-03-09 22:38:09 +0000
  • fa4b5b03c0 * signal.cc (sigprocmask): Rename first parameter to "how". (handle_sigprocmask): Ditto. Check "how" for being a valid "how" value. Fix call order in case of wrong "how" value. Corinna Vinschen 2005-03-09 21:07:56 +0000
  • b364b39867 * net.cc (dup_ent): Avoid dereferencing a null pointer in a debug_printf. Christopher Faylor 2005-03-09 20:56:44 +0000
  • f5394c9560 * path.cc (path_conv::check): Treat ENOSHARE similarly to ENOENT when determining if there was a problem with a symlink. Christopher Faylor 2005-03-09 20:33:21 +0000
  • 82518b7c54 Remove \n from debug_printf Christopher Faylor 2005-03-09 20:08:29 +0000
  • 1e2ce19b96 * fhandler_socket.cc (fhandler_socket::listen): Don't limit the number of pipe instances. Corinna Vinschen 2005-03-08 16:33:17 +0000
  • 8c2fb68a11 revert errnoneous checkin Christopher Faylor 2005-03-08 14:32:07 +0000
  • efdc312d12 * pinfo.cc (pinfo::exit): Right shift exit value by eight when not started in a cygwin environment. Christopher Faylor 2005-03-08 14:31:21 +0000
  • d2428633a6 * mmap.cc (mmap64): Handle MAP_AUTOGROW flag. (fhandler_disk_file::mmap): Ditto. Clean conditional for readability. * include/sys/mman.h: Add MAP_AUTOGROW flag. * include/cygwin/version.h: Bump API minor version. Corinna Vinschen 2005-03-08 09:18:47 +0000
  • 18edcecfbf * dcrt0.cc (dll_crt0_0): Eliminate muto::init call. * sync.h (locker): New, currently unused class. (muto::init): Eliminate. * sync.cc (muto::init): Ditto. (muto::init): Eliminate critical section lock and instead use name as a guard to prevent against multiple attempts to initialize the same muto. * pinfo.cc (pinfo::init): Set myself procinfo when not execing and pid matches windows pid or cygwin pid. Christopher Faylor 2005-03-08 05:05:02 +0000
  • 4534561877 * kill.cc (getsig): Rectify bug introduced by 2005-02-26 change. Don't pad signal name with spaces. Christopher Faylor 2005-03-08 04:06:26 +0000
  • a593a4c5e3 * strace.cc (handle_output_debug_string): Fix compiler warning. Corinna Vinschen 2005-03-07 10:24:23 +0000
  • d34d3da637 * include/ws2tcpip.h (getaddrinfo, freeaddrinfo, getnameinfo): Guard with _WIN32_WINNT >= 0x0501. Add FIXME comment. * gai_strerror[AW]: Put into #if 0 block. Danny Smith 2005-03-07 08:32:24 +0000
  • 4f7e895a3a * include/basetyps.h (__int16): Correct define. Danny Smith 2005-03-07 04:58:30 +0000
  • fe7b4e0306 * path.cc (mount_info::read_cygdrive_info_from_registry): Use the user prefix if it exists. * sync.h (sync::init_lock): Declare new static member. (sync::init()): Declare new static function. * sync.cc (sync::init): Define. (sync::init): Lock attempt to initialize a muto to stop multiple threads from colliding. * dcrt0.cc (dll_crt0_0): Initialize muto environment. Christopher Faylor 2005-03-06 21:28:28 +0000
  • df5a5b3592 2005-03-06 Ralf Corsepious <ralf.corsepius@rtems.org> Jeff Johnston 2005-03-06 20:51:38 +0000
  • 9d385fb06d 2005-03-06 Ralf Corsepious <ralf.corsepius@rtems.org> Jeff Johnston 2005-03-06 20:40:05 +0000
  • 2e7d9bf906 2005-03-06 Ralf Corsepious <ralf.corsepius@rtems.org> Jeff Johnston 2005-03-06 20:32:16 +0000
  • 3f02a8d0f4 * sync.h (sync::init_lock): Declare new static member. (sync::init()): Declare new static function. * sync.cc (sync::init): Define. (sync::init): Lock attempt to initialize a muto to stop multiple threads from colliding. * dcrt0.cc (dll_crt0_0): Initialize muto environment. Christopher Faylor 2005-03-06 20:21:30 +0000
  • a50b6b2dcd * path.cc (special_name): Reorganize to always detect the use of special names first, before detecting special characters. Christopher Faylor 2005-03-06 20:15:07 +0000
  • 5f8e4efa67 * cygpath.cc (usage): Pass in one more copy of program_name to printf to avoid a SEGV. Christopher Faylor 2005-03-06 18:00:03 +0000