summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 2005-09-08 Brian Dessent <brian@dessent.net>Jeff Johnston2005-09-083-2/+9
| | | | | | * sf_lrint.c (lrintf): Mask 'i0' correctly when extracting mantissa. * s_lrint.c: Ditto.
* * exceptions.cc (ctrl_c_handler): Disable any special CTRL_LOGOFF_EVENTCorinna Vinschen2005-09-082-0/+19
| | | | handling and add longish comment about the reasons.
* * include/reason.h [_WIN32_WINNT >= 0x0501]Dimitri Papadopoulos2005-09-083-1/+53
| | | | | (SHTDN_REASON_*): New file. * include/objbase.h: Avoid double header guard.
* Remove extraneous line.Andreas Schwab2005-09-081-1/+0
|
* * regtool.cc: Extend copyright-years.Corinna Vinschen2005-09-082-7/+19
| | | | | | | | | | (print_version): Ditto. (cmd_list): Don't depend on terminating '\0' being present on string-values. (cmd_get): Don't attempt to read more than present, but keep extra space for terminating '\0'. Really output REG_BINARY. Don't leak memory. (cmd_set): Include trailing '\0' in string's length.
* * hookapi.cc (rvadelta): Change argument to DWORD to eliminate a compilerChristopher Faylor2005-09-084-13/+28
| | | | | | | | | | warning. * path.h (path_conv::set_cygexec): New function. * spawn.cc (av::iscygwin): Eliminate. (av::av): Don't initialize iscygwin. (spawn_guts): Just use real_path.iscygexec for all tests. (av::fixup): Short circuit test if .exe extension and known cygexec. Set cygexec flag appropriately if we find that program uses cygwin1.dll.
* add missing ChangeLog entry.Christopher Faylor2005-09-071-0/+1
|
* * dcrt0.cc (initial_env): Don't attempt stracing if dynamically loaded.Christopher Faylor2005-09-076-15/+64
| | | | | | | | | | | | | | | (dll_crt0_0): Move console initialization earlier. * init.cc (dll_entry): Move console initialization here. * exceptions.cc (init_console_handler): Fully remove any old console handler. * spawn.cc (spawn_guts): Don't fill out windows argv if we've deduced that this is a cygwin-using program. (av::fixup): Always check executables to see if they are using cygwin1.dll. Don't consider .com files to be scripts. * hookapi.cc (rvadelta): New function. (PEHeaderFromHModule): Simplify slightly. (hook_or_detect_cygwin): Use passed in name argument for "HMODULE" rather than incorrectly reading current program. Calculate delta needed to read image data and file names if this isn't a real "HMODULE".
* Import from Autoconf sources:Ben Elliston2005-09-072-27/+25
| | | | | | 2005-09-06 Paul Eggert <eggert@cs.ucla.edu> * move-if-change: Don't output "$2 is unchanged"; suggested by Ben Elliston. Handle weird characters correctly.
* * thread.h: Revert patch from 2005-09-05.Corinna Vinschen2005-09-063-8/+21
| | | | | * thread.cc (pthread_mutex::can_be_unlocked): Return true also if mutex is owned by MUTEX_OWNER_ANONYMOUS.
* * mips.h (OP_SH_MT_U, OP_MASK_MT_U, OP_SH_MT_H, OP_MASK_MT_H,Chao-ying Fu2005-09-062-4/+36
| | | | | | | | OP_SH_MTACC_T, OP_MASK_MTACC_T, OP_SH_MTACC_D, OP_MASK_MTACC_D): New define. Document !, $, *, &, g, +t, +T operand formats for MT instructions. (INSN_ASE_MASK): Update to include INSN_MT. (INSN_MT): New define for MT ASE.
* * cygheap.cc (cygheap_init): Eliminate debugging #if.Christopher Faylor2005-09-055-15/+26
| | | | | | | | | | * fork.cc (fork_parent): Don't issue errors if "somebody" has set the PID_EXITED flag on a child. Don't close process handle if it has potentially already been closed. * pinfo.cc (winpids::add): Eliminate PID_ALLPIDS handling which was obsoleted by previous changes. * spawn.cc (av::fixup): Do win16 detection for .com files. Make sure that buffer has been unmapped in all cases.
* * thread.h (pthread_mutex::get_pthread_self): Remove.Corinna Vinschen2005-09-052-10/+12
| | | | | | | (pthread_mutex::lock): Use ::pthread_self as self parameter. (pthread_mutex::trylock): Ditto. (pthread_mutex::unlock): Ditto. (pthread_mutex::destroy): Ditto.
* Grr. REVERT erroneous checkin. AGAIN.Christopher Faylor2005-09-029-34/+20
|
* * Makefile.in (CXXFLAGS): Use 'override' to correctly set flags to generateChristopher Faylor2005-09-0211-21/+40
| | | | dependencies when invoked from top-level make.
* 2005-09-02 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2005-09-022-0/+5
| | | | * libc/include/stdio.h: Add prototype for viprintf.
* revert inexplicable previous checkinChristopher Faylor2005-09-029-34/+20
|
* bad_addressesChristopher Faylor2005-09-029-20/+34
|
* 2005-08-30 Phil Edwards <phil@codesourcery.com>DJ Delorie2005-09-013-2/+7
| | | | | * configure.in (*-*-vxworks*): Add target-libstdc++-v3 to noconfigdirs. * configure: Regenerated.
* 2005-09-01 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2005-09-013-4/+12
| | | | | | * libm/mathfp/s_pow.c: (pow): Change code so 0 raised to any positive power results in 0. * libm/mathfp/sf_pow.c (powf): Ditto.
* 2005-08-31 Paul Brook <paul@codesourcery.com>Jeff Johnston2005-08-3111-22/+62
| | | | | | | | | | | | | | | | * configure.host: Set have_crt0 to no for Arm targts when not providing syscalls. Set sys_dir=arm unconditionally. Default have_crt0 based on sys_dir. * configure.in: Use have_crt0. * libc/configure.in: Ditto. * libc/sys/configure.in: Ditto. * configure: Regenerate. * libc/configure: Regenerate. * libc/sys/configure: Regenerate. * libc/sys/arm/Makefile.am (lib_a_SOURCES): Add aeabi_atexit.c. Only build other files when providing syscalls. * libc/sys/arm/Makefile.in: Regenerate. * libc/sys/arm/aeabi_atexit.c: New file.
* 2005-08-30 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2005-08-302-1/+5
| | | | * rs6000/Makefile.in (VPATH): Use colon as separator.
* Fix date stamp.Jeff Johnston2005-08-301-1/+1
|
* * exceptions.cc (set_process_mask_delta): Conditionalize debugging output.Christopher Faylor2005-08-293-1/+9
| | | | * sigproc.cc (proc_subproc): Make strace output a little more verbose.
* typoChristopher Faylor2005-08-281-1/+1
|
* * cygtls.h (__ljfault): Declare.Christopher Faylor2005-08-284-4/+82
| | | | | | | | (_cygtls::return_from_fault): Use __ljfault. * exceptions.cc (set_signal_mask): Revert previous checkin. * gendef (__sjfault): Split out into a separate function which doesn't bother with any special signal locking. routines. (_ljfault): Return from a __sjfault without bothering with signals.
* Add missing ChangeLog for previous checkin.Christopher Faylor2005-08-282-2/+11
| | | | Revert erroneous include/cygwin/version.h checkin.
* * cygwin.din: Correct readdir_r typo.Christopher Faylor2005-08-287-83/+99
|
* Fix typo.Christopher Faylor2005-08-281-1/+1
|
* Fix improper formatting.Christopher Faylor2005-08-281-2/+1
|
* *dir.cc (readdir_r): Invert sense on error-test.Christopher Faylor2005-08-282-1/+6
|
* 2005-08-26 Brian Dessent <brian@dessent.net>Joshua Daniel Franklin2005-08-272-3/+9
| | | | * faq-using.xml: Add 'net use' hint to network shares FAQ.
* 2005-08-26 Joshua Daniel Franklin <joshuadfranklin@yahoo.com>Joshua Daniel Franklin2005-08-276-111/+28
| | | | | | | | * Makefile.in: Remove extra anchor to make NN4 happy. * faq.xml: Link to cygwin.com/license.html * faq-resources.xml: Link instead of duplicating info. * faq-using.xml: Split out services and network shares FAQ. * faq-what.xml: Link to cygwin.com/license.html
* * path.cc (normalize_posix_path): Keep two leading slashesCorinna Vinschen2005-08-263-8/+36
| | | | | | | | intact throughout. (normalize_win32_path): Revert to only checking for slash. (realpath): Convert drive letters to cygdrive paths before doing anything else. * shared_info.h (mount_info::cygdrive_posix_path): Make public.
* * libc/include/string.h: Revert previous change.Christopher Faylor2005-08-262-4/+4
|
* * libc/include/string.h: For Cygwin, Define strerror_r as per ISO C.Christopher Faylor2005-08-252-0/+8
|
* * ms1/access.c: Change copyright notice.Aldy Hernandez2005-08-252-11/+14
|
* * path.cc (realpath): Drop call to mount_info::conv_to_posix_pathCorinna Vinschen2005-08-252-11/+37
| | | | | | in favor of calling path_conv with PC_POSIX flag. Align error handling closer to POSIX. As on Linux, return user space allocated memory if second parameter is NULL.
* * path.cc (normalize_win32_path): Honor network paths. Fold moreCorinna Vinschen2005-08-252-8/+25
| | | | | than two leading dir separators into one. Check for dir separator instead of just slashes to handle incoming Win32 paths correctly.
* * mips.h (OP_SH_DSPACC, OP_MASK_DSPACC, OP_SH_DSPACC_S,Chao-ying Fu2005-08-252-1/+50
| | | | | | | | | | OP_MASK_DSPACC_S, OP_SH_DSPSFT, OP_MASK_DSPSFT, OP_SH_DSPSFT_7, OP_MASK_DSPSFT_7, OP_SH_SA3, OP_MASK_SA3, OP_SH_SA4, OP_MASK_SA4, OP_SH_IMM8, OP_MASK_IMM8, OP_SH_IMM10, OP_MASK_IMM10, OP_SH_WRDSP, OP_MASK_WRDSP, OP_SH_RDDSP, OP_MASK_RDDSP): New define. Document 3, 4, 5, 6, 7, 8, 9, 0, :, ', @ operand formats for DSP instructions. (INSN_DSP): New define for DSP ASE.
* * errno.cc (errmap): Translate ERROR_NO_MORE_ITEMS to ENMFILE.Christopher Faylor2005-08-252-0/+5
|
* * mingwex/fe*.c: Revert previous changes.Danny Smith2005-08-259-14/+42
| | | | | | * include/fenv.h: Revert previous changes. Add Changelog entry for the reverted change.
* * exceptions.cc (handle_sigsuspend): Just sleep forever if called from non-mainChristopher Faylor2005-08-253-19/+35
| | | | | | | | thread. (sigpacket:process): Simplify logic which determines when and how a signal is masked. Don't trigger sigwait if there is a signal handler. * sigproc.cc (wait_sig): Update comment. Try to process a signal which is in the queue if it isn't queued for the target thread (this is still not right).
* * mingwex/feclearexcept.c (feclearexcept): Change declaration.Danny Smith2005-08-258-21/+14
| | | | | | | | | | | | | Do not return a value. * mingwex/fegetexceptflag.c (fegetexceptflag): Likewise. * mingwex/feraiseexcept.c (feraiseexcept): Likewise. * mingwex/fesetexceptflag.c (fesetexceptflag): Likewise. * mingwex/fegetenv.c (fegetenv): Likewise. * mingwex/fesetenv.c (fesetenv): Likewise. * mingwex/feupdateenv.c (feupdateenv): Likewise. * include/fenv.h (feclearexcept, fegetexceptflag, feraiseexcept, fesetexceptflag, fegetenv, fesetenv, feupdateenv): Correct prototypes.
* * mingwex/stdio/fseeko64.c (fseeko64): Flush stream beforeDanny Smith2005-08-252-2/+10
| | | | getting filelength for SEEK_END.
* * spawn.cc (perhaps_suffix): Record errno-type error value in third argument.Christopher Faylor2005-08-242-8/+28
| | | | | (find_exec): On error, set errno returned from perhaps_suffix. (spawn_guts): Ditto.
* * fhandler_virtual.cc (fhandler_virtual::close): Don't free filebuf if it'sChristopher Faylor2005-08-243-4/+14
| | | | | | NULL. * pinfo.cc (_pinfo::commune_send): Fix test for incorrect number of bytes read from pipe.
* * syscalls.cc (endusershell): Reset shell_fp to NULL to allowCorinna Vinschen2005-08-242-1/+9
| | | | subsequent getusershell calls.
* * path.cc (path_conv::check): Fill in fileattr for /dev, defaulting toChristopher Faylor2005-08-242-3/+14
| | | | | | directory if /dev doesn't actually exist. (win32_device_name): Don't consider FH_DEV to be a device since it's really a directory which should go through mount processing.
* * cygheap.h (cygheap_types): Add HEAP_COMMUNE.Christopher Faylor2005-08-2411-891/+954
| | | | | | | | | | | | | | | | | | | | | * fhandler_proc.cc: Use cygheap rather than user heap for allocation of filebuf throughout. * fhandler_registry.cc: Ditto. * fhandler_virtual.cc: Ditto. * fhandler_process.cc: Ditto. (get_mem_values): Use malloc/realloc/free rather than new. * pinfo.cc (_pinfo::commune_send): Allocate on cygwin heap rather than user heap. Avoid calling ReadFile when correct number of characters have been read or suffer buffer corruption. (_pinfo::fd): Allocate on cygwin heap rather than user heap. (_pinfo::fds): Ditto. (_pinfo::root): Ditto. (_pinfo::cwd): Ditto. (_pinfo::cmdline): Ditto. * devices.h (FH_DEV): New define. * devices.in: Detect lone /dev. * devices.cc: Regenerate. * path.cc (path_conv::check): Treat FH_DEV as a special case.