aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2004-12-24 * .sgml: Cleanup markup for XML validity.Joshua Daniel Franklin18-108/+109
2004-12-24* child_info.h (CURR_CHILD_INFO_MAGIC): Update.Christopher Faylor8-66/+121
(child_info::parent_wr_proc_pipe): Eliminate. * pinfo.h (_pinfo::alert_parent): Move here from pinfo class. (_pinfo::dup_proc_pipe): New method. (_pinfo::sync_proc_pipe): Ditto. * exceptions.cc (sig_handle_tty_stop): Reflect move of alert_parent. * init.cc (dll_entry): Exit with status one if main process called ExitProcess. * pinfo.cc (set_myself): Remove handling of parent_wr_proc_pipe. (_pinfo::exit): Reflect move of alert_parent. Set procinfo to NULL to flag that we are exiting normally. Always use exitcode when exiting (although this could be a little racy). (pinfo::init): Set default exit to SIGTERM. This will be the exit code reported if process is terminated. (_pinfo::dup_proc_pipe): New function. (pinfo::wait): Duplicate wr_proc_pipe to the right place. Use dup_proc_pipe to move the pipe to the child. (_pinfo::sync_proc_pipe): New function. (_pinfo::alert_parent): Move to _pinfo. Make sure that wr_proc_pipe is ours before using it. * sigproc.cc (child_info::child_info): Remove handling of parent_wr_proc_pipe. * spawn.cc (spawn_guts): Pass our wr_proc_pipe to the child when execing. Ensure that exit code of cygwin process started from windows is correctly set.
2004-12-242004-12-24 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>Danny Smith5-0/+99
* include/shldisp.h: New file. * include/shlobj.h (IObjMgr): Added interface definiton. * lib/shell32.c (CLSID_AutoComplete, IID_AutoComplete, IID_AutoComplete2, CLSID_ACLMulti, IID_IObjMgr, CLSID_ACListISF, IID_IACList): Added GUIDs. * include/shlguid.h (CLSID_AutoComplete, IID_AutoComplete, IID_AutoComplete2, CLSID_ACLMulti, IID_IObjMgr, CLSID_ACListISF, IID_IACList): Added GUIDs.
2004-12-23* path.h (path_conv::set_normalized_path): Add second argument and fill it inChristopher Faylor5-22/+34
throughout. * path.cc (path_conv::check): Declare, set and use "strip_tail". (path_conv::set_normalized_path): Add and use second argument, replacing all tail stripping tests.
2004-12-23* cygthread.cc (cygthread::cygthread): Guard debugging variable with "ifdefChristopher Faylor2-0/+10
DEBUGGING". (cygthread::release): Ditto.
2004-12-23* path.cc (path_conv::check): Don't strip the trailing slash from a pathChristopher Faylor2-1/+7
consisting only of two slashes.
2004-12-23* cygthread.cc (cygthread::stub): Detect if thread function wants to releaseChristopher Faylor9-34/+70
itself here, to avoid a race. (cygthread::release): Clear more stuff. Add a diagnostic for an internal error. * cygthread.h (auto_release): New function. * pinfo.h (pinfo::remember): Add an argument to denote whether child is detached. * fork.cc (fork_parent): Reflect change in arguments to pinfo::remember. * pinfo.cc (_pinfo::exit): Signal exit more forcibly. (proc_waiter): Use cygthread::auto_release to signify that cygthread::stub should release the thread. This should avoid a race. (pinfo::alert_parent): Don't signify an error when wr_proc_pipe == NULL. * sigproc.cc (proc_subproc): Add support for PROC_DETACHED_CHILD. * sigproc.h: Ditto. * spawn.cc (spawn_guts): Specify whether child is detached or not when calling pinfo::remember.
2004-12-23 * include/commctrl.h (CDRF_NOTIFYSUBITEMDRAW): Add define.Danny Smith2-8/+14
Thanks to: Chris Sutcliffe <ironhead@walled.net> (CDRF_*): Use hex notation for constants.
2004-12-22* cygheap.cc (cygheap_setup_for_child): Add api_fatal to catch failingChristopher Faylor5-13/+52
MapViewOfFileEx. * cygthread.cc (cygthread::stub): Previous change to make diagnostic output more informative was really a bust. Try again. Capture previous name in a new field in cygthread for diagnostic purposes. (cygthread::cygthread): Ditto. (cygthread::release): Add an argument to control whether h should be cleared or not. (cygthread::terminate_thread): Use 'inuse' for tests rather than 'h'. (cygthread): Add some diagnostic fields. (cygthread::release): Add an argument. * pinfo.cc (proc_waiter): Accommodate change to cygthread::release.
2004-12-22* cygthread.cc (cygthread::stub): Make diagnostic output more informative.Christopher Faylor2-2/+7
2004-12-22* pinfo.cc (proc_waiter): Zero wait_thread in child to avoid races with processChristopher Faylor3-1/+24
termination. * cygthread.cc (cygthread::terminate): Clumsily detect when h has gone away and attempt no further action.
2004-12-22* cygthread.h (cygthread::release): Just declare here.Christopher Faylor3-7/+18
* cygthread.cc (cygthread::release): Define here. Use InterlockedExchange to set inuse or suffer potential races. (cygthread::terminate): Use release().
2004-12-22Add support for the new R_AVR_LDI, R_AVR_6 and R_AVR_6_ADIW relocs for theNick Clifton2-13/+21
LDI, ADIW/SBIW and LDD/STD instructions.
2004-12-22 * fhandler_process.cpp (format_process_status): Use tabs in formattingCorinna Vinschen2-17/+22
instead of spaces.
2004-12-22 * path.cc (set_normalized_path): Allow empty pathnames.Corinna Vinschen2-1/+5
2004-12-21* spawn.cc (spawn_guts): Force parent to forget about P_DETACH'ed process.Christopher Faylor2-0/+7
2004-12-20* path.cc (normalize_win32_path): Remove unneeded check for dots.Christopher Faylor2-8/+7
2004-12-20* path.cc (normalize_posix_path): Remove unneeded check for dots.Christopher Faylor2-13/+20
(path_conv::set_normalized_path): Strip trailing dots, similarly to what had previously been done for the win32 path.
2004-12-20 * include/wchar.h (wcsdup): Correct prototype.Danny Smith3-2/+8
* include/string.h (wcsdup): Correct prototype.
2004-12-19* path.cc (normalize_win32_path): Make third arg pass-by reference. ReorganizeChristopher Faylor2-60/+61
slightly to eliminate extra variables. (normalize_posix_path): Ditto. (path_conv::check): Reflect change in arguments. (mount_info::conv_to_posix_path): Ditto. (mount_info::add_item): Ditto.
2004-12-19* child_info.h (CURR_CHILD_INFO_MAGIC): Use updated value.Christopher Faylor3-17/+42
* path.cc (path_conv::check): Check the output Win32 path for trailing spaces and dots, not the input path. Disallow all use of foo./bar since consistently getting this right is time consuming. Remove strange test for "unc\" since no one seems to know what it's for.
2004-12-18revert erroneous checkinChristopher Faylor4-116/+98
2004-12-18* fhandler_proc.cc (proc_listing): Add entry for "self".Christopher Faylor6-106/+139
(proc_fhandlers): Add entry for "self". * fhandler_process.cc (fhandler_process::fstate): Handle "self". (fhandler_process::open): Handle "self".
2004-12-172004-12-17 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston143-299/+368
* NEWS: Update with 1.13.0 info. * README: Ditto. * acinclude.m4: Change version number to 1.13.0. * aclocal.m4: Regenerated. * configure: Ditto. * doc/aclocal.m4: Ditto. * doc/configure: Ditto. * iconvdata/aclocal.m4: Ditto. * iconvdata/configure: Ditto. * libc/*/aclocal.m4: Ditto. * libc/*/configure: Ditto. * libc/libc.texinfo: Ditto. * libm/*/aclocal.m4: Ditto. * libm/*/configure: Ditto. * libm/libm.texinfo: Ditto. * libc/sys/linux/shared.ld: Add VERS_1.13.
2004-12-172004-12-17 Christian Groessler <chris@groessler.org>Jeff Johnston8-15/+691
* libc/machine/z8k/memcmp.S: New file. * libc/machine/z8k/memcpy.S: Ditto. * libc/machine/z8k/memmove.S: Ditto. * libc/machine/z8k/memset.S: Ditto. * libc/machine/z8k/Makefile.am: Add new files. * libc/machine/z8k/Makefile.in: Regenerated. * libc/machine/z8k/setjmp.S: Fix indirect register usage in Z8002 part. Implement Z8002 stdcall version.
2004-12-17* sigproc.cc (proc_subproc): Fix long-standing problem. Only wait for "allChristopher Faylor2-12/+16
processes" if pid == -1 -- not just if pid is negative. (proc_can_be_signalled): Fix another long-standing problem. Set correct errno when detecting an exited process.
2004-12-162004-12-16 Andrew Stubbs <andrew.stubbs@st.com>Joern Rennecke3-77/+95
* configure.in (sh64-*-*): Reenable gprof. * configure: Regenerate.
2004-12-16include/elf/Richard Sandiford2-0/+5
* v850.h (R_V850_LO16_SPLIT_OFFSET): New reloc. bfd/ * reloc.c (BFD_RELOC_V850_LO16_SPLIT_OFFSET): New bfd_reloc_code_type. * elf32-v850.c (v850_elf_howto_table): Add entry for R_V850_LO16_SPLIT_OFFSET. (v850_elf_reloc_map): Map it to BFD_RELOC_V850_LO16_SPLIT_OFFSET. (v850_elf_perform_lo16_relocation): New function, extracted from... (v850_elf_perform_relocation): ...here. Use it to handle R_V850_LO16_SPLIT_OFFSET. (v850_elf_check_relocs, v850_elf_final_link_relocate): Handle R_V850_LO16_SPLIT_OFFSET. * libbfd.h, bfd-in2.h: Regenerate. gas/ * config/tc-v850.c (handle_lo16): New function. (v850_reloc_prefix): Use it to check lo(). (md_assemble, md_apply_fix3): Handle BFD_RELOC_V850_LO16_SPLIT_OFFSET. gas/testsuite/ * gas/v850/split-lo16.{s,d}: New test. * gas/v850/v850.exp: Run it. ld/testsuite/ * ld-v850: New directory.
2004-12-16 * fhandler_console.cc (get_win32_attr): Avoid inappropriate intensityCorinna Vinschen2-2/+8
interchanging that used to render reverse output unreadable when non-reversed text is bright.
2004-12-15 * cygwin.din: Add utmpx symbols.Corinna Vinschen7-24/+184
* syscalls.cc: Include utmpx.h. Implement utmpx functions as stubs to utmp functions. (copy_ut_to_utx): New static function. (pututline): Change from void to struct utmp * as on Linux. (setutxent): New function. (endutxent): New function. (getutxent): New function. (getutxid): New function. (getutxline): New function. (pututxline): New function. * include/utmpx.h: New file. * include/cygwin/utmp.h: New file. * include/cygwin/version.h: Bump API minor number. * include/sys/utmp.h: Include cygwin/utmp.h. Move stuff common with utmpx functionality there. (pututline): Declare struct utmp *.
2004-12-15 * callback.h (CB_SYS_truncate, CB_SYS_ftruncate): New macros.Hans-Peter Nilsson2-0/+6
2004-12-14 * tty.cc (tty_list::terminate): Guard releasing the tty with tty_mutex.Corinna Vinschen2-0/+11
(tty::init): Set master_pid to 0.
2004-12-14 * fhandler_console.cc (read): Consider offset within scrollingCorinna Vinschen2-2/+22
region of the console window.
2004-12-132004-12-13 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2-9/+19
* libc/stdio/fread.c (fread): For unbuffered I/O, attempt a low-level read if we don't get the full amount of bytes so EOF or error flags will be set.
2004-12-13 * cygheap.h (cwdstuff::get_drive): Release cwd_lock.Corinna Vinschen2-0/+5
2004-12-13Correct attribution last changesHans-Peter Nilsson1-1/+1
2004-12-13 * callback.h (CB_SYS_rename): New macro.Hans-Peter Nilsson2-1/+3
2004-12-13 * callback.h (struct host_callback_struct): New member lstat.Hans-Peter Nilsson2-0/+9
(CB_SYS_lstat): New macro.
2004-12-12* fhandler.cc (fhandler_base::puts_readahead): Fix end-condition.Bas van Gompel2-1/+5
2004-12-10merge from gccDJ Delorie2-1/+6
2004-12-10 * errno.cc (errmap): Map ERROR_INVALID_ADDRESS to EINVAL instead ofCorinna Vinschen2-1/+6
EOVERFLOW.
2004-12-10* include/sys/strace.h: Don't output paranoid_printf by default.Christopher Faylor2-1/+5
2004-12-09* MAINTAINERS: List 'depcomp' as part of automake.Jim Blandy2-0/+7
2004-12-092004-12-09 Alex Mogilnikov <alx@intellectronika.ru>Jeff Johnston2-1/+6
* libc/time/tzset_r (_tzset_r): Properly skip over '/' when it is detected.
2004-12-09* lib/libcmain.c (main): Properly deal with quoted first argument.Christopher Faylor2-10/+23
2004-12-09 * mips.h (CPU_RM9000): Define.Ian Lance Taylor2-0/+7
(OPCODE_IS_MEMBER): Handle CPU_RM9000.
2004-12-09 * mips.h (E_MIPS_MACH_9000): Define.Ian Lance Taylor2-0/+5
2004-12-09 * include/sqlext.h (SQL_INTERVAL_*): Correct macros.Danny Smith2-8/+13
Reported by Eric Sharkey <sharkey at netrics dot com>
2004-12-08 * Makefile.def (flags_to_pass): Add PICFLAG_FOR_TARGET.David Edelsohn4-0/+13
* Makefile.tpl (EXTRA_HOST_FLAGS): Add PICFLAG. (EXTRA_TARGET_FLAGS): Add PICFLAG. * Makefile.in: Regenerate.
2004-12-08* Makefile.tpl: Generate normal dependencies if the LHS module isDJ Delorie3-10/+10
not bootstrapped. * Makefile.in: Regenerate.