summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * exceptions.cc (interrupt_setup): Move actions from setup_handler to here.Christopher Faylor2001-06-246-75/+84
| | | | | | | | | (setup_handler): Move actions after a successful interrupt to interrupt_setup. * fork.cc (vfork): Augment debugging output. * sigproc.cc (proc_subproc): Ditto. * spawn.cc (spawn_guts): Ditto. Correctly fill out progname when spawn NO_WAIT. Call signal handler when a signal arrives. * sigproc.h: Declare a function.
* * fhandler.h class fhandler_socket): Declare new methodCorinna Vinschen2001-06-223-0/+17
| | | | | | `set_close_on_exec'. * fhandler_socket.cc (fhandler_socket::set_close_on_exec): New method.
* * fhandler_tape.cc (fhandler_dev_tape::tape_erase): Set sizeCorinna Vinschen2001-06-222-1/+6
| | | | parameter to value expected by GetTapeParameters().
* * fhandler_console.cc (fhandler_console::read): Detect AltGr moreCorinna Vinschen2001-06-222-2/+25
| | | | robustly on WinNT.
* 2001-06-22 Robert Collins rbtcollins@hotmail.comRobert Collins2001-06-212-2/+8
| | | | | | * thread.cc (__pthread_cond_timedwait): Lock the waiting mutex before the condition protect mutex to avoid deadlocking. (Found by Greg Smith). (__pthread_cond_wait): Ditto.
* * fhandler.cc (fhandler_base::open): Work around windows bug whenEgor Duda2001-06-202-0/+17
| | | | | CreateFile() with dwDesiredAccess == 0 called on remote share returns valid handle even if file doesn't exist.
* * fhandler_socket.cc (fhandler_socket::signal_secret_event): NewEgor Duda2001-06-204-15/+44
| | | | | | | | | | | function. * fhandler.h: Declare it. * fhandler_socket.cc (fhandler_socket::create_secret_event): Don't signal secret event immediately. (fhandler_socket::check_peer_secret_event): Do it after peer event was opened. * net.cc (cygwin_connect): Or if socket is non-blocking. (cygwin_accept): Ditto.
* * lib/kernel32.def: Add LanguageGroup and UILanguage symbols.Earnie Boyd2001-06-192-0/+13
| | | | Thanks to Kevin Chase <kevincha99@hotmail.com>.
* * Makefile.in: Revert 2001-06-17.Alan Modra2001-06-192-4/+11
| | | | (VER): If AM_INIT_AUTOMAKE uses BFD_VERSION, get version from bfd/.
* * fhandler_tty.cc (fhandler_tty_slave::init): Revert 2001-06-16 change.Christopher Faylor2001-06-184-64/+99
| | | | | | | | | * fork.cc (fork_copy): Print more debugging info. (fork_parent): Change order of arguments to accomdate buggy gcc. (fork): Ditto. * syscalls.cc (_unlink): Reorganize to try harder to delete file with DeleteFile and to recover more gracefully if FILE_FLAG_DELETE_ON_CLOSE doesn't work properly.
* Remove blank line.Christopher Faylor2001-06-181-1/+0
|
* 2001-06-17 H.J. Lu <hjl@gnu.org>H.J. Lu2001-06-172-3/+9
| | | | | | * Makefile.in (gas.tar.bz2): Pass TOOL=bfd PACKAGE=gas to make. (gas+binutils.tar.bz2): Likewise. (binutils.tar.bz2): Pass TOOL=bfd PACKAGE=binutils to make.
* * exceptions.cc (sig_handle_tty_stop): Reset PID_STOPPED if not actuallyChristopher Faylor2001-06-166-8/+25
| | | | | | | | | | stopping. * fhandler_console.cc (fhandler_console::fixup_after_fork): Don't set controlling terminal if just inheriting a handle. (fhandler_console::fixup_after_exec): Ditto. * fhandler_tty.cc (fhandler_tty_slave::init): Ditto. * signal.cc (kill_worker): Set appropriate errno if proc_exists determines that process does not really exist.
* * path.cc (path_conv::check): Deal more robustly with foo/ behavior.Christopher Faylor2001-06-152-6/+10
|
* * dwarf2.h: Partial merge with gcc version.Per Bothner2001-06-152-7/+54
| | | | | (enum dwarf_descrim_list): Fix typo -> dwarf_discrim_list. (DW_LANG_Java): Use value from dwarf 2.1 draft (also used in gcc).
* * bfdlink.h (struct bfd_link_info): New member export_dynamic.Hans-Peter Nilsson2001-06-152-0/+7
|
* * fhandler_tape.cc (fhandler_dev_tape::tape_status): Set sizeCorinna Vinschen2001-06-152-1/+9
| | | | parameter to value expected by GetTapeParameters().
* * mkpasswd.c (main): Output passwd file in binary mode so that there are no CRsChristopher Faylor2001-06-153-2/+13
| | | | | in the file. * umount.cc (remove_all_user_mounts): Don't try to remove /cygdrive mounts.
* * fhandler.cc (fhandler_disk_file::fstat): Properly set executable bits forChristopher Faylor2001-06-152-44/+40
| | | | | directory when !ntsec && !ntea. Also move common code prior to call to get_attributes.
* * thread.cc (pthread_cond::Signal): Release the condition access variableChristopher Faylor2001-06-142-1/+11
| | | | correctly.
* Index: opcodes/ChangeLogGeoffrey Keating2001-06-142-0/+9
| | | | | | | | | | | | | | | | | | | | | 2001-06-13 Geoffrey Keating <geoffk@redhat.com> * cgen-asm.c (cgen_parse_keyword): When looking for the boundaries of a keyword, allow any special characters that are actually in one of the allowed keyword. * cgen-opc.c (cgen_keyword_add): Add any special characters to the nonalpha_chars field. Index: cgen/ChangeLog 2001-06-13 Geoffrey Keating <geoffk@redhat.com> * desc.scm (<keyword> 'gen-defn): Add extra zero into CGEN_KEYWORD_ENTRY initializers. Index: include/opcode/ChangeLog 2001-06-13 Geoffrey Keating <geoffk@redhat.com> * cgen.h (cgen_keyword): Add nonalpha_chars field.
* * fhandler.cc (fhandler_base::open): Set win32 access flagsEgor Duda2001-06-144-21/+40
| | | | | | | | to 0, when requested. * fhandler.h: New status flag FH_QUERYOPEN. (fhandler::get_query_open): New function. (fhandler::set_query_open): Ditto. * syscalls.cc (stat_worker): Request query-only open mode.
* Remove reference to Cygnus.David Starks-Browning2001-06-141-1/+1
|
* teeny tiny typoDavid Starks-Browning2001-06-141-1/+1
|
* Handle GDB's gdb/version.in.Andrew Cagney2001-06-132-1/+10
|
* * who.texinfo: Oops. Add a couple of important folk.Christopher Faylor2001-06-133-0/+10
|
* * who.texinfo: Remove email addresses. Modernize.Christopher Faylor2001-06-132-55/+68
|
* * environ.cc (set_file_api_mode): New function. Move settingEgor Duda2001-06-124-4/+29
| | | | | | | of file APIs mode (OEM/ANSI) here. (codepage_init): From here. * winsup.h (set_file_api_mode): Declare it. * fork.cc (fork_child): Set file APIs mode in forkee.
* 2001-06-11 Danny Smith <dannysmith@users.sourceforge.net>Jeff Johnston2001-06-112-0/+6
| | | | * /libc/include/ctype.h (is* and to* macros): Do not define if C++.
* * objidl.h (IMalloc::ReAlloc()): Correct declaration.Earnie Boyd2001-06-112-2/+7
| | | | (IMalloc::Free()): Ditto.
* 2001-06-11 Egor Duda <deo@logos-m.ru>Jeff Johnston2001-06-112-16/+71
| | | | | | | | | * libc/ctype/ctype_.c: When compiled with gcc on platforms with signed char, make _ctype_[-128] ... _ctype[-1] refer to initialized memory region. Platform can define COMPACT_CTYPE to avoid allocation of the additional 128 bytes of data. Add pointer to _ctype_ array. Always initialize all _ctype_ array elements.
* * include/shlobj.h (REGSTR_PATH_EXPLORER): Unicode it.Earnie Boyd2001-06-113-2/+10
| | | | | (REGSTR_PATH_SPECIAL_FOLDERS): Ditto. * include/regstr.h (REGSTR_PATH_EXPLORER): Add #ifndef guard.
* * profile/configure.in: Make msvcrt.dll version default.Earnie Boyd2001-06-114-22/+28
| | | | | * profile/makefile.in: Build both gcrt1.o and gcrt2.o. * provile/configure: Regenerate.
* * include/shlobj.h (struct _browseinfo): UNICODE it.Earnie Boyd2001-06-112-4/+28
| | | | | (SHBrowseForFolder): Ditto. (SHGetPathFromIDList): Ditto.
* Add missing entry.Christopher Faylor2001-06-111-1/+5
|
* * include/stdio.h (swscanf): Make first arugument const.Earnie Boyd2001-06-114-2/+16
| | | | | | | * include/wchar.h (swscanf): Ditto. * include/tchar.h (_tfopen): New _UNICODE define. (_tgetenv): Ditto. (_tsetlocale): Ditto.
* * pinfo.cc: Use autoloaded ToolHelp functions throughout for Win9x.Christopher Faylor2001-06-114-36/+31
| | | | * autoload.cc: Autoload ToolHelp functions.
* * include/basetsd.h: RC_INVOKED protection and realignment.Earnie Boyd2001-06-112-29/+41
| | | | Thanks to: Colin Peters <colinpeters@users.sourceforge.net>
* * libc/stdlib/mbtowc_r.c (_mbtowc_r): Avoid dereferencingJonathan Larmour2001-06-112-2/+9
| | | | NULL pointer.
* * path.cc (chdir): Fix call to path_conv constructor so that it REALLY doesn'tChristopher Faylor2001-06-112-2/+7
| | | | check for the null/non-empty path.
* * path.cc (path_conv::update_fs_info): Don't consider remote drives to be NTFS.Christopher Faylor2001-06-112-18/+22
| | | | | Set root_dir before invoking GetDriveType (from Kazuhiro Fujieda <fujieda@jaist.ac.jp>). Eliminate extra checks for rootdir.
* * path.cc (chdir): Pre-check path for validity before eating trailing space.Christopher Faylor2001-06-112-7/+32
| | | | Then, ensure that path_conv doesn't check the path for validity again.
* * exceptions.cc (sigdelayed): Ensure that signal is cleared as the lastChristopher Faylor2001-06-103-4/+17
| | | | | operation or suffer races. * sigproc.cc (proc_subproc): Deal with zombie array overflow.
* * cygwin.din: Add fchdir symbols.Corinna Vinschen2001-06-105-10/+36
| | | | | | | * path.cc (chdir): Guard against invalid parameter. (fchdir): New function. * include/cygwin/version.h: Bump API minor version to 40. * uinfo.cc (internal_getlogin): Remove unused variable.
* * syscalls.cc (seteuid): Set environment variables USERNAME andCorinna Vinschen2001-06-093-84/+185
| | | | | | | | | USERDOMAIN before impersonation to workaround a LookupAccountSid() misbehaviour. * uinfo.cc (internal_getlogin): Revert most of the previous change. Don't set environment variables USERNAME and USERDOMAIN. That's the job of seteuid() now. Try to get logon server from Lsa only if logon server isn't already known.
* * Makefile.in (AS_FOR_TARGET, LD_FOR_TARGET, NM_FOR_TARGET): IfAlexandre Oliva2001-06-082-0/+12
| | | | | gcc/xgcc is built, use -print-prog-name to find out the program name to use.
* * thread.cc (pthread_cond::Broadcast): Don't print error messages on invalidChristopher Faylor2001-06-072-1/+16
| | | | | | mutexs - user programs are allowed to call pthread_cond_broadcast like that. (__pthread_cond_timedwait): Initialise themutex properly. (__pthread_cond_wait): Initialise themutex properly.
* * Makefile.in (bindist): Reassign value of exec_prefix on make commandEarnie Boyd2001-06-062-1/+7
| | | | line.
* * fhandler_console.cc (fhandler_console::dup): Allocate space forCorinna Vinschen2001-06-052-6/+12
| | | | | savebuf on Cygwin heap. (fhandler_console::char_command): Ditto. Use correct values for size.
* * security.h (NTWriteEA): Change prototype.Egor Duda2001-06-057-38/+140
| | | | | | | | | | | | | | | | | | | * ntea.cc (NTReadEA): Don't check for global ntea setting, now it's caller responsibility. (NTWriteEA): Ditto. * security.cc (get_file_attribute): Read attribute from EA only if 'ntea' is enabled. (set_file_attribute): Ditto. * path.h: (class path_conv): Add members to store file system information. (path_conv::get_drive_type): New function. * syscalls.cc (stat_worker): Use it. * path.cc (path_conv::update_fs_info): New functions. (path_conv::check): Get file system information from device where file resides. On NTFS, try to read symlink contents from EA. (get_symlink_ea): New function. (set_symlink_ea): Ditto. (symlink): Store symlink in extended attribute, if possible.