1159e0fd942005-02-07 Antony King <antony.king@st.com>
Jeff Johnston
2005-02-08 01:33:19 +0000
3d915670882005-02-07 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston
2005-02-08 01:05:50 +0000
b59cab1e2e2005-02-07 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston
2005-02-07 21:04:22 +0000
681e60c31c2005-02-07 Danny Smith <dannysmith@users.sourceforge.net>
Danny Smith
2005-02-07 20:40:32 +0000
e693472b162005-02-07 Danny Smith <dannysmith@users.sourceforge.net>
Danny Smith
2005-02-07 20:18:08 +0000
a694f07970* net.cc (cygwin_gethostbyname): Be more picky about what's a numeric address string, and use tls in that case too.
Christopher Faylor
2005-02-07 15:27:40 +0000
bec2abd71e* exceptions.cc: Make windows_system_directory non-static. * pinfo.cc (pinfo::exit): Change innocuous cd'ed location to one that is more likely to exist.
Christopher Faylor
2005-02-07 05:28:49 +0000
7d880770d3* path.cc (path_conv::check): Leave symlink expansion loop in case a not-ENOENT error happens.
Corinna Vinschen
2005-02-06 11:15:29 +0000
85a798d6e7* cygthread.h (cygthread::terminate_thread): Reflect return value. * cygthread.cc (cygthread::detach): Be more careful about ensuring that sigwait is properly waited for to avoid later missynchronization. (cygthread::terminate_thread): Return true if thread was actually terminated and all handles were closed. * fhandler_base.cc (fhandler_base::raw_read): Use signal_read_state rather than raw calls to win32 api. (fhandler_base::read): Ditto. * fhandler.h (fhandler_pipe::fixup_after_exec): Use method to create read_state signalling. (fhandler_pipe::create): Ditto. * Makefile.in: Make some more files -fomit-frame-pointer.
Christopher Faylor
2005-02-06 05:04:34 +0000
901b1fb985include/ * bfdlink.h (struct bfd_link_hash_entry): Add u.undef.weak. bfd/ * linker.c (_bfd_generic_link_add_one_symbol): Set u.undef.weak. * elflink.c (elf_smash_syms): Restore symbols that were undefweak before the as-needed lib was loaded. Abort on unexpected refs.
Alan Modra
2005-02-03 03:30:38 +0000
3fd68a6a04* fhandler.h (fhandler_base::ftruncate): Define new virtual method. (fhandler_disk_file::ftruncate): Ditto. * fhandler.cc (fhandler_base::ftruncate): New method. * fhandler_disk_file.cc (fhandler_disk_file::ftruncate): Ditto. * syscalls.cc (ftruncate64): Move functionality into fhandlers. Call fhandler method from here.
Corinna Vinschen
2005-02-02 22:42:06 +0000
7823d9bb14Import from FSF mainline
Nick Clifton
2005-02-02 19:00:30 +0000
0763734fd9* pipe.cc (fhandler_pipe::dup): Fix conditionals in case of error.
Corinna Vinschen
2005-02-02 10:09:51 +0000
29ce22c955* times.cc (utimes): Mark st_ctime for update according to SUSv3.
Corinna Vinschen
2005-02-02 09:46:52 +0000
a79f7ee058* cris/Makefile.in (ALL_INSTALL_FILES): New macro. (ALL_INSTALL_FILES_NEWLIB_COPY): New macro. (all): Use ALL_INSTALL_FILES instead of its contents. Add ALL_INSTALL_FILES_NEWLIB_COPY. ($(objroot)/newlib/%, $(objroot)/newlib/libnosys.a): New rules
Hans-Peter Nilsson
2005-02-01 21:22:33 +0000
8c96f3fac2* fhandler_proc.cc (format_proc_partitions): Remove PartitionType check since it could skip over partitions that are actually interesting.
Christopher Faylor
2005-02-01 17:16:14 +0000
74d8e12e16* cygthread.cc (cygthread::terminate_thread): Wait briefly for notification event in the event that the thread was actually in the process of exiting. * pipe.cc (fhandler_pipe::dup): read_state is not supposed to be inheritable. Fix that. * path.cc (path_conv::check): Set symlen = 0 to avoid a compiler warning. * devices.h (devices::parsedisk): Declare new function. * devices.in (devices::parsedisk): Define new function. * dtable.cc (dtable::init_std_file_from_handle): Use device numbers rather than name. * fhandler_proc.cc (format_proc_partitions): Use parsedisk to generate disk names from numeric codes. (This was broken on two of my systems previously and is still broken now)
Christopher Faylor
2005-02-01 16:49:13 +0000
01a94cf866* pipe.cc (fhandler_pipe::open): Allow re-opening of /proc/<pid>/fd pipes of the current process.
Corinna Vinschen
2005-02-01 16:43:29 +0000
e8309efda5* fhandler.cc (fhandler_base::get_proc_fd_name): Don't generate "device:" entry. * fhandler.h (fhandler_socket::open): New method. (fhandler_pipe::open): New method. * fhandler_proc.cc (fhandler_proc::exists): Return -2 in case of /proc/self. * fhandler_process.cc (fhandler_process::exists): Return -2 in case of symlinks, -3 for pipes and -4 for sockets. (fhandler_process::fstat): Handle pipes and sockets. (fhandler_process::open): Handle opening /proc/<pid>/fd. (fhandler_process::fill_filebuf): Generate empty names for non exisiting file descriptors. * fhandler_socket.cc (fhandler_socket::get_proc_fd_name): Always generate "socket:[number]" strings as on Linux. (fhandler_socket::open): New method. (fhandler_socket::fstat): Always return socket type. * path.cc (symlink_info::set): Remove unused second parameter. (path_conv::check): Handle pipes and sockets in /proc. Set correct device type for AF_LOCAL sockets. * pinfo.cc (_pinfo::commune_recv): Generate empty names for non exisiting file descriptors. (_pinfo::fd): Ditto. * pipe.cc (fhandler_pipe::open): New method.
Corinna Vinschen
2005-02-01 15:11:47 +0000
d93998b17a* mingwex/strtold.c (__asctoe64): Set endptr to 'e' if exponent string is not valid.
Danny Smith
2005-02-01 03:51:21 +0000
d8b84e4bc4include/ * bfdlink.h (bfd_link_repair_undef_list): Declare. bfd/ * elf64-ppc.c (ppc64_elf_check_directives): Move undefs list fixup.. * linker.c (bfd_link_repair_undef_list): ..to new function, but don't remove anything but new and undefweak. * elflink.c (_bfd_elf_link_create_dynamic_sections): Override any existing _DYNAMIC. (_bfd_elf_create_dynamic_sections): Formatting. (bfd_elf_record_link_assignment): Call bfd_link_repair_undef_list. (_bfd_elf_merge_symbol): Don't handle as-needed syms here. (struct elf_smash_data): New. (elf_smash_syms): New function. (elf_link_add_object_symbols): Call elf_smash_syms. Don't add unneeded dynamic objects to loaded list. (elf_link_output_extsym): Don't handle as-needed here. Strip bfd_link_hash_new symbols. * elf32-cris.c (elf_cris_discard_excess_program_dynamics): Don't delref when dynindx is already -1. * elf64-alpha.c (elf64_alpha_output_extsym): Strip bfd_link_hash_new symbols. * elfxx-mips.c (mips_elf_output_extsym): Likewise. ld/ * ld.texinfo: Clarify --as-needed operation.
Alan Modra
2005-02-01 01:11:22 +0000
17dc5be5e9* path.h (path_conv::set_name): Declare new function. * path.cc (path_conv::set_name): Define new function. * fhandler.h (fhandler_dev_null::open): Declare new function. * fhandler.cc (fhandler_dev_null::open): Define new function.
Christopher Faylor
2005-01-31 21:29:59 +0000
4faae8d6e9* smallprint.c (rnarg): Use long rather than unsigned long so that we get proper sign extension.
Christopher Faylor
2005-01-31 20:55:33 +0000
c824aa43302005-01-31 Andrew Cagney <cagney@gnu.org>
Andrew Cagney
2005-01-31 20:29:41 +0000
c93b32d9bf* cygwinenv.sgml: Add words for (no)traverse option.
Corinna Vinschen
2005-01-31 20:03:20 +0000
740760ec5a* environ.cc (set_traverse): New function. (parse_thing): Add "traverse" option. Sort options alphabetically. (environ_init): On NT, switch on traverse checking by default.
Corinna Vinschen
2005-01-31 20:02:36 +0000
2b4d82482c* smallprint.c (__rn): Regparmize.
Christopher Faylor
2005-01-31 19:57:05 +0000
01d13d44fb* smallprint.c (rnarg): New macro. (rnargLL): Ditto. (__rn): Rename from 'rn', add a mask argument, and use the mask argument to control how many significant digits to care about. (__small_vsprintf): Use __rn, rnarg, rnargLL, as appropriate.
Christopher Faylor
2005-01-31 19:52:03 +0000
ad1d82b851* pinfo.cc (pinfo::exit): Only return low-order 16 bits when exiting.
Christopher Faylor
2005-01-31 14:34:07 +0000
6d336c0e5a* fhandler_process.cc (format_process_maps): Get destbuf argument by reference. Allow resizing of destbuf as necessary. Fix string handling.
Corinna Vinschen
2005-01-31 12:02:07 +0000
4f27e288c5* cygheap.h (class cygheap_fdenum): New class to enumerate used fhandlers. * dtable.h (class dtable): Add cygheap_fdenum as friend class. * fhandler.h (fhandler_base::get_proc_fd_name): New virtual method to return a name for /proc/<pid>/fd. (fhandler_socket::get_proc_fd_name): Ditto. (fhandler_pipe::get_proc_fd_name): Ditto. (fhandler_virtual::opendir): Make virtual method. (fhandler_process::opendir): New method. * fhandler.cc (fhandler_base::get_proc_fd_name): New method. * fhandler_process.cc: Include ctype.h. (PROCESS_FD): Define. (process_listing): Add "fd". (fhandler_process::exists): Fix comment. Return 1 in case of "fd" directory. Handle files below "fd". (fhandler_process::fstat): Drop "self" handling. Set correct link count for directories. (fhandler_process::opendir): New method to handle "fd" directory. (fhandler_process::readdir): Add "fd" handling. (fhandler_process::open): Drop "self" handling. (fhandler_process::fill_filebuf): Ditto. Add "fd" handling. Fix "maps" output string. * fhandler_registry.cc (fhandler_registry::fstat): Set correct link count for directories. * fhandler_socket.cc (fhandler_socket::get_proc_fd_name): New method. * path.cc (symlink_info::set): Fix thinko. * pinfo.cc (_pinfo::commune_recv): Rename pathbuf to path throughout. Drop local path variable in PICOM_FIFO case. Fix debug output. Close handles as early as possible. Add PICOM_FDS and PICOM_FD handling. (_pinfo::commune_send): Add PICOM_FDS and PICOM_FD handling. (_pinfo::fd): New method. (_pinfo::fds): New method. * pinfo.h (enum picom): Add PICOM_FDS and PICOM_FD. (_pinfo::fd): Declare. (_pinfo::fds): Declare. * pipe.cc (fhandler_pipe::get_proc_fd_name): New method.
Corinna Vinschen
2005-01-31 10:28:55 +0000
d0ae095b8c* ntsec.sgml: Add Pierre's Windows 2003 text.
Joshua Daniel Franklin
2005-01-29 22:35:17 +0000
e86f8b7925* smallprint.c (rn): Change uval to unsigned long long to fix 64 bit handling. * fhandler_process.cc (format_process_maps): Print major, minor and inode numbers correctly.
Corinna Vinschen
2005-01-29 13:34:34 +0000
faf07ace92* autoload.cc (GetModuleFileNameExA): Add. (GetModuleInformation): Add. (QueryWorkingSet): Add. * fhandler.h (fhandler_virtual::get_filebuf): New method. * fhandler_proc.cc (PROC_SELF): Define. (proc_fhandlers): Change type of self to FH_PROC. (fhandler_proc::exists): Return -3 if self. (fhandler_proc::fstat): Handle self as symlink. (fhandler_proc::fill_filebuf): Handle self. * fhandler_process.cc: Include psapi.h. (PROCESS_EXENAME): Remove. (PROCESS_MAPS): Define. (PROCESS_ROOT): Define. (PROCESS_EXE): Define. (PROCESS_CWD): Define. (process_listing): Remove "exename", add "maps, "root", "exe" and "cwd" elements. (fhandler_process::exists): Return -2 for symlinks. (fhandler_process::fstat): Handle symlinks. (fill_filebuf): Evaluate pid if pid is 0. Use exename handling for exe. Handle maps, root and cwd. (format_process_maps): New function evaluating "maps". * path.cc (symlink_info::set): New method to fill symlink_info with data matching virtual symlinks. (path_conv::check): Handle virtual symlinks. * pinfo.cc (_pinfo::commune_recv): Add PICOM_CWD and PICOM_ROOT handling. (_pinfo::commune_send): Ditto. (_pinfo::root): New function. (_pinfo::cwd): New function. * pinfo.h (enum picom): Add PICOM_CWD and PICOM_ROOT. (_pinfo::root): Declare. (_pinfo::cwd): Declare.
Corinna Vinschen
2005-01-29 11:23:07 +0000
2eeb0e70a3* cygthread.cc (new): Add a little more debugging. * thread.cc (pthread_null::exit): Add a _my_tls.remove() for safety.
Christopher Faylor
2005-01-29 05:39:07 +0000
139acfca40* configure.in (noconfigdirs) <crisv32-*-*>: Match like cris-*-*. <crisv32-*-*, cris-*-*>: Only disable target-newlib and target-libgloss when not *-*-elf and *-*-aout. * configure: Regenerate.
Hans-Peter Nilsson
2005-01-29 04:24:23 +0000
02e221b774* cygtls.cc (cygtls::call2): Move socket cleanup. (cygtls::remove): Move socket cleanup here. Don't use _my_tls to reference it.
Christopher Faylor
2005-01-29 03:09:50 +0000
0eefa5256b* how-using.texinfo: Change text about using shortcuts.
Corinna Vinschen
2005-01-28 09:10:22 +0000
02da559a0b.
Christopher Faylor
2005-01-28 05:53:22 +0000
48d5b28742* callback.h (struct host_callback_struct): New members pipe, pipe_empty, pipe_nonempty, ispipe, pipe_buffer and target_sizeof_int. (CB_SYS_pipe): New macro.
Hans-Peter Nilsson
2005-01-28 03:39:28 +0000
9e34a4010f* callback.h: Include "bfd.h". (struct host_callback_struct): New member target_endian. (cb_store_target_endian): Declare.
Hans-Peter Nilsson
2005-01-28 03:27:02 +0000
1815fdeab42005-01-27 Hans-Peter Nilsson <hp@axis.com>
Jeff Johnston
2005-01-27 23:54:46 +0000
3a267038032005-01-27 Hans-Peter Nilsson <hp@axis.com>
Jeff Johnston
2005-01-27 22:57:32 +0000
8cc85fff152005-01-27 Oliver Stoeneberg <oliverst@online.de>
Danny Smith
2005-01-27 21:04:18 +0000
f7d4d41acd2005-01-27 Hans-Peter Nilsson <hp@axis.com>
Jeff Johnston
2005-01-27 20:52:42 +0000
e9743354feUpdate previous ChangeLog entry with missing info.
Jeff Johnston
2005-01-27 20:29:49 +0000
1319dec6022005-01-27 Hans-Peter Nilsson <hp@axis.com>
Jeff Johnston
2005-01-27 20:25:54 +0000
b45e65b0da2005-01-27 Hans-Peter Nilsson <hp@axis.com>
Jeff Johnston
2005-01-27 19:13:54 +0000
098da1dd5c2005-01-27 Andrew Cagney <cagney@gnu.org>
Andrew Cagney
2005-01-27 14:47:56 +0000
93b96855f42005-01-26 Oliver Stoeneberg <oliverst@online.de>
Danny Smith
2005-01-27 00:34:42 +0000
325eadaa57* pinfo.cc (pinfo::init): Avoid a compiler warning.
Christopher Faylor
2005-01-26 18:21:22 +0000
0f72b90637* syscalls.cc (setpriority): Implement PRIO_PGRP, PRIO_USER and setting priority in other Cygwin processes. (getpriority): Implement PRIO_PGRP, PRIO_USER and getting nice value from other processes.
Corinna Vinschen
2005-01-26 13:07:48 +0000
b7a51e1b2a* include/winuser.h (SW_SMOOTHSCROLL): Add define.
Danny Smith
2005-01-26 06:25:59 +0000
9df58602b62005-01-26 Pierre Humblet <pierre.humblet@ieee.org>
Pierre Humblet
2005-01-26 04:34:19 +0000
0e32d1ffcd* pinfo.h (pinfo::init): Make third parameter non-optional and propagate change throughout. * pinfo.cc (set_myself): Pass INVALID_HANDLE_POINTER if h is NULL. (pinfo::init): Make third parameter non-optional. Eliminate use of PID_EXECED as an argument. Put setting of handle back inside loop but reorganize to try to open it only when necessary.
Christopher Faylor
2005-01-26 00:15:11 +0000
72c1491bba* cygwin.din: Export getpriority and setpriority. * fork.cc (fork_parent): Copy parent's nice value into child. * spawn.cc (spawn_guts): Ditto. * miscfuncs.cc (winprio_to_nice): New function. (nice_to_winprio): Ditto. * pinfo.cc (pinfo_init): If parent is not a Cygwin process, set default nice value according to current Win32 priority class. * pinfo.h (class _pinfo): Add nice member. * syscalls.cc (setpriority): New function, only implementing PRIO_PROCESS for now. (getpriority): Ditto. (nice): Just call setpriority. * wincap.h (wincaps::has_extended_priority_class): New element. * wincap.cc: Implement above element throughout. * winsup.h: Add prototypes for winprio_to_nice and nice_to_winprio. * include/limits.h (NZERO): New define. * include/cygwin/types.h (id_t): New datatype. * include/cygwin/version.h: Bump API minor version. * include/sys/resource.h: Add PRIO_XXX defines and prototypes for getpriority and setpriority.
Corinna Vinschen
2005-01-25 22:45:11 +0000
17923424c4* path.cc (realpath): Allow to expand with .exe suffix.
Corinna Vinschen
2005-01-25 20:28:40 +0000
f5426af88d2005-01-24 Andrew Cagney <cagney@gnu.org>
Andrew Cagney
2005-01-24 20:00:49 +0000
dbfa92dd942005-01-24 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston
2005-01-24 18:46:09 +0000
d96324a5a8* warnings.m4 (ACX_PROG_CC_WARNING_ALMOST_PEDANTIC): Don't do anything for non-GCC compilers.
Joseph Myers
2005-01-23 21:05:46 +0000
12ff82d08e* install.texinfo: Add live CD, registry information.
Joshua Daniel Franklin
2005-01-22 23:39:37 +0000
c75e4f09ec* spawn.cc (spawn_guts): Perform same "cd" as in pinfo::exit below to make sure that a stub process does not keep the current working directory busy after the "execed" process has exited.
Christopher Faylor
2005-01-22 21:47:04 +0000
9a0b76dced* pinfo.cc (pinfo::init): Move everything but the MapViewOfFileEx out of the loop since trying multiple times to call CreateFileMapping doesn't make much sense. Try to structure the loop a little better so that exiting with a break does the right thing. (pinfo::release): Release shared memory area if it exists and close handle if it exists.
Christopher Faylor
2005-01-22 21:17:53 +0000
672879cab6* how-programming.texinfo: Add details about building a debugging version of the DLL. * how-using.texinfo: Correct rxvt README location. * install.texinfo: Add mount -m note to uninstall instructions.
Joshua Daniel Franklin
2005-01-22 19:12:33 +0000
4c133af135* pinfo.cc (pinfo::maybe_set_exit_code_from_windows): Make sure that process has exited before getting an error code. (pinfo::exit): "cd" to innocuous location before exiting to make sure that process does not keep the current working directory busy while it is in the process of really exiting.
Christopher Faylor
2005-01-22 18:07:10 +0000
f2d6aeea17* how-programming.texinfo: Remove obsolete w32api instructions and add some words about unpacking net release .tar.bz2.
Christopher Faylor
2005-01-22 03:53:38 +0000
b87d70463e2005-01-21 Hans-Peter Nilsson <hp@axis.com>
Jeff Johnston
2005-01-21 21:55:07 +0000
2804a58c4c2005-01-21 Fred Fish <fnf@specifixinc.com> * mips.h: Change INSN_ALIAS to INSN2_ALIAS. Change INSN_WRITE_MDMX_ACC to INSN2_WRITE_MDMX_ACC. Change INSN_READ_MDMX_ACC to INSN2_READ_MDMX_ACC.
Fred Fish
2005-01-21 19:42:08 +0000
ea27b6f2192005-01-21 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
Chris Sutcliffe
2005-01-21 13:39:35 +0000
6cb0c055142005-01-20 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston
2005-01-20 19:56:27 +0000
524298079c2005-01-19 Shaun Jackman <sjackman@gmail.com>
Jeff Johnston
2005-01-20 17:31:04 +0000
1a0b5b8e6c2005-01-19 Fred Fish <fnf@specifixinc.com> * mips.h (struct mips_opcode): Add new pinfo2 member. (INSN_ALIAS): New define for opcode table entries that are specific instances of another entry, such as 'move' for an 'or' with a zero operand. (INSN_READ_MDMX_ACC): Redefine from 0 to 0x2. (INSN_WRITE_MDMX_ACC): Redefine from 0 to 0x4.
Fred Fish
2005-01-19 23:29:12 +0000
f693170ab32005-01-19 Shaun Jackman <sjackman@gmail.com>
Jeff Johnston
2005-01-19 16:44:42 +0000
8b58b9668f2005-01-17 Kelley Cook <kcook@gcc.gnu.org>
R. Kelley Cook
2005-01-19 00:34:56 +0000
ec724188792005-01-13 Kelley Cook <kcook@gcc.gnu.org>
R. Kelley Cook
2005-01-19 00:33:04 +0000
3f38ba78c82005-01-18 Hans-Peter Nilsson <hp@axis.com>
Jeff Johnston
2005-01-18 19:27:44 +0000
c377f1e3fe2005-01-18 Hans-Peter Nilsson <hp@axis.com>
Jeff Johnston
2005-01-18 19:23:36 +0000
7a01d046d42005-01-18 Hans-Peter Nilsson <hp@axis.com>
Jeff Johnston
2005-01-18 19:00:26 +0000
464d01bf6e* libc/machine/powerpc/vfprintf.c: Use _REENT when calling _VFPRINTF_R.
Aldy Hernandez
2005-01-18 17:08:55 +0000
c20ec37fbd* autoload.cc (CoInitialize): Remove. (CoUninitialize): Remove. (CoCreateInstance): Remove. (CoTaskMemFree): Add. (SHGetDesktopFolder): Add. * path.cc (shortcut_header): Remove. (shortcut_initalized): Remove. (GUID_shortcut): New static GUID. (struct win_shortcut_hdr): New struct describing Windows shortcut header structure. (symlink_worker): Rewrite creating Windows shortcuts. Create ITEMIDLIST if target exists. Only write once. (cmp_shortcut_header): Use win_shortcut_hdr structure for comparison. (check_shortcut): Rewrite to read only once from file. Allow skipping an ITIMIDLIST in the file.
Corinna Vinschen
2005-01-18 13:00:18 +0000
4d6b4804e9* lib/user32.def (MonitorFromPoint}: Correct suffix.
Danny Smith
2005-01-18 07:14:54 +0000
a1cfb63026Fix SH2A machine variants in order to correctly select instruction inheritance
Nick Clifton
2005-01-17 14:08:16 +0000
4c9f0d3547* include/sys/stat.h (struct __stat64): Change st_size type to __int64. * include/wchar.h (struct __stat64): Change st_size type to __int64.
Danny Smith
2005-01-17 05:03:17 +0000
37d5841f83* pinfo.h (maybe_set_exit_code_from_windows): Renamed from set_exit_state. * pinfo.cc (pinfo::exit): Use renamed function. (proc_waiter): Ditto. Make a copy of input argument to avoid problems when procs array is shuffled. Flag when copy is made so that remove_proc knows when it is safe to reshuffle. * sigproc.cc (proc_terminate): Don't flag process_state as PID_EXITED. (remove_proc): Wait for waiter to finish copying pinfo element before moving it (an actual wait should be an extremely rare event).
Christopher Faylor
2005-01-17 04:12:08 +0000
459a956197* ps.cc (main): Eliminate use of PID_ZOMBIE. * strace.cc (main): Recognize new option for displaying hex value of strace type. (handle_output_debug_string): Prepend output with hex value of strace message if -H is specified.
Christopher Faylor
2005-01-16 17:13:51 +0000
85b3fb9640* init.cc (dll_entry): Remove unused extern. * include/sys/cygwin.h: Remove PID_ZOMBIE. * pinfo.h: Rename EXITCODE_* defines. (pinfo::set_exit_state): Remove parameter. * pinfo.cc (set_exit_state): Remove parameter. Reverse sense of test so that exitcode is checked for having been set rather than not having been set. Set flag when exitcode has been established. Don't set PID_STATE here. (pinfo::init): Remove exitcode initialization. (pinfo::exit): Reflect change in EXITCODE_* naming. Set flag when exitcode has been established. Reflect change in arguments to set_process_state. (proc_waiter): Reflect change in arguments to set_process_state. Set process_state here and only here. * fhandler_process.cc (fhandler_process::fill_filebuf): Reflect removal of PID_ZOMBIE define. (format_process_stat): Ditto. (format_process_status): Ditto. * sigproc.cc (pid_exists): Ditto. (stopped_or_terminated): Ditto. Make sure that only low-order 16 bits of exitcode are used. * spawn.cc (spawn_guts): Reflect change in EXITCODE_* naming.
Christopher Faylor
2005-01-16 17:00:27 +0000
fdd857a1f6* sigproc.cc (sig_send): Don't complain if attempt to send signal to myself fails after I've "execed".
Christopher Faylor
2005-01-15 23:43:42 +0000
bbb86f974e2005-01-14 Hans-Peter Nilsson <hp@axis.com>
Jeff Johnston
2005-01-15 00:17:51 +0000
aafdf30f7a* fhandler_disk_file.cc (fhandler_disk_file::facl): Pretend successful SETACL if no acls are available. * fhandler.cc (fhandler_base::facl): Implement to return sensible values on GETACL and GETACLCNT. Pretend successful SETACL. * fhandler_virtual.cc (fhandler_virtual::facl): Ditto.
Corinna Vinschen
2005-01-14 22:03:40 +0000
36ca239fd4* fhandler.h (fhandler_disk_file::touch_ctime): Declare. * fhandler_disk_file.cc (fhandler_disk_file::touch_ctime): New method to set file's ctime. (fhandler_disk_file::fchmod): Try opening file for writing first. Set file's ctime on success. (fhandler_disk_file::fchown): Ditto. (fhandler_disk_file::facl): Ditto.
Corinna Vinschen
2005-01-13 22:56:20 +0000
0dabe0e0c2* pinfo.cc (pinfo::exit): Don't access self after releasing it. * path.h (path_conv::path_conv): Fill path with native device name in case of device argument.
Corinna Vinschen
2005-01-13 22:18:57 +0000
9b8e782e11* fhandler_serial.cc (fhandler_serial::dup): Call overlapped_setup for child, not for parent.
Corinna Vinschen
2005-01-13 20:10:04 +0000
bfe069a3b0* include/_mingw.h: Increment version to 3.7. * Makefile.in: Ditto.
Earnie Boyd
2005-01-13 19:51:02 +0000
a09a6e6838* init.cc (dll_entry): Nuke attempt to set exit code since parent will use windows exit code if needed. * pinfo.cc (pinfo::exit): Move release() here to minimize pid creation race (suggested by Pierre Humblet).
Christopher Faylor
2005-01-13 16:38:35 +0000
6c033225662005-01-13 Benoit Blanchon <bblanchon@users.sourceforge.net>
Danny Smith
2005-01-13 09:14:42 +0000
169c465a83Reorganize header file inclusion throughout so that cygerrno.h comes first. * fhandler.h (select_record::thread_errno): Save any encountered errno here. (select_record::set_select_errno): New function. (select_record::saw_error): New function. (select_record::select_record): Initialize thread_errno to zero. * select.cc (set_handle_or_return_if_not_open): Set thread_errno on failure. (select_stuff::wait): Record errno for later resurrection in calling thread. (peek_serial): Ditto.
Christopher Faylor
2005-01-12 22:40:46 +0000
066e8c8424Add missing changelog entry.
Christopher Faylor
2005-01-12 20:06:17 +0000
48befd8305* pinfo.cc (pinfo::exit): Don't assume that this == myself.
Christopher Faylor
2005-01-12 18:05:07 +0000