Commit Graph

  • 143bf87846 * (symlink_info::set_error): Change to return bool if input error should be ignored. (symlink_info::check): Treat path as a normal file if set_error returns false. Christopher Faylor 2005-10-11 16:06:10 +0000
  • 458e656498 * configure.in (arm-*-linux-gnueabi): Add to noconfigdirs target-libffi, target-qthreads, target-libjava, and targetlibobjc. * configure: Regenerate. Kazu Hirata 2005-10-09 16:35:55 +0000
  • 6be079435f * config/tc-hppa.c (strict): Don't initialize. Update comment. (pa_ip): Promote from PA 1.0 to 1.1 immediately when 1.1 match is found. Simplify handling of "ma" and "mb" completers. John David Anglin 2005-10-08 19:01:29 +0000
  • a614f7ecba 2005-10-08 Paul Brook <paul@codesourcery.com> Paul Brook 2005-10-08 17:07:16 +0000
  • a174593722 * mingwex/fegetenv.c (fegetenv): Restore exception masks. * mingwex/feholdexcept.c (feholdexcept): Don't set exceptions to non-stop. Use "fnclex" to clear exception flags. Danny Smith 2005-10-08 02:14:45 +0000
  • f011605a90 2005-10-07 Bob Wilson <bob.wilson@acm.org> Jeff Johnston 2005-10-07 18:07:26 +0000
  • bc037f3a51 2005-10-06 Ralf Corsepius <ralf.corsepius@rtems.org> Jeff Johnston 2005-10-06 19:46:21 +0000
  • 51c8a2133a * Makefile.def (flags_to_pass): Add OBJDUMP_FOR_TARGET. * Makefile.tpl (BASE_TARGET_EXPORTS): Add OBJDUMP. (OBJDUMP_FOR_TARGET, CONFIGURED_OBJDUMP_FOR_TARGET) (USUAL_OBJDUMP_FOR_TARGET): New. (EXTRA_TARGET_FLAGS): Add OBJDUMP. * configure.in: Check for $OBJDUMP_FOR_TARGET. * configure, Makefile: Regenerated. Daniel Jacobowitz 2005-10-06 15:24:36 +0000
  • 37fe65c798 2005-10-05 Paolo Bonzini <bonzini@gnu.org> Paolo Bonzini 2005-10-05 15:59:52 +0000
  • 168b158c6f 2005-10-05 Paolo Bonzini <bonzini@gnu.org> Paolo Bonzini 2005-10-05 07:30:22 +0000
  • 4a79bc5638 Fix mips-elf --enable-libmudflap make -j2 failure. * Makefile.def (lang_env_dependencies): Add libmudflap. * Makefile.in: Regenerate. Jim Wilson 2005-10-05 01:19:36 +0000
  • c7e209797c 2005-10-04 Ralf Corsepius <ralf.corsepius@rtems.org> Jeff Johnston 2005-10-04 21:02:59 +0000
  • 58e78add8b 2005-10-04 James E Wilson <wilson@specifix.com> Jeff Johnston 2005-10-04 20:47:39 +0000
  • dd8ed8c6f2 2005-10-03 James E Wilson <wilson@specifix.com> Jeff Johnston 2005-10-03 17:29:47 +0000
  • fa35a1ee5c * cygheap.h (class process_lock): New class. * dtable.h (class dtable): Add class process_lock as a friend. * dcrt0.cc (get_exit_lock): Delete. (do_exit): Use process_lock class instead of get_exit_lock. * exceptions.cc (signal_exit): Ditto. * pinfo.cc (pinfo::exit): Ditto. (_pinfo::commune_process): Set process lock around this whole function. (_pinfo::commune_request): Use process_lock rather than myself.lock. * pinfo.h (pinfo::_lock): Delete. (pinfo::initialize_lock): Delete. (pinfo::lock): Delete. (pinfo::unlock): Delete. * winsup.h (get_exit_lock): Delete declaration. Christopher Faylor 2005-10-03 17:23:54 +0000
  • 8afb8202d4 2005-10-03 Jeff Johnston <jjohnstn@redhat.com> Jeff Johnston 2005-10-03 17:22:38 +0000
  • 14491fd0e0 2005-10-03 Ralf Corsepius <ralf.corsepius@rtems.org> Jeff Johnston 2005-10-03 17:02:48 +0000
  • b94d50c035 add other options Christopher Faylor 2005-10-03 16:39:29 +0000
  • f69e2532cf Regenerated with 2.13 version of autoconf. Catherine Moore 2005-10-03 15:35:57 +0000
  • 76402c8004 * configure.in (bfin-*-*): Support bfin. * configure: Regenerated. Catherine Moore 2005-10-03 15:11:13 +0000
  • 77bb159309 * uname.cc (uname): Disable use of GetNativeSystemInfo. Corinna Vinschen 2005-10-03 09:24:42 +0000
  • facdd5dd4a 2005-10-02 Joshua Daniel Franklin <joshuadfranklin@yahoo.com> Joshua Daniel Franklin 2005-10-02 20:56:53 +0000
  • 0cb6fc5d30 * dcrt0.cc (get_exit_lock): Use myself.lock rather than exit_lock. * exceptions.cc (exit_lock): Delete. (events_init): Don't init exit_lock. * (_pinfo::commune_process): Add per-PICOM debugging. * sigproc.cc (talktome): Add some temporary debugging statements. * fhandler_proc.cc (format_proc_cpuinfo): Cosmetic change. (format_proc_partitions): Ditto. * syscalls.cc (locked_append): Ditto. Christopher Faylor 2005-10-02 00:13:41 +0000
  • f5cfdc0fa4 * dcrt0.cc (do_exit): Don't set ES_SET_MUTO here. Call get_exit_lock() instead. (get_exit_lock): New function. Grabs the lock and sets initial exit_state. * exceptions.cc (try_to_debug): Use low_priority_sleep. (sigpacket::process): Avoid handler if this is an exec stub. (signal_exit): Use get_exit_lock rather than manipulating the exit_lock critical section directly. * pinfo.cc (pinfo::exit): Ditto. * winsup.h (get_exit_lock): Declare. (exit_lock): Delete declaration. Christopher Faylor 2005-09-30 23:52:13 +0000
  • fd45a7909b * dis-asm.h (print_insn_bfin): Declare. * elf/bfin.h: New file. * elf/common.h (EM_BLACKFIN): Define. * opcode/bfin.h: New file. Catherine Moore 2005-09-30 15:12:52 +0000
  • 56fa079851 2005-09-30 H.J. Lu <hongjiu.lu@intel.com> H.J. Lu 2005-09-30 14:50:57 +0000
  • 3498288eff Fix typo. Corinna Vinschen 2005-09-30 11:03:35 +0000
  • 3c92c79b84 * fhandler_disk_file.cc: Change calls to pc.set_attributes into calls to pc.file_attributes throughout. * path.h (class path_conv): Remove superfluous set_attributes method. Corinna Vinschen 2005-09-30 11:02:47 +0000
  • 8afc05fa90 * fhandler_floppy.cc (fhandler_dev_floppy::get_drive_info): Use fhandler method to access majoer device number. Add comment to explain floppy weirdness. Corinna Vinschen 2005-09-30 10:54:45 +0000
  • 251436268e * fhandler_disk_file.cc (fhandler_base::fstat_by_handle): Also use attributes stored in this->pc if call to GetFileInformationByHandle failed. Corinna Vinschen 2005-09-30 10:27:14 +0000
  • 04f3d97fe4 * fhandler_disk_file.cc (fhandler_base::fstat_by_handle): Only write attributes if call to GetFileInformationByHandle was successful. Corinna Vinschen 2005-09-30 08:05:42 +0000
  • 40c7d132ef * fork.cc (frok::parent): Simplify error messages. Don't issue an error when child.remember fails. (fork): When appropriate, build up an error message from grouped.error. Christopher Faylor 2005-09-30 00:18:30 +0000
  • f859ca87a7 * fhandler_floppy.cc (fhandler_dev_floppy::get_drive_info): Don't call EX ioctls on floppy drives. Corinna Vinschen 2005-09-29 16:57:09 +0000
  • f6c9ff6646 * dir.cc (mkdir): Check for trailing /. or /.. component. (rmdir): Ditto. * path.cc (has_dot_last_component): New function. * path.h (has_dot_last_component): Add declaration. Corinna Vinschen 2005-09-29 16:23:22 +0000
  • 9a7b0aad2a * crt0.cc: Remove PPC considerations. (WinMainCRTStartup): Add symbol as alias to mainCRTStartup. Corinna Vinschen 2005-09-29 14:28:22 +0000
  • 6a33f745c0 Index: ChangeLog 2005-09-28 Geoffrey Keating <geoffk@apple.com> Geoffrey Keating 2005-09-29 01:00:26 +0000
  • 350e5fc23d Fix typo. Christopher Faylor 2005-09-28 23:24:57 +0000
  • 0730fa0763 Change name from commune_recv to commune_process throughout. Change name from commune_send to commune_request throughout. * pinfo.h (PICOM_EXTRASTR): New flag. (PICOM_FIFO): Define with new flag. (_pinfo::hello_pid): Delete. (_pinfo::tothem): Delete. (_pinfo::fromthem): Delete. (_pinfo::commune_process): Rename from commune_recv. Add a siginfo_t argument to declaration. (_pinfo::commune_request): Rename from commune_send. Change DWORD to __uint32_t in declaration. * pinfo.cc (_pinfo::commune_process): Rename from commune_recv. Add siginfo_t argument. Use information from argument rather than reading from another pipe. Synchronize with other process's commune event. (_pinfo::commune_request): Rename from commune_send. Change DWORD to __uint32 in argument. Fill out information in new siginfo_t element and rely on extended operation of sig_send rather than trying to deal with synchronization issues here. Use process handle and read pipe information filled out by sig_send to gather information from the other process. * sigproc.cc (sig_send): Take special action if "communing" to ensure synchronization with the other process and to return information about the other process to the caller. (talktome): Accept a siginfo_t and handle arguments. Read additional information from the signal pipe when _si_commune._si_code has the PICOM_EXTRASTR flag set. (wait_sig): Pass the transmitted siginfo_t struct and the pipe handle to talktome. Close pipe read handle as soon as possible after we detect that we're exiting. Christopher Faylor 2005-09-28 22:56:47 +0000
  • 503490bb9f * hookapi.cc (hook_or_detect_cygwin): Correct inverted test for whether to allocate a buffer by always allocating a buffer. Christopher Faylor 2005-09-28 20:20:57 +0000
  • f098767559 * fhandler.h (class fhandler_dev_raw): Delete current_position and eof_detected status flag. Delete is_eom and is_eof methods. Move drive_size, bytes_per_sector, eom_detected status flag, as well as the methods read_file, write_file, raw_read and raw_write to ... (class fhandler_dev_floppy): ... here. Remove is_eom and is_eof methods. Add dup method. * fhandler_floppy.cc (IS_EOM): New macro. (fhandler_dev_floppy::is_eom): Remove. (fhandler_dev_floppy::is_eof): Remove. (fhandler_dev_floppy::fhandler_dev_floppy): Initialize status flags. (fhandler_dev_floppy::get_drive_info): Only call EX functions on systems supporting them and stop suffering strange delays. (fhandler_dev_floppy::read_file): Move here, drop setting current_position. (fhandler_dev_floppy::write_file): Move here, drop setting current_position. (fhandler_dev_floppy::open): Rearrange comment. (fhandler_dev_floppy::dup): New method. (fhandler_dev_floppy::get_current_position): New inline method. Use instead of former current_position were appropriate. (fhandler_dev_floppy::raw_read): Move here. Drop EOF handling. (fhandler_dev_floppy::raw_write): Move here. Drop EOF handling. (fhandler_dev_floppy::lseek): Remove useless conditions. Convert sector_aligned_offset to LARGE_INTEGER to improve SetFilePointer call. (fhandler_dev_floppy::ioctl): Move blocksize check in RDSETBLK case to here. * fhandler_raw.cc (fhandler_dev_raw::is_eom): Remove. (fhandler_dev_raw::is_eof): Remove. (fhandler_dev_raw::write_file): Remove. (fhandler_dev_raw::read_file): Remove. (fhandler_dev_raw::raw_read): Remove. (fhandler_dev_raw::raw_write): Remove. (fhandler_dev_raw::dup): Drop copying removed members. (fhandler_dev_raw::ioctl): Drop blocksize testing. * wincap.h: Implement has_disk_ex_ioctls throughout. * wincap.cc: Ditto. (wincap_vista): Preliminary wincaps for Windows Vista/Longhorn. (wincapc::init): Add Vista/Longhorn handling. Corinna Vinschen 2005-09-28 19:33:18 +0000
  • dcb091caaf Revert erroneous checkin. Corinna Vinschen 2005-09-28 19:22:25 +0000
  • 1204c515fe * fhandler.h (class fhandler_dev_raw): Delete current_position and eof_detected status flag. Delete is_eom and is_eof methods. Move drive_size, bytes_per_sector, eom_detected status flag, as well as the methods read_file, write_file, raw_read and raw_write to ... (class fhandler_dev_floppy): ... here. Remove is_eom and is_eof methods. Add dup method. * fhandler_floppy.cc (IS_EOM): New macro. (fhandler_dev_floppy::is_eom): Remove. (fhandler_dev_floppy::is_eof): Remove. (fhandler_dev_floppy::fhandler_dev_floppy): Initialize status flags. (fhandler_dev_floppy::get_drive_info): Only call EX functions on systems supporting them and stop suffering strange delays. (fhandler_dev_floppy::read_file): Move here, drop setting current_position. (fhandler_dev_floppy::write_file): Move here, drop setting current_position. (fhandler_dev_floppy::open): Rearrange comment. (fhandler_dev_floppy::dup): New method. (fhandler_dev_floppy::get_current_position): New inline method. Use instead of former current_position were appropriate. (fhandler_dev_floppy::raw_read): Move here. Drop EOF handling. (fhandler_dev_floppy::raw_write): Move here. Drop EOF handling. (fhandler_dev_floppy::lseek): Remove useless conditions. Convert sector_aligned_offset to LARGE_INTEGER to improve SetFilePointer call. (fhandler_dev_floppy::ioctl): Move blocksize check in RDSETBLK case to here. * fhandler_raw.cc (fhandler_dev_raw::is_eom): Remove. (fhandler_dev_raw::is_eof): Remove. (fhandler_dev_raw::write_file): Remove. (fhandler_dev_raw::read_file): Remove. (fhandler_dev_raw::raw_read): Remove. (fhandler_dev_raw::raw_write): Remove. (fhandler_dev_raw::dup): Drop copying removed members. (fhandler_dev_raw::ioctl): Drop blocksize testing. * wincap.h: Implement has_disk_ex_ioctls throughout. * wincap.cc: Ditto. (wincap_vista): Preliminary wincaps for Windows Vista/Longhorn. (wincapc::init): Add Vista/Longhorn handling. Corinna Vinschen 2005-09-28 19:02:53 +0000
  • 280fdd0b67 * dcrt0.cc (getstack): New function. (alloc_stack): Use tls stuff for stack info rather than calling VirtualQuery. (dll_crt0_0): Initialize _impure_ptr stuff much earlier. Move init_console_handler here. * fork.cc (class frok): New class renamed from local fork() struct. (stack_base): Change argument type. Use tls stuff to determine stack info rather than calling VirtualQuery. (frok::child): Rename from fork_child. Eliminate now unneeded arguments. (frok::parent): Rename from fork_parent and ditto. Set error and errno as appropriate. Fixup impersonation in cleanup, if needed. Try harder to set errno appropriately. (fork): Define "grouped" as a frok type. Deal with errors from fork_parent here. * init.cc (dll_entry): Remove init_console_handler call. Christopher Faylor 2005-09-28 15:18:49 +0000
  • 9edadc960e * pinfo.cc (_pinfo::dup_proc_pipe): Ignore error if the child process has just gone away. Christopher Faylor 2005-09-28 13:55:04 +0000
  • 43634a4158 * init.cc (prime_threads): Make this static, as it should be. (dll_entry): Apply cosmetic changes to define closer to the way MSDN suggests. Christopher Faylor 2005-09-28 02:43:29 +0000
  • ee694aea01 2005-09-27 Ralf Corsepius <ralf.corsepius@rtems.org> Jeff Johnston 2005-09-27 20:49:53 +0000
  • 22704a8da3 * pthread.cc (mangle_sem_name): Use cygheap->shared_prefix instead of fiddling with wincap.has_terminal_services manually. Corinna Vinschen 2005-09-27 20:34:19 +0000
  • f1cdab8563 * cygheap.cc (cygheap_init): Add GLOBAL_PRIV to hProcToken explicitely since hProcImpToken isn't initialized here. * shared.cc (open_shared): Always print mapname instead of name in debug output. Corinna Vinschen 2005-09-27 19:04:38 +0000
  • e0be0a1d50 * strace.cc (strace::vsprntf): Avoid printing a zero pid. Christopher Faylor 2005-09-27 18:54:32 +0000
  • 91049bd9cd * init.cc (dll_entry): Call IsWow64Process with GetCurrentProcess as process handle since hMainProc isn't initialized here. Corinna Vinschen 2005-09-27 17:44:29 +0000
  • 357d430185 * fhandler_floppy.cc (fhandler_dev_floppy::get_drive_info): Always try IOCTL_DISK_GET_DRIVE_GEOMETRY_EX and IOCTL_DISK_GET_PARTITION_INFO_EX ioctls first, to allow access to GPT partitioned disks. Fall back to old non-EX ioctls otherwise. Add comment to explain NT4 weirdness. Corinna Vinschen 2005-09-27 15:33:02 +0000
  • dbdc82aa71 * libiberty.h (expandargv): New function. Mark Mitchell 2005-09-26 21:02:57 +0000
  • 6c22c79f73 * errno.cc (errmap): Map ERROR_SEEK and ERROR_SECTOR_NOT_FOUND. Corinna Vinschen 2005-09-26 15:27:15 +0000
  • a3d5219c5f * exceptions.cc (_cygtls::call_signal_handler): Minor cleanup. Christopher Faylor 2005-09-26 14:58:16 +0000
  • b470a0e81f * fhandler.h (class fhandler_dev_raw): Add drive information members drive_size, current_position and bytes_per_sector. (fhandler_dev_floppy::get_drive_info): Declare. * fhandler_floppy.cc (fhandler_dev_floppy::is_eom): Define ERROR_SEEK and ERROR_SECTOR_NOT_FOUND as end-of-medium conditions. (fhandler_dev_floppy::get_drive_info): New method to have one function retrieving drive info. (fhandler_dev_floppy::open): Call get_drive_info to get drive information right from the start. (fhandler_dev_floppy::lseek): Use and set drive information members. Especially keep track of current_position. (fhandler_dev_floppy::ioctl): Ditto. * fhandler_raw.cc (fhandler_dev_raw::write_file): Keep track of current_position. (fhandler_dev_raw::read_file): Ditto. (fhandler_dev_raw::raw_read): Never try to read beyond end-of-medium. (fhandler_dev_raw::dup): Handle new drive information members. Corinna Vinschen 2005-09-26 14:55:40 +0000
  • d5f4ee62b7 * exceptions.cc (handle_exceptions): Just si_code to SI_KERNEL first and let it be overridden. * exceptions.cc (_cygtls::call_signal_handler): Call signal handler with extra siginfo_t * and void * parameters when SA_SIGINFO flag is set. * signal.cc (signal): Clear SA_SIGINFO flag. (sigqueue): Fix incorrect setting of si_code. * sigproc.cc (signal_fixup_after_exec): Clear SA_SIGINFO flag when setting handler to SIG_DFL. Christopher Faylor 2005-09-26 14:51:48 +0000
  • 683cc8189c * pinfo.cc (proc_waiter): Properly fill out si_code as according to SUSv3. * exceptions.cc (handle_exceptions): Properly fill out si_code as according to SUSv3. Christopher Faylor 2005-09-26 13:47:27 +0000
  • f086715060 * exceptions.cc (handle_exceptions): Properly fill out si_code. Christopher Faylor 2005-09-26 13:23:47 +0000
  • 529649f983 * sigproc.cc (wait_sig): Cosmetic change. * pinfo.cc (pinfo::exit): Don't explicitly remove myself since some other thread may still be using it. Christopher Faylor 2005-09-26 01:27:36 +0000
  • 7b96339c80 2005-09-25 Joshua Daniel Franklin <joshuadfranklin@yahoo.com> Joshua Daniel Franklin 2005-09-26 00:29:51 +0000
  • bcf84bf3aa * hppa.h (pa_opcodes): Add new "fdc" and "fic" opcode entries. John David Anglin 2005-09-25 02:33:54 +0000
  • 6f96c53642 * sigproc.cc (sigproc_terminate): More reversion of always-exit-from-sigthread change. Christopher Faylor 2005-09-24 19:17:49 +0000
  • e6e55ca6a2 * include/math.h (HUGE_VALF, HUGE_VALL, INFINITY, NAN) Avoid raising FP exceptions. Danny Smith 2005-09-24 01:26:24 +0000
  • 5cbcdfa9dd * shared.cc (open_shared): Add crucial bit of debugging info. Christopher Faylor 2005-09-23 23:56:17 +0000
  • 5e477e9a9b Semi-reversion of always-exit-from-sigthread change of 2005-09-15. * exceptions.cc (sigpacket::process): Eliminate return after call to reinstated noreturn function. (signal_exit): Allow function to exit when a captive process has been terminated. * pinfo.cc (pinfo::exit): Enter exit_lock here. Once again exit here under control of exit_lock. * sigproc.cc (sig_send): Don't wait for completion if process is exiting. Remove special __SIGEXIT accommodations. (wait_sig): Just exit the thread when a __SIGEXIT has been detected. Don't exit the process. Christopher Faylor 2005-09-23 23:37:52 +0000
  • 1b19d74296 * net.cc (cygwin_gethostbyname): Remove debugging cruft. Christopher Faylor 2005-09-23 23:25:25 +0000
  • 2b4f76269d 2005-09-23 Chris Sutcliffe <ir0nh34d@users.sourceforge.net> Chris Sutcliffe 2005-09-23 22:41:24 +0000
  • 0017e72675 * pinfo.cc (pinfo::exit): Call ExitProcess if called from signal thread. Christopher Faylor 2005-09-23 20:05:50 +0000
  • e68bd70ab4 2005-09-23 Chris Sutcliffe <ir0nh34d@users.sourceforge.net> Chris Sutcliffe 2005-09-23 19:59:33 +0000
  • 0c75486267 * tlsoffsets.h: Regenerate. Christopher Faylor 2005-09-23 19:24:03 +0000
  • 08c7ea264b * pinfo.cc (pinfo::exit): Eliminate use of _my_tls.thread_handle. Christopher Faylor 2005-09-23 19:23:26 +0000
  • e009e2f51d * enable.m4: New file. * tls.m4: New file. Tom Tromey 2005-09-23 17:28:31 +0000
  • 3924c5c780 2005-09-23 James E Wilson <wilson@specifix.com> Jeff Johnston 2005-09-23 15:51:10 +0000
  • 255e7e559e * cygtls.h (struct _cygtls::thread_handle): Remove/revert. * sigproc.h (struct sipacket::thread_handle): Put thread_handle here. * sigproc.cc (sigproc_terminate): Move setting of thread_handle... (sig_send): ...to here. Put it in packet being sent. Only close pack.wakeup when we're waiting for completion. (wait_sig): Use thread_handle directly from received packet. Christopher Faylor 2005-09-23 15:18:22 +0000
  • e7a76793ad 2005-09-23 Chris Sutcliffe <ir0nh34d@users.sourceforge.net> Chris Sutcliffe 2005-09-23 10:50:15 +0000
  • 85b0face89 * tlsoffsets.h: Regenerate. Christopher Faylor 2005-09-23 03:40:57 +0000
  • 936e4018b6 * cygheap.cc (cygheap_fixup_in_child): It's not just for exec. * cygtls.h (struct _cygtls::thread_handle): New field. * dcrt0.cc (exit_lock): Remove declaration. * winsup.h (exit_lock): Add declaration. * exceptions.cc (sigpacket::process): Properly return after signal_exit. * pinfo.cc (pinfo::exit): Only exit the process if _my_tls.thread_handle has not been filled out -- which should be an impossible event. * sigproc.cc (sigproc_terminate): Fillout _my_tls.thread_handle to provide something for wait_sig to wait for. Use the siginfo_t version of sig_send and fill out the tls argument with _my_tls. (wait_sig): Wait for the thread specified in pack.tls or (for now) complain bitterly if it doesn't exit. Christopher Faylor 2005-09-23 03:35:41 +0000
  • 4340c43955 * pinfo.cc (set_myself): Call strace.hello unconditionally when DEBUGGING. (pinfo::init): Sleep and issue debugging output before looping when a PID_EXITED is found. Christopher Faylor 2005-09-22 21:10:07 +0000
  • b30dbbe2c3 * fhandler_disk_file.cc (fhandler_base::fstat_helper): Fix copy/paste bug. Corinna Vinschen 2005-09-22 17:53:38 +0000
  • 378017d7c2 * strace.cc (strace::vsprntf): Avoid accessing myself->pid if !myself. Christopher Faylor 2005-09-22 17:06:48 +0000
  • 7e7a719a8e * include/sys/strace.h (_STRACE_ON): Remove semicolon from definition. (_STRACE_OFF): Remove semicolon from definition. Christopher Faylor 2005-09-22 16:41:36 +0000
  • f3810c7281 * fhandler.h (fhandler_base::fstat_helper): Declare with additional file attributes argument. * fhandler_disk_file.cc (fhandler_base::fstat_by_handle): Use file attributes evaluated from NtQueryFileInformation or FileInformationByHandle in call to fstat_helper. Set pc.fileattr from just evaluated file attributes here. (fhandler_base::fstat_by_name): Use file attributes evaluated from FindFileFirst or default attribute in call to fstat_helper. Set pc.fileattr from just evaluated file attributes here. (fhandler_base::fstat_helper): Use file attributes given as argument, not file attributes stored in this fhandler, since this information is potentially wrong. Add comment to explain this. * path.h (has_attribute): New global inline function. (path_conv::set_attributes): New method to change fileattr. Corinna Vinschen 2005-09-22 15:52:02 +0000
  • f3a61fc4aa Fix typo. Corinna Vinschen 2005-09-21 22:27:38 +0000
  • d829da1423 Align error message handling to mkpasswd's error messages throughout. * mkgroup.c (print_win_error): Create macro calling ... (_print_win_error): ... this function created from former print_win_error. Move up in source. (PDOMAIN_CONTROLLER_INFOW): Define return type of DcGetDcNameW. (dsgetdcname): New function pointer for DcGetDcNameW. (load_netapi): Get DcGetDcNameW address. (main): If DcGetDcNameW is available, use it. * mkpasswd.c (PDOMAIN_CONTROLLER_INFOW): Define return type of DcGetDcNameW. (dsgetdcname): New function pointer for DcGetDcNameW. (load_netapi): Get DcGetDcNameW address. (main): If DcGetDcNameW is available, use it. Rename local variable domain_name_specified to domain_specified as in mkgroup.c. Corinna Vinschen 2005-09-21 22:26:08 +0000
  • faf4210542 * cygthread.cc (cygthread::operator new): Just use getenv() to look for CYGWIN_FREERANGE_NOCHECK since the Windows environment may be truncated by being previously execed. Christopher Faylor 2005-09-21 19:29:50 +0000
  • 574c2ba2a3 2005-09-21 Chris Sutcliffe <ir0nh34d@users.sourceforge.net> Chris Sutcliffe 2005-09-21 19:20:46 +0000
  • 9f1926f2d8 2005-09-20 Jeff Johnston <jjohnstn@redhat.com> Jeff Johnston 2005-09-20 22:36:07 +0000
  • 0ce4fcefed 2005-09-20 Jeff Johnston <jjohnstn@redhat.com> Jeff Johnston 2005-09-20 21:21:51 +0000
  • 1706081793 2005-09-20 Shaun Jackman <sjackman@gmail.com> Jeff Johnston 2005-09-20 19:33:58 +0000
  • 1e1d1d3d7e 2005-09-20 Jeff Johnston <jjohnstn@redhat.com> Jeff Johnston 2005-09-20 19:25:57 +0000
  • e15e9fc9a7 * spawn.cc (av::fixup): Just blindly run any file if it has a .bat or .cmd extension. Christopher Faylor 2005-09-20 18:32:23 +0000
  • c2105cb94d 2005-09-19 David Edelsohn <edelsohn@gnu.org> David Edelsohn 2005-09-20 03:13:02 +0000
  • c529909f45 * dcrt0.cc (do_exit): Only call sigproc_terminate from one location -- pinfo::exit. * pinfo.cc (pinfo::exit): Move sigproc_terminate later so that signals can be processed while waiting for hExeced child. (pinfo::maybe_set_exit_code_from_windows): Set exit code from sigExeced if it is non-zero. Set exit_state to ES_EXEC_EXIT prior to waiting for captive process exit code. * exceptions.cc (sigExeced): New global variable. (signal_exit): Remove noreturn attribute from declaration. (signal_exit): Just terminate captive process and return if hExeced on the theory that the exit will be subsequently handled in the main thread. * sigproc.cc (sigproc_terminate): Eliminate test for ES_SIGPROCTERMINATE and use ES_FINAL instead. (sig_send): Use no_signals_available instead of duplicate test. * winsup.h (ES_EXEC_EXIT): New enum. (ES_SIGPROCTERMINATE): Delete. Christopher Faylor 2005-09-20 02:06:57 +0000
  • cddfc170fd 2005-09-19 Jeff Johnston <jjohnstn@redhat.com> Jeff Johnston 2005-09-19 22:02:23 +0000
  • e60ec8bf96 white space changes to force new snapshot Christopher Faylor 2005-09-19 15:50:56 +0000
  • 1bde6e09a6 * sigproc.cc (talktome): Take siginfo_t argument. Don't scan all pids trying to find one that's talking to me. Just use the pid from siginfo_t. (wait_pid): Pass siginfo_t argument to talktome. Christopher Faylor 2005-09-19 14:15:06 +0000
  • 64cf26a0e9 * include/winsock2.h (SO_EXCLUSIVEADDRUSE): Define. Thanks to Gisle Vanem <giva at bgnett dot no> Danny Smith 2005-09-19 10:32:51 +0000
  • c1c5de21a9 * include/stdlib.h (strtof): Add prototype. Uglify parameter names in inline definition. (wcstof): Likewise. (_Exit): Uglify parameter names in inline definition. (llabs): Add prototype. (_set_error_mode): Add prototype and input defines. Danny Smith 2005-09-19 09:48:08 +0000
  • 0d8efc429f * pipe.cc (fhandler_pipe::open): Use 'cfree' to free buffer since it is now allocated by cmalloc. Christopher Faylor 2005-09-17 20:36:34 +0000
  • 5da8b1281b * net.cc (cygwin_inet_ntop): Change len argument to socklen_t to follow SUSv3. * include/arpa/inet.h (inet_ntop): Ditto. * include/cygwin/in.h: Include cygwin/socket.h to get socklen_t. Corinna Vinschen 2005-09-17 08:55:30 +0000