summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * fhandler_console.cc (set_console_state_for_spawn): Fix to recognize ttys >=Christopher Faylor2006-01-122-1/+6
| | | | 0.
* * fhandler.h (set_console_state_for_spawn): Whackamole the argument back to aChristopher Faylor2006-01-124-5/+16
| | | | | | | | | | bool. * spawn.cc (spawn_guts): Ditto, i.e., once again call set_console_state_for_spawn with an indication of whether we're about to start a cygwin process. * fhandler_console.cc (set_console_state_for_spawn): Don't set the console state if we know we're starting a cygwin process or if we're using a "real" tty.
* copyrightChristopher Faylor2006-01-121-1/+1
|
* copyrightChristopher Faylor2006-01-121-1/+2
|
* 2006-01-11 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2006-01-11146-892/+1369
| | | | | | | | | | | | | | | | | | * acinclude.m4: Add hack to prevent INSTALL in subdirs from being set to "../". * Makefile.am: Pass INSTALL in AM_MAKEFLAGS. * aclocal.m4: Regenerated. * configure: Ditto. * Makefile.in: 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.
* * include/wincrypt.h (WINADVAPI): Add to prototypes ofDanny Smith2006-01-112-32/+42
| | | | advapi32.dll functions.
* * include/winsock2.h (struct sockaddr_storage): Use RFC 2553Danny Smith2006-01-112-6/+23
| | | | names for padding size constants.
* * include/aclapi.h (WINADVAPI): Add to prototypes.Danny Smith2006-01-114-143/+157
| | | | | * include/winreg.h (WINADVAPI): Likewise. * include/winsvc.h (WINADVAPI): Likewise.
* * dcrt0.cc (dll_crt0_0): Remove call to wincap.init.Corinna Vinschen2006-01-106-12/+38
| | | | | | | | | | | | | | * init.cc (dll_entry): Rename is_wow64_proc to wow64_test_stack_marker. Call wincap.init here before doing anything else. Use wincap.is_wow64 to determine if we're running in a WOW64 emulator. * mmap.cc (MapViewNT): Don't use AT_ROUND_TO_PAGE in WOW64, it's apparently not supported. (mmap64): Don't create mappings beyond EOF, which would need to use AT_ROUND_TO_PAGE, on WOW64. * wincap.cc (wincap): Throw into the .cygwin_dll_common section. (wincapc::init): Determine if running in WOW64 and set wow_64 flag. * wincap.h (class wincapc): Add wow64 member. (wincapc::is_wow64): New method.
* 2006-01-10 Eric Blake <ebb9@byu.net>Jeff Johnston2006-01-103-6/+13
| | | | | * libc/stdio/freopen.c (_freopen_r): Fix use of oflags. * libc/stdio64/freopen64.c (_freopen64_r): Likewise.
* 2006-01-10 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2006-01-105-24/+35
| | | | | | | | | * libm/mathfp/s_frexp.c: Check for special values on the original input, not the manipulated output value. * libm/mathfp/sf_frexp.c: Ditto. * libm/mathfp/s_atangent.c: Don't use local value branch when checking for quadrant. * libm/mathfp/sf_atangent.c: Ditto.
* * fhandler_proc.cc (format_proc_cpuinfo): Avoid leading whitespace in modelChristopher Faylor2006-01-102-1/+6
| | | | name.
* .Christopher Faylor2006-01-101-1/+1
|
* * spawn.cc (spawn_guts): Reorganize slightly so that 16 bit check is done priorChristopher Faylor2006-01-102-80/+94
| | | | | | | to check for command.com/cmd.com. Don't bother setting CREATE_SUSPENDED flag for a MS-DOS process since it doesn't work anyway. Avoid calling remember() when the child process has already exited. (av::fixup): Explicitly set cygexec flag to falseon a 16 bit process.
* * xtensa-config.h (XCHAL_HAVE_MUL32_HIGH): Define.Bob Wilson2006-01-092-0/+7
|
* 2006-01-09 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2006-01-093-2/+7
| | | | | * libc/stdio/freopen.c: Switch to use isatty instead of _isatty. * libc/stdio64/freopen64.c: Ditto.
* 2006-01-09 Eric Blake <ebb9@byu.net>Jeff Johnston2006-01-093-14/+115
| | | | | * libc/stdio/freopen.c (_freopen_r): Accept NULL filename. * libc/stdio64/freopen64.c (_freopen64_r): Likewise.
* Define EM_ALTERA_NIOS2 and EM_NIOS32.Nick Clifton2006-01-092-2/+10
|
* Check FreeBSD upstream changes and apply important patches.Corinna Vinschen2006-01-094-2/+12
| | | | | | * sysv_sem.cc (__semctl): Check copyin return value (from 1.76). * sysv_shm.cc (shminit): Actually use the iterating variable in the for loop when trying to avoid overflow (from 1.102).
* * include/getopt.h (getopt_long_only): Declare.Corinna Vinschen2006-01-092-0/+6
|
* * cygwin.din: Export getsubopt.Corinna Vinschen2006-01-093-1/+8
| | | | * include/cygwin/version.h: Bump API minor version.
* * fhandler_tty.cc (fhandler_tty_slave::dup): Don't assign a controllingChristopher Faylor2006-01-082-0/+8
| | | | terminal to a process when duped. Linux doesn't do this, so we won't either.
* * environ.cc (spenvs[]): windir -> WINDIR.Christopher Faylor2006-01-082-1/+5
|
* * fhandler_console.cc (fhandler_console::need_invisible): Remove duplicateChristopher Faylor2006-01-072-2/+7
| | | | test.
* * fhandler.h (set_console_state_for_spawn): Eliminate argument fromChristopher Faylor2006-01-074-18/+46
| | | | | | | | | | declaration. * fhandler.cc (set_console_state_for_spawn): Eliminate argument from definition. Always check for invisible console. (fhandler_console::need_invisible): Don't do anything if the windows station is already not visible. * spawn.cc (spawn_guts): Accommodate change of argument to set_console_state_for_spawn.
* 2006-01-06 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2006-01-062-2/+10
| | | | | * libc/sys/linux/include/getopt.h: Add macros needed by new version of getopt.c in libc/stdlib.
* * sigproc.cc (no_signals_available): Use existence of signal thread handle toChristopher Faylor2006-01-052-3/+14
| | | | | | | | figure out if we can actually send signals rather than relying on my_sendsig. (hwait_sig): Make static. (sigproc_init): Don't set my_sendsig to anything special. Use new global static hwait_sig. (wait_sig): Set hwait_sig to NULL when we are exiting.
* * cygcheck.cc (dump_sysinfo): Report the failing drive to prevent having toChristopher Faylor2006-01-052-4/+16
| | | | guess.
* * Makefile.tpl (clean-stage[+id+]-[+prefix+][+module+]): RemoveAlexandre Oliva2006-01-053-67/+73
| | | | | @ from continuation. * Makefile.in: Rebuilt.
* * include/getopt.h: Accommodate recent unfortunate newlib changes.Christopher Faylor2006-01-052-0/+8
|
* (fix ChangeLog and check in remaining files)Christopher Faylor2006-01-054-2/+10
| | | | | | * sigproc.cc (sigproc_init): Move clearing of sync_startup here to lessen the likelihood of trying to deal with non-cygwin threads in dll_entry. * fhandler_console: Fix set_console_state_for_spawn comment.
* * cygtls.cc (_cygtls::remove): Don't output debugging info if this isn't aChristopher Faylor2006-01-052-1/+6
| | | | cygwin thread.
* * spawn.cc (spawn_guts): Invert the argument to set_console_state_for_spawn.Christopher Faylor2006-01-052-2/+6
|
* * fhandler_console.cc (fhandler_console::need_invisible): Only try to openChristopher Faylor2006-01-052-4/+12
| | | | | "CygwinInvisible" windows station if opening of default station fails. Use CloseWindowStation to close window station handle.
* * fhandler_console.cc (fhandler_console::need_invisible): Open up the securityChristopher Faylor2006-01-052-1/+6
| | | | of the newly created windows station.
* 2006-01-04 Paul Brook <paul@codesourcery.com>Jeff Johnston2006-01-049-0/+18
| | | | | | | | | | * m68k/bcc.ld: Add .got.plt and .got * m68k/idp.ld: Ditto. * m68k/idpgdb: Ditto. * m68k/mvme135.ld: Ditto. * m68k/sbc5204.ld: Ditto. * m68k/sbc5206.ld: Ditto. * m68k/sim.ld: Ditto.
* 2006-01-04 Gregory Pietsch <gpietsch@comcast.net>Jeff Johnston2006-01-043-107/+538
| | | | | | * libc/stdlib/getopt.c: Replaced with version that adds getopt_long and getopt_long_only support. * libc/include/getopt.h: New file.
* 2006-01-05 Michael Gerdau <mgd@technosis.de>Danny Smith2006-01-042-0/+12
| | | | * include/winbase.h (WINADVAPI): Define.
* * path.cc (dot_special_chars): Add ", <, >, and |.Christopher Faylor2006-01-042-3/+7
|
* 2006-01-04 Paolo Bonzini <bonzini@gnu.org>Paolo Bonzini2006-01-046-849/+605
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Sync from gcc: 2006-01-04 Paolo Bonzini <bonzini@gnu.org> PR bootstrap/24252 * Makefile.def (flags_to_pass): Add STAGE1_CFLAGS and STAGE1_LANGUAGES. * Makefile.tpl (OBJDUMP): New. (EXTRA_HOST_FLAGS): Add it. (EXTRA_GCC_FLAGS): Remove flags already specified in flags_to_pass. * Makefile.tpl (stage[+id+]-start, stage[+id+]-end): Do not try to use symbolic links between directories. Avoid race conditions or make them harmless. * configure.in: Do not try to use symbolic links between directories. * Makefile.def (LEAN): Pass. * Makefile.tpl (LEAN): Define. (stage[+id+]-start): Accept that the previous directory does not exist, if the bootstrap is lean. (stage[+id+]-bubble): Invoke lean bootstrap commands after stage[+id+]-start. Use a makefile variable and an `if' instead of a configure substitution. ([+compare-target+]): Likewise. ([+bootstrap-target+]-lean): New. * configure.in: Remove lean bootstrap support from here. * Makefile.in: Regenerate. * configure: Regenerate. 2006-01-02 Andreas Schwab <schwab@suse.de> * configure.in: When reconfiguring remove Makefile in all stage directories. * configure: Regenerate.
* * fhandler_console.cc (beep): Use MB_OK which is documented as using theChristopher Faylor2006-01-042-1/+7
| | | | | default bell rather than -1 which seems to behave differently on different versions of Windows.
* * fhandler_process.cc (fhandler_process::readdir): Add missing argument toChristopher Faylor2006-01-044-4/+16
| | | | | | | syscall_printf. * fhandler_console.cc (fhandler_console::need_invisible): Use made-up name for windows station rather than asking Windows to create one for us. * spawn.cc (spawn_guts): Don't mess with console if we're detaching.
* * include/winuser.h (CreateWindowStation): Correctly identify first argument asChristopher Faylor2006-01-042-2/+8
| | | | | constant. (CreateWindowStation@): Ditto.
* * dir.cc (readdir_worker): Minor code cleanup.Christopher Faylor2006-01-035-62/+85
| | | | | | | | | | * fhandler_console.cc (beep): Use a more Windows-generic wav file if the beep is missing. Use a more foolproof way to find out whether we should be recreating the missing key. * registry.h (reg_key::_disposition): New field. (reg_key::created): New function. * registry.cc (reg_key::reg_key): Set _disposition to zero by default. (reg_key::build_key): Fill in _disposition field.
* * dir.cc (readdir_worker): Ensure that saw_dot flags are updated when notChristopher Faylor2006-01-032-3/+15
| | | | handling inodes.
* * include/uxtheme.h [_WIN32_WINNT >= 0x0501]Dimitri Papadopoulos2006-01-032-0/+156
| | | | (TMT_*, BT_*): Add constants.
* * fhandler_console.cc (beep): New function. Restores missing "Default Beep",Christopher Faylor2006-01-032-1/+19
| | | | | if necessary. (fhandler_console::write_normal): Use beep().
* 2006-02-01 Paolo Bonzini <bonzini@gnu.org>Paolo Bonzini2006-01-022-0/+496
| | | | | PR target/25259 * stdint.m4: New.
* * dcrt0.cc (_dll_crt0): Move more leftover debugging stuff.Christopher Faylor2006-01-022-17/+7
| | | | | | | | (cygwin_dll_init): Remove unneeded initializations. Call _dll_crt0 rather than dll_crt0_1. * dcrt0.cc (_dll_crt0): Move more leftover debugging stuff. (cygwin_dll_init): Remove unneeded initializations. Call _dll_crt0 rather than dll_crt0_1.
* * syslog.cc: Include sys/un.h instead of sys/socket.h.Corinna Vinschen2006-01-022-37/+73
| | | | | | | | | | | (syslogd_inited): Convert to enum type noting the exact result of trying to connect to syslog daemon. Use this way throughout. (connect_syslogd): New static function taking over the task to connect to syslog socket. Use correct struct sockaddr_un instead of struct sockaddr. (try_connect_syslogd): Call connect_syslogd. If write fails on connection oriented socket, try to reconnect to syslog socket and try to write again.