]> sourceware.org Git - newlib-cygwin.git/log
newlib-cygwin.git
23 years ago* spawn.cc (spawn_guts): Enable appropriate privilege before
Egor Duda [Tue, 14 Aug 2001 14:57:44 +0000 (14:57 +0000)]
* spawn.cc (spawn_guts): Enable appropriate privilege before
loading user's registry hive.

23 years ago* libc/include/machine/setjmp.h: Protect sigsetjmp/siglongjmp macro arguments.
Christopher Faylor [Tue, 14 Aug 2001 14:36:58 +0000 (14:36 +0000)]
* libc/include/machine/setjmp.h: Protect sigsetjmp/siglongjmp macro arguments.
* libc/include/sys/errno.h: Declare sys_errlist and sys_nerr, under Cygwin.

23 years ago * fhandler.cc (fhandler_base::fcntl): Use new O_NONBLOCK_MASK define.
Corinna Vinschen [Tue, 14 Aug 2001 07:41:45 +0000 (07:41 +0000)]
    * fhandler.cc (fhandler_base::fcntl): Use new O_NONBLOCK_MASK define.
        * fhandler.h: Move definitions of O_NOSYMLINK, O_DIROPEN and
        OLD_O_NDELAY from winsup.h to here. Add O_NONBLOCK_MASK define.
        * fhandler_socket.cc (fhandler_socket::close): Add hack to allow
        a graceful shutdown even if shutdown() hasn't been called by the
        application. Add debug output.
        (fhandler_socket::ioctl): Set fhandler's NONBLOCK flag according
        to FIONBIO setting.
        (fhandler_socket::fcntl): Use new O_NONBLOCK_MASK define. Actually
        set `request' before using it.
        * fhandler_tty.cc: Use new O_NONBLOCK_MASK define throughout.
        (fhandler_tty_slave::ioctl): Set fhandler's NONBLOCK flag according
        to FIONBIO setting.
        (fhandler_pty_master::ioctl): Ditto.
        * net.cc (wsock_event::prepare): Compare WSACreateEvent return code
        with `WSA_INVALID_EVENT' according to MSDN.
        * syscalls.cc (_read): Use new O_NONBLOCK_MASK define.

23 years ago2001-08-13 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Mon, 13 Aug 2001 22:54:42 +0000 (22:54 +0000)]
2001-08-13  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/include/malloc.h (M_MXFAST, M_NLBLKS, M_GRAIN, M_KEEP): New
        macro constants for mallopt options.
        (M_TRIM_THRESHOLD, M_TOP_PAD, M_MMAP_THRESHOLD, M_MMAP_MAX): Ditto.

23 years agoOops. Forgot to check in include/wchar.h???
Christopher Faylor [Sat, 11 Aug 2001 01:56:53 +0000 (01:56 +0000)]
Oops.  Forgot to check in include/wchar.h???

23 years ago(lbasename): Change function declaration to return a const char pointer.
Andrew Cagney [Fri, 10 Aug 2001 23:46:15 +0000 (23:46 +0000)]
(lbasename): Change function declaration to return a const char pointer.

23 years ago * opcode/mips.h (INSN_GP32): Remove.
Richard Sandiford [Fri, 10 Aug 2001 16:20:43 +0000 (16:20 +0000)]
* opcode/mips.h (INSN_GP32): Remove.
(OPCODE_IS_MEMBER): Remove gp32 parameter.
(M_MOVE): New macro identifier.

23 years ago * lib/kernels.c: New file.
Earnie Boyd [Fri, 10 Aug 2001 11:52:35 +0000 (11:52 +0000)]
* lib/kernels.c: New file.

23 years ago * lib/test.c (Win32_Winsock): Replace with __USE_W32_SOCKETS.
Earnie Boyd [Fri, 10 Aug 2001 11:51:03 +0000 (11:51 +0000)]
* lib/test.c (Win32_Winsock): Replace with __USE_W32_SOCKETS.
Add more includes of w32api headers.
* include/winnt.h (GetCurrentFiber): Change __inline to __inline__.
Swap asm code with that of GetFiberData.
(GetFiberData): Ditto.
* lib/kernels.c: New file, containing library versions of
GetCurrentFiber and GetFiberData.
* lib/makefile.in: Add kernel32.o as static object to libkernal32.a.

23 years agoRevert 2001-08-08 changes.
Alan Modra [Fri, 10 Aug 2001 01:34:47 +0000 (01:34 +0000)]
Revert 2001-08-08 changes.

23 years ago* include/wchar.h: Define __need_wint_t.
Christopher Faylor [Wed, 8 Aug 2001 19:26:24 +0000 (19:26 +0000)]
* include/wchar.h: Define __need_wint_t.

23 years ago * include/winuser.h (GET_WHEEL_DELTA_WPARAM): Add macro.
Earnie Boyd [Wed, 8 Aug 2001 17:25:23 +0000 (17:25 +0000)]
* include/winuser.h (GET_WHEEL_DELTA_WPARAM): Add macro.
* lib/oleaut32.def: Regenerate.

23 years ago * ppc.h (struct powerpc_operand): New field `reloc'.
Alan Modra [Wed, 8 Aug 2001 13:19:36 +0000 (13:19 +0000)]
* ppc.h (struct powerpc_operand): New field `reloc'.
* ppc-opc.c: Include "bfd.h".
(powerpc_operands): Add new field for reloc type.

23 years ago * security.cc (alloc_sd): Revert to setting inheritance attribute for
Corinna Vinschen [Wed, 8 Aug 2001 10:00:35 +0000 (10:00 +0000)]
    * security.cc (alloc_sd): Revert to setting inheritance attribute for
        permissions given to directories. Never set inheritance on NULL ACE.

23 years ago * security.cc (alloc_sd): Don't set FILE_DELETE_CHILD for group
Corinna Vinschen [Tue, 7 Aug 2001 16:14:59 +0000 (16:14 +0000)]
    * security.cc (alloc_sd): Don't set FILE_DELETE_CHILD for group
        if S_ISVTX attribute is given.
        * dir.cc (mkdir): Allow immediate setting of S_ISUID, S_ISGID and
        S_ISVTX attribute.
        * syscalls.cc (_open): Ditto.

23 years ago * dir.cc (mkdir): Set security attributes correctly for
Corinna Vinschen [Tue, 7 Aug 2001 15:09:54 +0000 (15:09 +0000)]
    * dir.cc (mkdir): Set security attributes correctly for
        CreateDirectoryA () call if ntsec is on. Don't call
        set_file_attributes () then.
        * fhandler.cc (fhandler_base::open): Ditto for CreateFileA () call.
        * path.cc (symlink): Ditto.
        * security.cc (set_security_attribute): New function.
        * security.h: Add declaration for `allow_ntea' and
        `set_security_attribute'.

23 years ago * grp.cc (class grp_check): New class. Make `group_state'
Corinna Vinschen [Tue, 7 Aug 2001 08:56:22 +0000 (08:56 +0000)]
    * grp.cc (class grp_check): New class. Make `group_state'
        a member of class grp_check.
        (read_etc_group): Free former allocated memory on reread.
        * passwd.cc (class pwd_check): New class Make `passwd_state'
        a member of class pwd_check.
        (read_etc_passwd): Free former allocated memory on reread.

23 years ago* fhandler_console.cc (get_tty_stuff): Don't initialize shared memory console
Christopher Faylor [Tue, 7 Aug 2001 05:15:59 +0000 (05:15 +0000)]
* fhandler_console.cc (get_tty_stuff): Don't initialize shared memory console
area if it is already initialized.
* fhandler_termios.cc (fhandler_termios::tcsetpgrp): Augment debugging info.

23 years ago* cygheap.cc (cygheap_root::set): Avoid treating '/' specially.
Christopher Faylor [Tue, 7 Aug 2001 00:01:42 +0000 (00:01 +0000)]
* cygheap.cc (cygheap_root::set): Avoid treating '/' specially.
* fhandler.cc (fhandler_base::fcntl): Only set specific O_NDELAY style flag
passed in from application.
* fhandler_socket.cc (fhandler_socket::fcntl): Ditto.
* fhandler.h: Set constant for future use.
* winsup.h: Define OLD_O_NDELAY only for old programs.
* include/cygwin/version.h: Define CYGWIN_VERSION_CHECK_FOR_OLD_O_NONBLOCK.

23 years ago * include/stdlib.h (_wpgmptr): Don't declare ifndef __MSVCRT__.
Earnie Boyd [Sun, 5 Aug 2001 12:52:43 +0000 (12:52 +0000)]
* include/stdlib.h (_wpgmptr): Don't declare ifndef __MSVCRT__.
* include/stdio.h (_IORW): Change constant to 0x0080.
(TMP_MAX): Add new define.
(_P_tmpdir): Ditto.
(_wP_tmpdir): Ditto.
(L_tmpnam): Change constant to 16.
* include/malloc.h: Fix non-ANSI comment after #endif.
* profile/Makefile.in (mkinstalldirs): Correct relative path.

23 years ago * include/wtypes.h: (DECIMAL_SETZERO): Correct typo.
Earnie Boyd [Sun, 5 Aug 2001 12:47:53 +0000 (12:47 +0000)]
* include/wtypes.h: (DECIMAL_SETZERO): Correct typo.
  * include/oleidl.h (ISupportErrorInfo, ICreateInfo): Move from here
* include/oaidl.h: ... to here.
* include/oaidl.h ICreateErrorInfo): Add interface definition.
(IErrorInfo::GetGUID): Change arg to GUID.
(LPSUPPORTERRORINFO): Add typedef.
(IID_ISupportErrorInfo): Change forward decl. of type to IID.
* include/winsock2.h (WSAGET* and WSAMAKE*): Remove duplicate
defines.
* include/commctrl.h (TreeView_SetIndent): Correct typo.
* include/commctrl.h (TBSTYPE_FLAT): Remove define.
* include/commctrl.h (TBBUTTONINFO[AW]): Add struct definitions,
and UNICODE mappings, if _WIN32_IE >= 0x400.
(TBIF_* and TB_SETBUTTONINFO): Add defines, if _WIN32_IE >= 0x400.
(CDIS_*,CDDS_*,CDRF_*) : Add defines.
(tagNMCUSTOMDRAWINFO): Add struct definition and typedefs.
(tagNMLVCUSTOMDRAW): Likewise.
(tagNMTVCUSTOMDRAW): Likewise.
(tagNMLVCACHEHINT): Likewise.
* include/basetsd.h (#include <_mingw.h>): Remove.
(__int64): Define.
* include/wingdi.h (AC_SRC_OVER): Add define.
(struct _BLENDFUNCTION): Add.
* include/shlobj.h:  Add BIF_* defines.
* include/winerror.h (E_PENDING): Add error code define.
* include/basetsd.h (#include <_mingw.h>): Add directive.
* include/winbase.h(InterlockedCompareExchange): Change args
and return value from PVOID to LONG.
(InterlockedExchange): Change first arg to LPLONG.
(InterlockedCompareExchangePointer): New macro.
(InterlockedExchangePointer): New macro.

23 years agoThroughout, change check for running under Windows NT to 'iswinnt'.
Christopher Faylor [Sat, 4 Aug 2001 21:10:52 +0000 (21:10 +0000)]
Throughout, change check for running under Windows NT to 'iswinnt'.
* dcrt0.cc (set_os_type): Set 'iswinnt' appropriately.
* cygheap.cc (init_cheap): Revert to using VirtualAlloc for allocating cygheap.
(cygheap_setup_for_child_cleanup): New function.  Standard function to call
after calling CreateProcess to cleanup cygheap info passed to child.
(cygheap_fixup_in_child): Copy cygheap from shared memory into allocated space
under Windows 9x or if can't relocate shared space under NT.
* cygheap.h: Declare new function.
* spawn.cc (spawn_guts): Use cygheap_fixup_in_child.
* fork.cc (fork_parent): Ditto.
* winsup.h: Declare iswinnt.

23 years ago* dtable.cc (dtable::release): Avoid messing with console when
Egor Duda [Sat, 4 Aug 2001 18:53:53 +0000 (18:53 +0000)]
* dtable.cc (dtable::release): Avoid messing with console when
closing socket.

23 years ago * net.cc (cygwin_accept): Allow NULL peer and len parameters.
Corinna Vinschen [Fri, 3 Aug 2001 12:06:29 +0000 (12:06 +0000)]
    * net.cc (cygwin_accept): Allow NULL peer and len parameters.
        * include/cygwin/socket.h: Define socklen_t as int.

23 years ago * path.cc (fchdir): Set the fhandler's path to absolute value to
Corinna Vinschen [Fri, 3 Aug 2001 11:14:09 +0000 (11:14 +0000)]
    * path.cc (fchdir): Set the fhandler's path to absolute value to
        ensure changing to the correct directory even if the fhandler originally
        points to a relative path.

23 years agomerge from gcc
DJ Delorie [Thu, 2 Aug 2001 23:27:47 +0000 (23:27 +0000)]
merge from gcc

23 years ago * bfdlink.h (struct bfd_link_info): add new boolean
Charles Wilson [Thu, 2 Aug 2001 23:07:10 +0000 (23:07 +0000)]
    * bfdlink.h (struct bfd_link_info): add new boolean
        field pei386_auto_import.

23 years ago2001-08-02 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Thu, 2 Aug 2001 22:28:40 +0000 (22:28 +0000)]
2001-08-02  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/include/stdio.h (BUFSIZ): Define to __BUFSIZ__ if provided,
        otherwise default.

23 years ago * security.cc (set_file_attribute): Clean up. Don't call
Corinna Vinschen [Thu, 2 Aug 2001 16:01:47 +0000 (16:01 +0000)]
    * security.cc (set_file_attribute): Clean up. Don't call
        `set_nt_attribute' when ntsec isn't set.

23 years ago2001-08-01 Aldy Hernandez <aldyh@redhat.com>
Aldy Hernandez [Wed, 1 Aug 2001 11:33:45 +0000 (11:33 +0000)]
2001-08-01  Aldy Hernandez  <aldyh@redhat.com>

* include/opcode/mips.h (INSN_ISA_MASK): Nuke bits 12-15.

23 years ago* dcrt0.cc (alloc_stack_hard_way): Make half-hearted attempt to deal with
Christopher Faylor [Sun, 29 Jul 2001 02:33:30 +0000 (02:33 +0000)]
* dcrt0.cc (alloc_stack_hard_way): Make half-hearted attempt to deal with
growing stack under Windows 95.
* Makefile.in: Add install-lib and install-headers.

23 years ago* cygwin.din: Export sys_errlist, sys_nerr.
Christopher Faylor [Fri, 27 Jul 2001 16:33:20 +0000 (16:33 +0000)]
* cygwin.din: Export sys_errlist, sys_nerr.
* include/cygwin/version.h: Bump minor version number.

23 years ago * security.cc (get_user_primary_group): Fix compiler warning.
Corinna Vinschen [Fri, 27 Jul 2001 09:17:57 +0000 (09:17 +0000)]
    * security.cc (get_user_primary_group): Fix compiler warning.
        (alloc_sd): Add DELETE permission for user when S_IWUSR is given.

23 years ago* thread.cc (__pthread_equal): Invert return value so that true is returned
Christopher Faylor [Thu, 26 Jul 2001 20:47:05 +0000 (20:47 +0000)]
* thread.cc (__pthread_equal): Invert return value so that true is returned
when threads are equal.

23 years agoChristopher Faylor <cgf@cygnus.com>
Christopher Faylor [Thu, 26 Jul 2001 20:42:52 +0000 (20:42 +0000)]
Christopher Faylor <cgf@cygnus.com>
* cygwin.din: Export __signgam.
* include/cygwin/version.h: Bump minor version number.

23 years agoThroughout, reorganize header file inclusion to put security.h prior to
Christopher Faylor [Thu, 26 Jul 2001 19:22:24 +0000 (19:22 +0000)]
Throughout, reorganize header file inclusion to put security.h prior to
fhandler.h.
* fhandler.h (fhandler_base::get_inheritance): New method.
* fhandler_socket.cc (fhandler_socket::create_secret_event): Use proper
close-on-exec inheritance when creating.
(fhandler_socket::check_peer_secret_event): Create handle as non-inheritable.

23 years ago* MAINTAINERS: Clarify libiberty merge rules and procedures.
DJ Delorie [Thu, 26 Jul 2001 14:20:05 +0000 (14:20 +0000)]
* MAINTAINERS: Clarify libiberty merge rules and procedures.

23 years ago* syscalls.cc (setsid): Detach process from its console if the current
Christopher Faylor [Thu, 26 Jul 2001 00:10:52 +0000 (00:10 +0000)]
* syscalls.cc (setsid): Detach process from its console if the current
controlling tty is the console and already closed.
* dtable.h (class dtable): Add members to count descriptors referring to the
console.
* dtable.cc (dtable::dec_console_fds): New function to detach process from its
console.
(dtable::release): Decrement the counter of console descriptors.
(dtable::build_fhandler): Increment it.
* exception.cc (ctrl_c_handler): Send SIGTERM to myself when catch
CTRL_SHUTDOWN_EVENT.

23 years agoTue 24 Jul 2001 02:28:00 PM Trevor Forbes <t4bs@hotmail.com>
Robert Collins [Wed, 25 Jul 2001 23:46:25 +0000 (23:46 +0000)]
Tue 24 Jul 2001 02:28:00 PM  Trevor Forbes <t4bs@hotmail.com>

* thread.cc (verifyable_object_isvalid): Don't validate
PTHREAD_MUTEX_INITIALIZER pointer as it will cause an exception
in IsBadWritePtr() when running GDB.

23 years ago * localtime.c: Changed whole file to become C++ clean. Rename to
Corinna Vinschen [Wed, 25 Jul 2001 21:58:21 +0000 (21:58 +0000)]
    * localtime.c: Changed whole file to become C++ clean. Rename to
        localtime.cc.
        * localtime.cc (tzload): Preserve errno.

23 years ago* cygheap.cc (cygheap_fixup_in_child): Attempt Win95 workaround.
Christopher Faylor [Sat, 21 Jul 2001 03:20:01 +0000 (03:20 +0000)]
* cygheap.cc (cygheap_fixup_in_child): Attempt Win95 workaround.
* dtable.cc (dtable::dup_worker): Add debugging output.
(dtable::vfork_child_dup): Correctly set close_on_exec.
* fhandler.cc (fhandler_base::fork_fixup): Don't mess with handle if there is
no need to get it from the parent.
* fhandler_tty.cc (fhandler_tty_common::close): Add debugging output.

23 years agoClone src/config.guess. Mention in MAINTAINERS.
Andrew Cagney [Fri, 20 Jul 2001 20:08:08 +0000 (20:08 +0000)]
Clone src/config.guess.  Mention in MAINTAINERS.

23 years ago * dir.cc (readdir): Protect FindNextFileA against INVALID_HANDLE_VALUE.
Corinna Vinschen [Fri, 20 Jul 2001 07:24:02 +0000 (07:24 +0000)]
    * dir.cc (readdir): Protect FindNextFileA against INVALID_HANDLE_VALUE.

23 years agofix typo.
Christopher Faylor [Thu, 19 Jul 2001 15:27:59 +0000 (15:27 +0000)]
fix typo.

23 years agomerge from gcc
DJ Delorie [Thu, 19 Jul 2001 00:04:11 +0000 (00:04 +0000)]
merge from gcc

23 years ago2001-07-18 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Wed, 18 Jul 2001 21:26:59 +0000 (21:26 +0000)]
2001-07-18  Jeff Johnston  <jjohnstn@redhat.com>

        * hp74x/configure: Regenerated with current autoconf.
        * m32r/configure: Ditto.
        * m68k/configure: Ditto.
        * pa/configure: Ditto.
        * sparc/configure: Ditto.

23 years ago* cygheap.cc (_cmalloc): Use correct constants for size calculation.
Christopher Faylor [Wed, 18 Jul 2001 17:05:34 +0000 (17:05 +0000)]
* cygheap.cc (_cmalloc): Use correct constants for size calculation.
* dcrt0.cc (dll_crt0_1): Move uid initialization earlier.
* fork.cc (fork_parent): Move cygheap_setup_in_child to just prior to
CreateProcess so that all contents of cygheap are copied.
* spawn.cc (spawn_guts): Ditto.

23 years ago * security.cc (get_user_groups): Call Net function with NULL server
Corinna Vinschen [Wed, 18 Jul 2001 12:56:26 +0000 (12:56 +0000)]
    * security.cc (get_user_groups): Call Net function with NULL server
        name under specific error conditions.
        (is_group_member): Ditto.
        (get_user_local_groups): Ditto.
        (get_user_primary_group): Ditto.

23 years ago * syscalls.cc (_unlink): Explicitely check for non-existant file.
Corinna Vinschen [Wed, 18 Jul 2001 11:00:05 +0000 (11:00 +0000)]
    * syscalls.cc (_unlink): Explicitely check for non-existant file.

23 years ago* no need to inform sid@sourceware about dejagnu patches.
Frank Ch. Eigler [Tue, 17 Jul 2001 15:20:21 +0000 (15:20 +0000)]
* no need to inform sid@sourceware about dejagnu patches.

23 years ago * delqueue.h: Remove obsolete file.
Corinna Vinschen [Tue, 17 Jul 2001 08:28:27 +0000 (08:28 +0000)]
* delqueue.h: Remove obsolete file.

23 years ago* child_info.h: Bump magic number.
Christopher Faylor [Tue, 17 Jul 2001 03:41:52 +0000 (03:41 +0000)]
* child_info.h: Bump magic number.
(class child_info): Add an element.
* cygheap.cc (init_cheap): Allocate cygwin heap in shared memory area.
(cygheap_fixup_in_child): Map cygwin heap, passed from parent via shared memory
into correct address.
(cygheap_setup_for_child): New function.
* cygheap.h: Declare new functions.
* dcrt0.cc (dll_crt0_1): Accomodate new cygheap_fixup_in_child arguments.
Avoid protecting subproc_ready unless it is spawn/nowait.
* fork.cc (fork_parent): Use new cygheap_setup_for_child function to setup
cygwin heap info.  Close passed cygheap shared memory handle.
* spawn.cc (spawn_guts): Ditto.  Also, reorganize to avoid synchronization
between parent and child in non-P_OVERLAY case.
* sigproc.cc (wait_sig): Only signal subproc_ready when execing.

23 years agoUpdate local local copies of config.sub and config.guess.
Andrew Cagney [Tue, 17 Jul 2001 00:30:00 +0000 (00:30 +0000)]
Update local local copies of config.sub and config.guess.
Mention those files in MAINTAINERS.

23 years ago * grp.cc: Add missing Copyright date 2001.
Corinna Vinschen [Mon, 16 Jul 2001 13:22:29 +0000 (13:22 +0000)]
    * grp.cc: Add missing Copyright date 2001.

23 years ago Change well_known_admin_sid to well_known_admins_sid throughout.
Corinna Vinschen [Sun, 15 Jul 2001 22:40:07 +0000 (22:40 +0000)]
    Change well_known_admin_sid to well_known_admins_sid throughout.
        * sec_acl.cc (setacl): Never set DELETE permission. Set
        FILE_DELETE_CHILD only on readable and executable directories.
        * sec_helper.cc: Add constructor for `well_known_null_sid'.
        * security.cc (get_nt_attribute): Set S_ISVTX for directories if
        FILE_WRITE_DATA and FILE_EXECUTE but not FILE_DELETE_CHILD is set.
        Add evaluation of S_ISVTX, S_ISGID and S_ISUID from NULL ACE.
        (alloc_sd): Never set DELETE permission. Set FILE_DELETE_CHILD
        only on readable and executable directories.
        Add creation of NULL ACE for S_ISVTX, S_ISGID and S_ISUID permissions.
        * security.h: Add extern declaration for `well_known_null_sid'.

23 years ago * regtool.cc (find_key): Handle keys with only one subkey.
Corinna Vinschen [Sun, 15 Jul 2001 11:27:23 +0000 (11:27 +0000)]
    * regtool.cc (find_key): Handle keys with only one subkey.

23 years ago* syscalls.cc (stat_worker): Simplify previous change.
Christopher Faylor [Sat, 14 Jul 2001 00:09:33 +0000 (00:09 +0000)]
* syscalls.cc (stat_worker): Simplify previous change.

23 years ago* syscalls.cc (_unlink): Correct (?) logic which determines when to report an
Christopher Faylor [Fri, 13 Jul 2001 17:22:15 +0000 (17:22 +0000)]
* syscalls.cc (_unlink): Correct (?) logic which determines when to report an
access violation and when to queue file for eventual deletion.
(stat_worker): Check for invalid buf argument.

23 years ago2001-07-12 Aldy Hernandez <aldyh@redhat.com>
Aldy Hernandez [Fri, 13 Jul 2001 15:41:39 +0000 (15:41 +0000)]
2001-07-12  Aldy Hernandez  <aldyh@redhat.com>

        * libc/machine/mips/setjmp.S: Allow mips16 and mips64 to coexist.

23 years ago2001-07-12 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Thu, 12 Jul 2001 21:20:59 +0000 (21:20 +0000)]
2001-07-12  Jeff Johnston  <jjohnstn@redhat.com>

        * opcode/cgen.h (CGEN_INSN): Add regex support.
        (build_insn_regex): Declare.

23 years ago* some support for funny-endian 16/32-bit insn sets
Frank Ch. Eigler [Thu, 12 Jul 2001 02:32:25 +0000 (02:32 +0000)]
* some support for funny-endian 16/32-bit insn sets

[cgen/ChangeLog]
2001-07-11  Frank Ch. Eigler  <fche@redhat.com>

        * desc-cpu.scm (-gen-mach-table-defns): Emit fourth field: the
        mach->cpu insn-chunk-bitsize.
        (-gen-cpu-open): In @arch@_cgen_rebuild_tables, process above new
        field toward CGEN_CPU_TABLE->insn_chunk_bitsize.
        * mach.scm (<cpu>): New field insn-chunk-bitsize.
        (-cpu-parse, -cpu-read): Parse/initialize it.
        * doc/rtl.texi (define-cpu): Document it.

[opcodes/ChangeLog]
2001-07-11  Frank Ch. Eigler  <fche@redhat.com>

        * cgen-dis.in (print_insn): Use cgen_get_insn_value instead of
        bfd_get_bits.
        * cgen-opc.c (cgen_get_insn_value, cgen_put_insn_value): Respect
        non-zero CGEN_CPU_DESC->insn_chunk_bitsize.

[include/opcode/ChangeLog]
2001-07-11  Frank Ch. Eigler  <fche@redhat.com>

        * cgen.h (CGEN_MACH): Add insn_chunk_bitsize field.
        (cgen_cpu_desc): Ditto.

23 years agomerge from gcc
DJ Delorie [Wed, 11 Jul 2001 00:15:17 +0000 (00:15 +0000)]
merge from gcc

23 years ago * mmap.cc (fhandler_disk_file::mmap): Try to open file mappings
Corinna Vinschen [Tue, 10 Jul 2001 21:04:14 +0000 (21:04 +0000)]
    * mmap.cc (fhandler_disk_file::mmap): Try to open file mappings
        by a unified name when running under 9x/ME. If that failes, create
        the file mapping using the unified name.

23 years ago * uinfo.cc (internal_getlogin): Add pointer check.
Corinna Vinschen [Mon, 9 Jul 2001 09:05:17 +0000 (09:05 +0000)]
    * uinfo.cc (internal_getlogin): Add pointer check.

23 years ago * security.cc (alloc_sd): Don't set inheritance attribute for
Corinna Vinschen [Mon, 9 Jul 2001 09:02:41 +0000 (09:02 +0000)]
    * security.cc (alloc_sd): Don't set inheritance attribute for
        permissions given to directories.

23 years ago2001-07-07 Ben Elliston <bje@redhat.com>
Ben Elliston [Fri, 6 Jul 2001 22:14:07 +0000 (22:14 +0000)]
2001-07-07  Ben Elliston  <bje@redhat.com>

* m88k.h: Clean up and reformat. Remove unused code.

23 years agoWinME also affected by missing pipe key
David Starks-Browning [Fri, 6 Jul 2001 00:57:52 +0000 (00:57 +0000)]
WinME also affected by missing pipe key

23 years agoNew entry "Why doesn't Cygwin tcl/tk understand Cygwin paths?"
David Starks-Browning [Fri, 6 Jul 2001 00:40:38 +0000 (00:40 +0000)]
New entry "Why doesn't Cygwin tcl/tk understand Cygwin paths?"

23 years agoNew entry: "Why don't international (8-bit) characters work?"
David Starks-Browning [Fri, 6 Jul 2001 00:30:23 +0000 (00:30 +0000)]
New entry: "Why don't international (8-bit) characters work?"

23 years agoNew "Known Problems" entry: Pipe key doesn't work on non-US kbds on Win9x.
David Starks-Browning [Fri, 6 Jul 2001 00:16:13 +0000 (00:16 +0000)]
New "Known Problems" entry: Pipe key doesn't work on non-US kbds on Win9x.
Some cosmetic changes.

23 years agobetter instructions for installing cygwin snapshots
David Starks-Browning [Thu, 5 Jul 2001 23:58:34 +0000 (23:58 +0000)]
better instructions for installing cygwin snapshots

23 years agoNew entry "Where is the su command?"
David Starks-Browning [Thu, 5 Jul 2001 23:29:43 +0000 (23:29 +0000)]
New entry "Where is the su command?"

23 years agoforce
Christopher Faylor [Thu, 5 Jul 2001 00:38:10 +0000 (00:38 +0000)]
force

23 years ago"How do I rebuild the tools on my NT box?": texi2html now provided.
David Starks-Browning [Wed, 4 Jul 2001 23:36:16 +0000 (23:36 +0000)]
"How do I rebuild the tools on my NT box?":  texi2html now provided.

23 years ago"Why the weird directory structure?": new mount output format.
David Starks-Browning [Wed, 4 Jul 2001 23:30:17 +0000 (23:30 +0000)]
"Why the weird directory structure?": new mount output format.
"Why can't I run bash as a shell under NT Emacs?": new title.

23 years agoUpdate "Can I use setup to install snapshots?" (now 'no') with new instructions.
David Starks-Browning [Wed, 4 Jul 2001 23:21:49 +0000 (23:21 +0000)]
Update "Can I use setup to install snapshots?" (now 'no') with new instructions.

23 years agoAdd caveat that contents list is always out of date.
David Starks-Browning [Wed, 4 Jul 2001 23:00:31 +0000 (23:00 +0000)]
Add caveat that contents list is always out of date.
Remove entry "Setup screwed up my mounts!"

23 years agojust a bit more...
David Starks-Browning [Wed, 4 Jul 2001 22:54:16 +0000 (22:54 +0000)]
just a bit more...

23 years agoAdd more to entry "How do I print under Cygwin"?
David Starks-Browning [Wed, 4 Jul 2001 22:52:58 +0000 (22:52 +0000)]
Add more to entry "How do I print under Cygwin"?

23 years agoAdd apropos and /usr/sbin/makewhatis to "Why doesn't man work?" entry.
David Starks-Browning [Wed, 4 Jul 2001 21:14:41 +0000 (21:14 +0000)]
Add apropos and /usr/sbin/makewhatis to "Why doesn't man work?" entry.

23 years agoRemerge with gcc
Nick Clifton [Sat, 30 Jun 2001 08:58:10 +0000 (08:58 +0000)]
Remerge with gcc

23 years agoAdd DWARF 2.1 attributes
Nick Clifton [Fri, 29 Jun 2001 14:17:31 +0000 (14:17 +0000)]
Add DWARF 2.1 attributes

23 years ago* fhandler_dsp.cc (fhandler_dev_dsp::ioctl): Return 0 for success.
Christopher Faylor [Fri, 29 Jun 2001 02:20:01 +0000 (02:20 +0000)]
* fhandler_dsp.cc (fhandler_dev_dsp::ioctl): Return 0 for success.

23 years agoHandle ARMs with big endian IEEE words but little endian IEEE bytes
Nick Clifton [Thu, 28 Jun 2001 10:40:09 +0000 (10:40 +0000)]
Handle ARMs with big endian IEEE words but little endian IEEE bytes

23 years ago* regtool.cc (find_key): Revert previous change.
Christopher Faylor [Thu, 28 Jun 2001 02:46:11 +0000 (02:46 +0000)]
* regtool.cc (find_key): Revert previous change.

23 years agoChange check_null_empty_path* to check_null_empty_str* throughout.
Christopher Faylor [Thu, 28 Jun 2001 02:19:57 +0000 (02:19 +0000)]
Change check_null_empty_path* to check_null_empty_str* throughout.
* path.cc (path_conv::check): Add signal protection here since retrieving info
about remote shares can take some time.
* path.h (check_null_empty_str_errno): Convert to a function prototype.
* path.cc (check_null_empty_str): Move to miscfuncs.cc.
* miscfuncs.cc (check_null_empty_str_errno): New function.
(__check_null_invalid_struct): Ditto.
(__check_null_invalid_struct_errno): Ditto.
(check_null_empty_str): Change from VirtualQuery to IsBadWritePtr.
* thread.cc (check_valid_pointer): Ditto.
* resource.cc (getrlimit): Use check_null_invalid_struct macro for checking
validity of pointer.
(setrlimit): Ditto.

23 years ago* regtool.cc (find_key): Allow '/' as a synonym for '\\'.
Christopher Faylor [Wed, 27 Jun 2001 17:38:40 +0000 (17:38 +0000)]
* regtool.cc (find_key): Allow '/' as a synonym for '\\'.

23 years ago* fhandler.cc (fhandler_disk_file::fstat): Don't rely on exactly 3 characters
Christopher Faylor [Tue, 26 Jun 2001 21:03:08 +0000 (21:03 +0000)]
* fhandler.cc (fhandler_disk_file::fstat): Don't rely on exactly 3 characters
being read for executable test since we could be checking for less than that.
* syscalls.cc (stat_worker): Try opening the file the "correct" way first so
that #! processing can potentially happen.  If that fails, then use "query
open" method.
* spawn.cc (spawn_guts): Delay processing of signal until after we've notified
parent about reparenting.

23 years agoRemove trailing tabs.
Christopher Faylor [Tue, 26 Jun 2001 14:57:33 +0000 (14:57 +0000)]
Remove trailing tabs.

23 years ago* mmap.cc: Clean up *ResourceLock calls throughout.
Christopher Faylor [Tue, 26 Jun 2001 14:47:48 +0000 (14:47 +0000)]
* mmap.cc: Clean up *ResourceLock calls throughout.
* thread.cc (pthread_cond::TimedWait): Check for WAIT_TIMEOUT as well as
WAIT_ABANDONED.
(__pthread_cond_timedwait): Calculate a relative wait from the abstime
parameter.

23 years agoforced commit
Christopher Faylor [Sun, 24 Jun 2001 22:26:53 +0000 (22:26 +0000)]
forced commit

23 years agoFix typo
Christopher Faylor [Sun, 24 Jun 2001 22:00:04 +0000 (22:00 +0000)]
Fix typo

23 years ago* exceptions.cc (interrupt_setup): Move actions from setup_handler to here.
Christopher Faylor [Sun, 24 Jun 2001 21:57:50 +0000 (21:57 +0000)]
* exceptions.cc (interrupt_setup): Move actions from setup_handler to here.
(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.

23 years ago * fhandler.h class fhandler_socket): Declare new method
Corinna Vinschen [Fri, 22 Jun 2001 20:53:45 +0000 (20:53 +0000)]
    * fhandler.h class fhandler_socket): Declare new method
        `set_close_on_exec'.
        * fhandler_socket.cc (fhandler_socket::set_close_on_exec):
        New method.

23 years ago * fhandler_tape.cc (fhandler_dev_tape::tape_erase): Set size
Corinna Vinschen [Fri, 22 Jun 2001 20:13:00 +0000 (20:13 +0000)]
    * fhandler_tape.cc (fhandler_dev_tape::tape_erase): Set size
        parameter to value expected by GetTapeParameters().

23 years ago * fhandler_console.cc (fhandler_console::read): Detect AltGr more
Corinna Vinschen [Fri, 22 Jun 2001 20:08:06 +0000 (20:08 +0000)]
    * fhandler_console.cc (fhandler_console::read): Detect AltGr more
        robustly on WinNT.

23 years ago2001-06-22 Robert Collins rbtcollins@hotmail.com
Robert Collins [Thu, 21 Jun 2001 22:27:20 +0000 (22:27 +0000)]
2001-06-22  Robert Collins  rbtcollins@hotmail.com

* 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.

23 years ago* fhandler.cc (fhandler_base::open): Work around windows bug when
Egor Duda [Wed, 20 Jun 2001 07:44:33 +0000 (07:44 +0000)]
* fhandler.cc (fhandler_base::open): Work around windows bug when
CreateFile() with dwDesiredAccess == 0 called on remote share returns
valid handle even if file doesn't exist.

23 years ago* fhandler_socket.cc (fhandler_socket::signal_secret_event): New
Egor Duda [Wed, 20 Jun 2001 06:50:13 +0000 (06:50 +0000)]
* fhandler_socket.cc (fhandler_socket::signal_secret_event): New
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.

23 years ago * lib/kernel32.def: Add LanguageGroup and UILanguage symbols.
Earnie Boyd [Tue, 19 Jun 2001 13:49:40 +0000 (13:49 +0000)]
* lib/kernel32.def: Add LanguageGroup and UILanguage symbols.
Thanks to Kevin Chase <kevincha99@hotmail.com>.

This page took 0.063763 seconds and 5 git commands to generate.