summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Update Makefile to use xmltoJoshua Daniel Franklin2004-12-276-169/+33
|
* * pinfo.cc (_pinfo::exit): Beef up debugging output.Christopher Faylor2004-12-273-5/+11
| | | | * sigproc.cc (proc_subproc): Detached children apparently need a ppid of 1.
* * init.cc (dll_entry): Previous code reversion was ill-advised. Revert it.Christopher Faylor2004-12-274-1/+18
| | | | | | * sigproc.cc (child_info::sync): Ditto. * pinfo.cc (_pinfo::exit): Don't set myself.procinfo to NULL since it is no longer required.
* * init.cc (dll_entry): Remove exit code setting.Christopher Faylor2004-12-275-11/+19
| | | | | | | | | * pinfo.cc (pinfo::init): Initialize exitcode to unset state rather than SIGTERM. (proc_waiter): Detect if exit code is unset and use status from GetExitCodeProcess. * sigproc.cc (child_info::sync): Remove exit code detection here since proc_waiter now (again) detects it.
* * fhandler.cc (fhandler_base::fchmod): Do the right thing when changing an "onChristopher Faylor2004-12-265-3/+24
| | | | | | | | | disk" device or fifo. (fhandler_base::fchown): Ditto for changing ownership. * fhandler_disk_file.cc (fhandler_base::fstat_helper): Accommodate device files on ntfs partitions. * path.cc (path_conv::check): Use isfs function to figure out if a path exists on a filesystem to make sure that device files are caught.
* * mingwex/complex/(cabsf.c cacosf.c cacoshf.c cargf.c casinf.cDanny Smith2004-12-2524-7/+663
| | | | | | | | | | | | casinhf.c catanf.c catanhf.c ccosf.c ccoshf.c cexpf.c cimagf.c clogf.c cpowf.c cprojf.c crealf.c csinf.c csinhf.c csqrtf.c ctanf.c ctanhf.c): New files. * mingwex/Makefile.in (COMPLEX_DISTFILES): Adjust. (COMPLEX_OBJS(: Adjust. * include/complex.h (cabsf, cacosf, cacoshf, cargf, casinf. casinhf, catanf, catanhf, ccosf, ccoshf, cexpf, cimagf, clogf, cpowf, cprojf, crealf, csinf, csinhf, csqrtf, ctanf, ctanhf): Declare.
* * .sgml: Cleanup markup for XML validity.Joshua Daniel Franklin2004-12-2418-108/+109
|
* * child_info.h (CURR_CHILD_INFO_MAGIC): Update.Christopher Faylor2004-12-248-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-24 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>Danny Smith2004-12-245-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.
* * path.h (path_conv::set_normalized_path): Add second argument and fill it inChristopher Faylor2004-12-235-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.
* * cygthread.cc (cygthread::cygthread): Guard debugging variable with "ifdefChristopher Faylor2004-12-232-0/+10
| | | | | DEBUGGING". (cygthread::release): Ditto.
* * path.cc (path_conv::check): Don't strip the trailing slash from a pathChristopher Faylor2004-12-232-1/+7
| | | | consisting only of two slashes.
* * cygthread.cc (cygthread::stub): Detect if thread function wants to releaseChristopher Faylor2004-12-239-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.
* * include/commctrl.h (CDRF_NOTIFYSUBITEMDRAW): Add define.Danny Smith2004-12-232-8/+14
| | | | | Thanks to: Chris Sutcliffe <ironhead@walled.net> (CDRF_*): Use hex notation for constants.
* * cygheap.cc (cygheap_setup_for_child): Add api_fatal to catch failingChristopher Faylor2004-12-225-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.
* * cygthread.cc (cygthread::stub): Make diagnostic output more informative.Christopher Faylor2004-12-222-2/+7
|
* * pinfo.cc (proc_waiter): Zero wait_thread in child to avoid races with processChristopher Faylor2004-12-223-1/+24
| | | | | | termination. * cygthread.cc (cygthread::terminate): Clumsily detect when h has gone away and attempt no further action.
* * cygthread.h (cygthread::release): Just declare here.Christopher Faylor2004-12-223-7/+18
| | | | | | * cygthread.cc (cygthread::release): Define here. Use InterlockedExchange to set inuse or suffer potential races. (cygthread::terminate): Use release().
* Add support for the new R_AVR_LDI, R_AVR_6 and R_AVR_6_ADIW relocs for theNick Clifton2004-12-222-13/+21
| | | | LDI, ADIW/SBIW and LDD/STD instructions.
* * fhandler_process.cpp (format_process_status): Use tabs in formattingCorinna Vinschen2004-12-222-17/+22
| | | | instead of spaces.
* * path.cc (set_normalized_path): Allow empty pathnames.Corinna Vinschen2004-12-222-1/+5
|
* * spawn.cc (spawn_guts): Force parent to forget about P_DETACH'ed process.Christopher Faylor2004-12-212-0/+7
|
* * path.cc (normalize_win32_path): Remove unneeded check for dots.Christopher Faylor2004-12-202-8/+7
|
* * path.cc (normalize_posix_path): Remove unneeded check for dots.Christopher Faylor2004-12-202-13/+20
| | | | | (path_conv::set_normalized_path): Strip trailing dots, similarly to what had previously been done for the win32 path.
* * include/wchar.h (wcsdup): Correct prototype.Danny Smith2004-12-203-2/+8
| | | | * include/string.h (wcsdup): Correct prototype.
* * path.cc (normalize_win32_path): Make third arg pass-by reference. ReorganizeChristopher Faylor2004-12-192-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.
* * child_info.h (CURR_CHILD_INFO_MAGIC): Use updated value.Christopher Faylor2004-12-193-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.
* revert erroneous checkinChristopher Faylor2004-12-184-116/+98
|
* * fhandler_proc.cc (proc_listing): Add entry for "self".Christopher Faylor2004-12-186-106/+139
| | | | | | (proc_fhandlers): Add entry for "self". * fhandler_process.cc (fhandler_process::fstate): Handle "self". (fhandler_process::open): Handle "self".
* 2004-12-17 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2004-12-17143-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-17 Christian Groessler <chris@groessler.org>Jeff Johnston2004-12-178-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.
* * sigproc.cc (proc_subproc): Fix long-standing problem. Only wait for "allChristopher Faylor2004-12-172-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-16 Andrew Stubbs <andrew.stubbs@st.com>Joern Rennecke2004-12-163-77/+95
| | | | | * configure.in (sh64-*-*): Reenable gprof. * configure: Regenerate.
* include/elf/Richard Sandiford2004-12-162-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.
* * fhandler_console.cc (get_win32_attr): Avoid inappropriate intensityCorinna Vinschen2004-12-162-2/+8
| | | | | interchanging that used to render reverse output unreadable when non-reversed text is bright.
* * cygwin.din: Add utmpx symbols.Corinna Vinschen2004-12-157-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 *.
* * callback.h (CB_SYS_truncate, CB_SYS_ftruncate): New macros.Hans-Peter Nilsson2004-12-152-0/+6
|
* * tty.cc (tty_list::terminate): Guard releasing the tty with tty_mutex.Corinna Vinschen2004-12-142-0/+11
| | | | (tty::init): Set master_pid to 0.
* * fhandler_console.cc (read): Consider offset within scrollingCorinna Vinschen2004-12-142-2/+22
| | | | region of the console window.
* 2004-12-13 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2004-12-132-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.
* * cygheap.h (cwdstuff::get_drive): Release cwd_lock.Corinna Vinschen2004-12-132-0/+5
|
* Correct attribution last changesHans-Peter Nilsson2004-12-131-1/+1
|
* * callback.h (CB_SYS_rename): New macro.Hans-Peter Nilsson2004-12-132-1/+3
|
* * callback.h (struct host_callback_struct): New member lstat.Hans-Peter Nilsson2004-12-132-0/+9
| | | | (CB_SYS_lstat): New macro.
* * fhandler.cc (fhandler_base::puts_readahead): Fix end-condition.Bas van Gompel2004-12-122-1/+5
|
* merge from gccDJ Delorie2004-12-102-1/+6
|
* * errno.cc (errmap): Map ERROR_INVALID_ADDRESS to EINVAL instead ofCorinna Vinschen2004-12-102-1/+6
| | | | EOVERFLOW.
* * include/sys/strace.h: Don't output paranoid_printf by default.Christopher Faylor2004-12-102-1/+5
|
* * MAINTAINERS: List 'depcomp' as part of automake.Jim Blandy2004-12-092-0/+7
|
* 2004-12-09 Alex Mogilnikov <alx@intellectronika.ru>Jeff Johnston2004-12-092-1/+6
| | | | | * libc/time/tzset_r (_tzset_r): Properly skip over '/' when it is detected.