]> sourceware.org Git - newlib-cygwin.git/log
newlib-cygwin.git
22 years ago * libc/include/langinfo.h: New file.
Thomas Fitzsimmons [Fri, 23 Aug 2002 01:56:05 +0000 (01:56 +0000)]
* libc/include/langinfo.h: New file.
* libc/include/wchar.h: Likewise.
* libc/include/sys/syslimits.h: Likewise.
* libc/locale/fix_grouping.c: Likewise.
* libc/locale/ldpart.c: Likewise.
* libc/locale/ldpart.h: Likewise.
* libc/locale/lmessages.c: Likewise.
* libc/locale/lmessages.h: Likewise.
* libc/locale/lmonetary.c: Likewise.
* libc/locale/lmonetary.h: Likewise.
* libc/locale/lnumeric.c: Likewise.
* libc/locale/lnumeric.h: Likewise.
* libc/locale/nl_langinfo.3: Likewise.
* libc/locale/nl_langinfo.c: Likewise.
* libc/locale/timelocal.c: Likewise.
* libc/locale/timelocal.h: Likewise.
* libc/stdlib/btowc.c: Likewise.
* libc/stdlib/mbrlen.c: Likewise.
* libc/stdlib/mbrtowc.c: Likewise.
* libc/stdlib/mbsinit.c: Likewise.
* libc/stdlib/mbsrtowcs.c: Likewise.
* libc/stdlib/wcrtomb.c: Likewise.
* libc/stdlib/wcsrtombs.c: Likewise.
* libc/stdlib/wctob.c: Likewise.
* libc/sys/linux/prof-freq.c: Likewise.
* libc/sys/linux/profile.c: Likewise.
* libc/sys/linux/machine/i386/dl-procinfo.c: Likewise.
* libc/sys/linux/machine/i386/dl-procinfo.h: Likewise.
* libc/include/stdlib.h: Change re-entrant functions to take
mbstate_t pointers.
* libc/include/sys/_types.h: Define _mbstate_t.
* libc/include/sys/config.h (MB_LEN_MAX): New macro.
* libc/include/sys/errno.h (EILSEQ): New error code.
* libc/include/sys/reent.h: Include wchar.h.  Change reentrant
structure to use mbstate_t.
* libc/locale/Makefile.am (LIB_SOURCES): Add new files.
* libc/machine/powerpc/vfprintf.c: Use mbstate_t.
* libc/machine/powerpc/vfscanf.c: Likewise.
* libc/stdio/getdelim.c: Reallocate buffer only when necessary.
* libc/stdio/vfprintf.c: Likewise.
* libc/stdio/vfscanf.c: Likewise.
* libc/stdlib/Makefile.am (LIB_SOURCES): Add new files.
* libc/stdlib/mblen.c: Use mbstate_t.
* libc/stdlib/mblen_r.c: Likewise.
* libc/stdlib/mbstowcs.c: Likewise.
* libc/stdlib/mbstowcs_r.c: Likewise.
* libc/stdlib/mbtowc.c: Likewise.
* libc/stdlib/mbtowc_r.c: Likewise.
* libc/stdlib/wcstombs.c: Likewise.
* libc/stdlib/wcstombs_r.c: Likewise.
* libc/stdlib/wctomb_r.c: Likewise.
* libc/sys/linux/Makefile.am (LIB_SOURCES): Add prof-freq.c and
profile.c.
* libc/sys/linux/machine/i386/Makefile.am (LIB_SOURCES): Add
dl-procinfo.c.
* libc/sys/linux/sys/errno.h (EILSEQ): New error code.
* libc/sys/linux/sys/types.h (off_t): Define type.
* testsuite/newlib.locale/UTF-8.c: Change locale name from UTF-8
to C-UTF-8.
* testsuite/newlib.locale/UTF-8.exp: Likewise.

22 years ago* dll.sgml: Remove indirect reference to older gccs.
Christopher Faylor [Wed, 21 Aug 2002 16:02:17 +0000 (16:02 +0000)]
* dll.sgml: Remove indirect reference to older gccs.

22 years ago* dll.sgml: Refine dll build instructions.
Christopher Faylor [Wed, 21 Aug 2002 15:45:04 +0000 (15:45 +0000)]
* dll.sgml: Refine dll build instructions.
* ntsec.html: Correct some typos.

22 years agofix some glitches
Christopher Faylor [Wed, 21 Aug 2002 15:42:18 +0000 (15:42 +0000)]
fix some glitches

22 years ago * include/sys/param.h: New File.
Earnie Boyd [Wed, 21 Aug 2002 12:49:56 +0000 (12:49 +0000)]
* include/sys/param.h: New File.

22 years ago * include/_mingw.h: Increment version to 2.2.
Earnie Boyd [Wed, 21 Aug 2002 12:18:28 +0000 (12:18 +0000)]
* include/_mingw.h: Increment version to 2.2.
Makefile.in: Ditto.

22 years ago * include/commctrl.h (NMCUSTOMDRAW): Fix lItemlParam.
Earnie Boyd [Wed, 21 Aug 2002 12:07:51 +0000 (12:07 +0000)]
* include/commctrl.h (NMCUSTOMDRAW): Fix lItemlParam.
Thanks to: "Phil Dempster" <p_dempster@yahoo.co.uk>.

22 years ago * include/math.h (asm): Change to __asm__ throughout.
Danny Smith [Tue, 20 Aug 2002 23:26:11 +0000 (23:26 +0000)]
* include/math.h (asm): Change to __asm__ throughout.
Expose ISO C99 functions if __GLIBCPP__.
(hypotf): Use hypot, not _hypot in stub..

22 years ago * include/tchar.h: Ansi-fy another comment.
Danny Smith [Tue, 20 Aug 2002 23:08:14 +0000 (23:08 +0000)]
* include/tchar.h: Ansi-fy another comment.

22 years ago * include/tchar.h: Ansi-fy comment.
Danny Smith [Tue, 20 Aug 2002 23:01:42 +0000 (23:01 +0000)]
* include/tchar.h: Ansi-fy comment.

22 years ago * test_headers.c : New file.
Danny Smith [Tue, 20 Aug 2002 22:56:59 +0000 (22:56 +0000)]
* test_headers.c : New file.
* Makefile.in (test_headers): New target, using it,
(SRCDIST_FILES): Distribute it.

22 years ago2002-08-20 Casper S. Hornstrup <chorns@users.sourceforge.net>
Jeff Johnston [Tue, 20 Aug 2002 15:29:30 +0000 (15:29 +0000)]
2002-08-20  Casper S. Hornstrup  <chorns@users.sourceforge.net>

        * libc/stdlib/mallocr.c: #include windows.h on Win32.
          (AlignPage): Continue macro on next line.

22 years ago* Makefile.in (GCC_FOR_TARGET): Prepend STAGE_CC_WRAPPER.
Alexandre Oliva [Tue, 20 Aug 2002 03:04:03 +0000 (03:04 +0000)]
* Makefile.in (GCC_FOR_TARGET): Prepend STAGE_CC_WRAPPER.
* configure.in (CC_FOR_TARGET, GCJ_FOR_TARGET, CXX_FOR_TARGET,
CXX_FOR_TARGET_FOR_RECURSIVE_MAKE): Likewise.

22 years ago2002-08-19 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Tue, 20 Aug 2002 02:16:12 +0000 (02:16 +0000)]
2002-08-19  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/sys/linux/include/pthread.h: New file.

22 years ago2002-08-19 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Tue, 20 Aug 2002 01:40:39 +0000 (01:40 +0000)]
2002-08-19  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/include/sys/types.h: Support __need_inttypes macro
        that only sets the __intxx and __uintxx types.
        * libc/machine/powerpc/Makefile.am: Add stdlib to include directories
        to get mprec.h.
        * libc/machine/powerpc/Makefile.in: Regenerated.
        * libc/machine/powerpc/vfprintf.c: Fix state variable type.
        * libc/machine/powerpc/vfscanf.c: Fix state variable type.  Remove
        redundant fixed-point conversion prototypes.
        * libc/machine/powerpc/machine/stdlib.h[__SPE__]: Include <sys/types.h>
        after setting __need_inttypes.

22 years ago * include/ws2spi.h: Modify comment about being part of
Danny Smith [Tue, 20 Aug 2002 00:59:23 +0000 (00:59 +0000)]
* include/ws2spi.h: Modify comment about being part of
mingw32 package.
(winsock2.h): Change "" to <>.

22 years ago2002-08-20 Casper S. Hornstrup <chorns@users.sourceforge.net>
Danny Smith [Tue, 20 Aug 2002 00:48:23 +0000 (00:48 +0000)]
2002-08-20  Casper S. Hornstrup  <chorns@users.sourceforge.net>

* include/ws2spi.h: New file.
* lib/test.c: Include ws2spi.h.

22 years ago * include/winsock2.h (WSAIsBlocking,WSAUnhookBlockingHook,
Danny Smith [Tue, 20 Aug 2002 00:36:09 +0000 (00:36 +0000)]
* include/winsock2.h (WSAIsBlocking,WSAUnhookBlockingHook,
WSASetBlockingHook,WSACancelBlockingCall): Expose deprecated
functions.

22 years ago2002-08-19 Elena Zannoni <ezannoni@redhat.com>
Elena Zannoni [Mon, 19 Aug 2002 20:55:48 +0000 (20:55 +0000)]
2002-08-19  Elena Zannoni <ezannoni@redhat.com>

        From matthew green  <mrg@redhat.com>

        * ppc.h (PPC_OPCODE_SPE): New opcode flag for Powerpc e500
        instructions.
        (PPC_OPCODE_ISEL, PPC_OPCODE_BRLOCK, PPC_OPCODE_PMR,
        PPC_OPCODE_CACHELCK, PPC_OPCODE_RFMCI): New opcode flags for the
        e500x2 Integer select, branch locking, performance monitor,
        cache locking and machine check APUs, respectively.
        (PPC_OPCODE_EFS): New opcode type for efs* instructions.
        (PPC_OPCODE_CLASSIC): New opcode type for Classic PowerPC instructions.

22 years ago* pinfo.h (pinfo::remember): Arrange for destructor call if proc_subproc
Christopher Faylor [Mon, 19 Aug 2002 14:59:27 +0000 (14:59 +0000)]
* pinfo.h (pinfo::remember): Arrange for destructor call if proc_subproc
returns error.
* sigproc.cc (zombies): Store 1 + total zombies since proc_subproc uses
NZOMBIES element.

22 years ago * pwdgrp.h (pwdgrp_read::pwdgrp_read): Remove.
Corinna Vinschen [Mon, 19 Aug 2002 11:27:18 +0000 (11:27 +0000)]
* pwdgrp.h (pwdgrp_read::pwdgrp_read): Remove.
(pwdgrp_read::~pwdgrp_read): Ditto.
(pwdgrp_read::open): Reset fh to NULL instead of INVALID_HANDLE_VALUE.
(pwdgrp_read::close): Ditto.

22 years ago* fhandler.h (fhandler_console::send_winch_maybe): New method.
Christopher Faylor [Mon, 19 Aug 2002 04:43:58 +0000 (04:43 +0000)]
* fhandler.h (fhandler_console::send_winch_maybe): New method.
* fhandler_console.cc (set_console_state_for_spawn): Remove if 0'ed code.
(fhandler_console::send_winch_maybe): Define new method.
(fhandler_console::read): Use send_winch_maybe where appropriate.
(fhandler_console::init): Just call all tcsetattr rather than output_tcsetattr.
* select.cc (peek_console): Reorganize so that send_winch_maybe is called for
everything but keyboard input.

22 years ago* libc/include/sys/unistd.h: Add getsid declaration for cygwin.
Christopher Faylor [Sun, 18 Aug 2002 06:08:39 +0000 (06:08 +0000)]
* libc/include/sys/unistd.h: Add getsid declaration for cygwin.

22 years ago* perthread.h (vfork_save): Add ctty, sid, pgid, exitval fields.
Christopher Faylor [Sun, 18 Aug 2002 05:49:26 +0000 (05:49 +0000)]
* perthread.h (vfork_save): Add ctty, sid, pgid, exitval fields.
(vfork_save::restore_pid): New method.
(vfork_save::restore_exit): New method.
* fork.cc (vfork): Save ctty, sid, pgid and restore them when returning to
"parent".  Use exitval field if exiting but never created a new process.
* syscalls.cc (setsid): Detect when in "vfork" and force an actual fork so that
pid will be allocated (UGLY!).
(getsid): New function.
* dcrt0.cc (do_exit): Use vfork_save::restore_exit method for returning from a
vfork.
* spawn.cc (spawnve): Use vfork_save::{restore_pid,restore_exit} methods for
returning from vfork.
* cygwin.din: Export getsid.
* include/cygwin/version.h: Bump api minor number.
* malloc.cc: #ifdef sYSTRIm for when MORECORE_CANNOT_TRIM is true.

22 years ago* cygmalloc.h (MORECORE_CANNOT_TRIM): Define.
Christopher Faylor [Sun, 18 Aug 2002 04:14:59 +0000 (04:14 +0000)]
* cygmalloc.h (MORECORE_CANNOT_TRIM): Define.

22 years ago* sigproc.cc (sigCONT): Define.
Christopher Faylor [Sun, 18 Aug 2002 04:13:57 +0000 (04:13 +0000)]
* sigproc.cc (sigCONT): Define.
* sigproc.h (sigCONT): Declare.
(wait_sig): Create sigCONT event here.
* exceptions.cc (sig_handle_tty_stop): Wait for sigCONT event rather than
stopping thread.
(sig_handle): Set sigCONT event as appropriate on SIGCONT rather than calling
ResumeThread.

22 years ago* malloc.cc: Update to 2.7.2.
Christopher Faylor [Sun, 18 Aug 2002 03:28:52 +0000 (03:28 +0000)]
* malloc.cc: Update to 2.7.2.
* malloc_wrapper.cc (malloc_init): Call user level mallocs to determine if the
malloc has been wrapped.

22 years ago* Makefile.in: Change COMPILE_C* definitions.
Christopher Faylor [Sat, 17 Aug 2002 17:12:24 +0000 (17:12 +0000)]
* Makefile.in: Change COMPILE_C* definitions.

22 years ago * include/winuser.h (CURSOR_SHOWING) Add define.
Danny Smith [Sat, 17 Aug 2002 09:41:52 +0000 (09:41 +0000)]
* include/winuser.h (CURSOR_SHOWING) Add define.

22 years ago2002-08-17 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Sat, 17 Aug 2002 06:10:33 +0000 (06:10 +0000)]
2002-08-17  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/include/sys/config.h[__PPC__][__SPE__]: Set
        _LONG_DOUBLE to double.

22 years ago2002-08-17 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Sat, 17 Aug 2002 05:57:20 +0000 (05:57 +0000)]
2002-08-17  Jeff Johnston  <jjohnstn@redhat.com>

        * configure.host: Add powerpc*-*-eabispe* configuration.
        * libc/machine/powerpc/atosfix16.c: New fixed-point conversion file.
        * libc/machine/powerpc/atosfix32.c: Ditto.
        * libc/machine/powerpc/atosfix64.c: Ditto.
        * libc/machine/powerpc/atoufix16.c: Ditto.
        * libc/machine/powerpc/atoufix32.c: Ditto.
        * libc/machine/powerpc/atoufix64.c: Ditto.
        * libc/machine/powerpc/fix64.h: Ditto.
        * libc/machine/powerpc/simdldtoa.c: Ditto.
        * libc/machine/powerpc/strtosfix16.c: Ditto.
        * libc/machine/powerpc/strtosfix32.c: Ditto.
        * libc/machine/powerpc/strtosfix64.c: Ditto.
        * libc/machine/powerpc/strtoufix16.c: Ditto.
        * libc/machine/powerpc/strtoufix32.c: Ditto.
        * libc/machine/powerpc/strtoufix64.c: Ditto.
        * libc/machine/powerpc/ufix64toa.c: Ditto.
        * libc/machine/powerpc/configure.in: Add check for
        powerpc*-eabispe and add fixed-point conversion functions.
        * libc/machine/powerpc/configure: Regenerated.
        * libc/machine/powerpc/vfprintf.c[__SPE__]: Add support for
        %r and %R format specifiers which handle fixed-point data.
        * libc/machine/powerpc/vfscanf.c[__SPE__]: Ditto.
        * libc/machine/powerpc/machine/stdlib.h[__SPE__]: Add fixed-point
        function prototypes.

22 years ago2002-08-17 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Sat, 17 Aug 2002 05:19:18 +0000 (05:19 +0000)]
2002-08-17  Jeff Johnston  <jjohnstn@redhat.com>

        *  Makefile.am: Move cmath stuff into libc/sys/linux.
        *  Makefile.in: Regenerated.
        *  configure.host: Default -DMB_CAPABLE for x86-linux.
        *  libc/include/reent.h: Define _sbrk to take signed int argument.
        *  libc/include/sys/unistd.h: Ditto for _sbrk_r and sbrk.
        *  libc/locale/locale.c[MB_CAPABLE]: Add LC_MESSAGES support and
        make locale name checking more efficient.  Also allow "C-ISO-8859-1"
        locale for LC_CTYPE and LC_MESSAGES.
        *  libc/reent/sbrkr.c: Change prototype to take ptrdiff_t.
        *  libc/sys/linux/brk.c: Change sbrk prototype.
        *  libc/sys/linux/include/time.h: Remove Cygwin stuff and
        include <sys/features.h>.
        (CLOCK_THREAD_CPUTIME): Renamed to CLOCK_THREAD_CPUTIME_ID.
        (CLOCK_PROCESS_CPUTIME): Renamed to CLOCK_PROCESS_CPUTIME_ID.
        *  libc/sys/linux/sys/cdefs.h: Replace with glibc sys/cdefs.h
        with a few local additions.
        *  libc/sys/linux/sys/features.h: New file.
        *  libc/sys/linux/sys/unistd.h: Change _sbrk_r and sbrk prototypes
        to take signed argument.
        *  libc/syscalls/syssbrk.c: Change sbrk, _sbrk_r, and _sbrk
        prototypes to take signed size argument.

22 years ago * include/winerror.h: Cast OLE error codes to HRESULT.
Danny Smith [Sat, 17 Aug 2002 04:42:25 +0000 (04:42 +0000)]
* include/winerror.h: Cast OLE error codes to HRESULT.

22 years agofix typo
Christopher Faylor [Sat, 17 Aug 2002 02:16:25 +0000 (02:16 +0000)]
fix typo

22 years ago* Makefile.in: Change COMPILE_C* definitions.
Christopher Faylor [Sat, 17 Aug 2002 02:15:05 +0000 (02:15 +0000)]
* Makefile.in: Change COMPILE_C* definitions.

22 years ago * libc/sys/linux/cmath: New directory.
Thomas Fitzsimmons [Fri, 16 Aug 2002 21:29:45 +0000 (21:29 +0000)]
* libc/sys/linux/cmath: New directory.
* libc/sys/linux/include/cmathcalls.h: New file.
* libc/sys/linux/include/complex.h: New file.
* libc/sys/linux/machine/i386/huge_val.h: New file
* libm/math/w_sincos.c: New file
* libm/math/wf_sincos.c: New file
* libm/mathfp/s_sincos.c: New file
* libm/mathfp/sf_sincos.c: New file
* Makefile.am (LIBC_OBJECTLISTS): Add cmath/objectlist.awk.in.
* libc/include/math.h: Add sincos and sincosf declarations.
* libc/sys/linux/Makefile.am (SUBDIRS): Add cmath.
(SUBLIBS): Likewise.
* libc/sys/linux/configure.in (AC_OUTPUT): Add cmath.
* libm/math/Makefile.am (src): Add w_sincos.c.
(fsrc): Add wf_sincos.c.
* libm/mathfp/Makefile.am (src): Add s_sincos.c
(fsrc): Add sf_sincos.c.

22 years agoMissed this commit in last checkin.
Christopher Faylor [Fri, 16 Aug 2002 19:50:22 +0000 (19:50 +0000)]
Missed this commit in last checkin.

22 years ago* winsup.h: Remove malloc_*lock functions.
Christopher Faylor [Fri, 16 Aug 2002 19:49:54 +0000 (19:49 +0000)]
* winsup.h: Remove malloc_*lock functions.

22 years ago* Makefile.in: Add support for new malloc.o and renamed malloc_wrapper.o. Use
Christopher Faylor [Fri, 16 Aug 2002 19:41:39 +0000 (19:41 +0000)]
* Makefile.in: Add support for new malloc.o and renamed malloc_wrapper.o.  Use
-fomit-frame-pointer for malloc.o compilation.
* malloc_wrapper.cc: New file.  Rename from malloc.cc.  Add support for more
malloc functions.  Eliminate export_* calls.  Just use straight malloc names.
Remove unused argument from malloc lock functions.
* cygwin.din: Just export straight malloc names.  Add malloc_stats,
malloc_trim, malloc_usable_size, mallopt, memalign, valloc.
* dcrt0.cc (__cygwin_user): Eliminate export_* malloc entries.
* fork.cc (fork_parent): Remove unused argument from malloc_lock argument.
* malloc.cc: New file.  Doug Lea's malloc v2.7.1.
* cygmalloc.h: New file.
* include/cygwin/version.h: Bump API_MINOR.
* sync.h (muto::acquire): Use appropriate number for regparm attribute.
(muto::reset): Ditto.
(muto::release): Ditto.

22 years ago* exceptions.cc (interrupt_setup): Ensure that the previous signal mask is
Christopher Faylor [Fri, 16 Aug 2002 19:07:28 +0000 (19:07 +0000)]
* exceptions.cc (interrupt_setup): Ensure that the previous signal mask is
properly saved.

22 years ago* dcrt0.cc: Modify define for CYGWIN_GUARD.
Christopher Faylor [Thu, 15 Aug 2002 20:34:49 +0000 (20:34 +0000)]
* dcrt0.cc: Modify define for CYGWIN_GUARD.
(alloc_stack_hard_way): Just use CYGWIN_GUARD in VirtualAlloc call.

22 years agopresent tense
Christopher Faylor [Thu, 15 Aug 2002 20:24:16 +0000 (20:24 +0000)]
present tense

22 years agomake comment more accurate.
Christopher Faylor [Thu, 15 Aug 2002 15:46:27 +0000 (15:46 +0000)]
make comment more accurate.

22 years ago * i370.h: Define relocs using reloc-macros.h.
Alan Modra [Thu, 15 Aug 2002 12:19:14 +0000 (12:19 +0000)]
* i370.h: Define relocs using reloc-macros.h.

22 years ago * include/wincrypt.h (ALG_*): Add defines.
Danny Smith [Wed, 14 Aug 2002 23:47:46 +0000 (23:47 +0000)]
* include/wincrypt.h (ALG_*): Add defines.
(CALG_*): Ditto.
(CRYPT_*): Ditto.
(PP_*): Ditto.
(PROV_*): Ditto.
(PRIVATEKEYBLOB): Add define.

22 years ago * include/unistd.h: Add include of process.h.
Earnie Boyd [Wed, 14 Aug 2002 21:08:43 +0000 (21:08 +0000)]
* include/unistd.h: Add include of process.h.

22 years ago * include/shlobj.h (SHGetFolderPath): Add define.
Earnie Boyd [Wed, 14 Aug 2002 16:43:40 +0000 (16:43 +0000)]
* include/shlobj.h (SHGetFolderPath): Add define.
* lib/shell32.def (SHGetSpecialFolderPath): Add export.
(SHGetFolderPath): Ditto.

22 years ago * m68hc11.h (M6812_OP_PAGE): Define to identify call operand.
Stephane Carrez [Tue, 13 Aug 2002 19:00:40 +0000 (19:00 +0000)]
* m68hc11.h (M6812_OP_PAGE): Define to identify call operand.
(M68HC12_BANK_VIRT, M68HC12_BANK_MASK, M68HC12_BANK_BASE,
M68HC12_BANK_SHIFT, M68HC12_BANK_PAGE_MASK): Define for 68HC12
memory banks.
(M6811_OC1M5, M6811_OC1M4, M6811_MODF): Fix value.

22 years ago* regtool.cc (find_key): Add support for custom key separator.
Christopher Faylor [Tue, 13 Aug 2002 15:37:32 +0000 (15:37 +0000)]
* regtool.cc (find_key): Add support for custom key separator.
(usage): Document it.

22 years ago * m68hc11.h (E_M68HC12_BANKS, E_M68HC11_I32, E_M68HC11_F64,
Stephane Carrez [Tue, 13 Aug 2002 13:02:25 +0000 (13:02 +0000)]
* m68hc11.h (E_M68HC12_BANKS, E_M68HC11_I32, E_M68HC11_F64,
EF_M68HC11_ABI): Define for ABI specification.
(STO_M68HC12_FAR, STO_M68HC12_INTERRUPT): Symbol flags for
linker and debugger.
(R_M68HC11_24, R_M68HC11_LO16, R_M68HC11_PAGE): New relocs.
(R_M68HC11_RL_JUMP, R_M68HC11_RL_GROUP): New reloc for linker
relaxation.

22 years ago2002-08-12 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Tue, 13 Aug 2002 00:11:51 +0000 (00:11 +0000)]
2002-08-12  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/sys/linux/machine/i386/crt0.c (__bss_start,_end):
        Declare as extern chars and use the address operator to
        properly use values set in linker script.

22 years ago * include/commdlg.h: Don't include COM headers if __OBJC__.
Danny Smith [Mon, 12 Aug 2002 23:33:10 +0000 (23:33 +0000)]
* include/commdlg.h: Don't include COM headers if __OBJC__.

22 years ago * include/wincrypt.h (CryptDuplicateHash, CryptDuplicateKey):
Danny Smith [Mon, 12 Aug 2002 23:10:16 +0000 (23:10 +0000)]
* include/wincrypt.h (CryptDuplicateHash, CryptDuplicateKey):
Add prototypes.

22 years ago2002-08-12 Andriy Palamarchuk <apa3a@yahoo.com>
Danny Smith [Mon, 12 Aug 2002 22:24:28 +0000 (22:24 +0000)]
2002-08-12  Andriy Palamarchuk  <apa3a@yahoo.com>

* include/shellapi.h (FOF_NOERRORUI): Add define.

22 years ago * fhandler.h (fhandler_socket::recv): Remove method.
Conrad Scott [Mon, 12 Aug 2002 13:54:12 +0000 (13:54 +0000)]
* fhandler.h (fhandler_socket::recv): Remove method.
(fhandler_socket::send): Ditto.
* fhandler_socket.cc (fhandler_socket::recv): Ditto.
(fhandler_socket::send): Ditto.
(fhandler_socket::read): Delegate to fhandler_socket::recvfrom.
(fhandler_socket::write): Delegate to fhandler_socket::sendto.
(fhandler_socket::sendto): Check for null `to' address.
* net.cc (cygwin_sendto): Check for zero request length.
(cygwin_recvfrom): Ditto.  Fix signature, use void *buf.
(cygwin_recv): Delegate to cygwin_recvfrom.
(cygwin_send): Delegate to cygwin_sendto.

22 years ago * include/objidl.h (IEnumMoniker): Put 'interface' back.
Danny Smith [Sun, 11 Aug 2002 21:16:30 +0000 (21:16 +0000)]
* include/objidl.h (IEnumMoniker): Put 'interface' back.

22 years ago* cygthread.cc (cygthread::cygthread): Close another race.
Christopher Faylor [Sun, 11 Aug 2002 19:31:24 +0000 (19:31 +0000)]
* cygthread.cc (cygthread::cygthread): Close another race.

22 years ago* assert.cc (__assert): Call debugger on assertion failure if debugging.
Christopher Faylor [Sun, 11 Aug 2002 19:19:29 +0000 (19:19 +0000)]
* assert.cc (__assert): Call debugger on assertion failure if debugging.
* dcrt0.cc (dll_crt0_1): Just wait for signal thread to go live rather than
going through the overhead of invoking it.
* fork.cc (fork_child): Ditto.
* exceptions.cc (signal_fixup_after_fork): Call sigproc_init here.
* sigproc.cc (proc_can_be_signalled): Assume that the signal thread is live.
(sig_dispatch): Ditto.
(sig_send): Ditto.
(wait_for_sigthread): Renamed from "wait_for_me".  Assume that wait_sig_inited
has been set and that this function is only called from the main thread.
* winsup.h (wait_for_sigthread): Declare new function.

22 years ago * include/objidl.h (IEnumMoniker): Correct declaration.
Danny Smith [Sun, 11 Aug 2002 07:36:43 +0000 (07:36 +0000)]
* include/objidl.h (IEnumMoniker): Correct declaration.

22 years ago * w32sdk: New winsup module.
Earnie Boyd [Sat, 10 Aug 2002 15:07:51 +0000 (15:07 +0000)]
* w32sdk: New winsup module.

22 years ago2002-08-09 Jason Tishler <jason@tishler.net>
Jeff Johnston [Fri, 9 Aug 2002 21:33:29 +0000 (21:33 +0000)]
2002-08-09  Jason Tishler  <jason@tishler.net>

        * libc/stdlib/mallocr.c: Include <limits.h>.
        (request2size): Change macro to do
        unsigned long comparisons and avoid signed overflow.
        (mALLOc): Add overflow check for the number of bytes to allocate.
        (rEALLOc): Ditto.

22 years ago2002-08-09 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Fri, 9 Aug 2002 21:12:09 +0000 (21:12 +0000)]
2002-08-09  Jeff Johnston  <jjohnstn@redhat.com>

        * configure.host: Add check for --enable-newlib-io-pos-args
        and define WANT_IO_POS_ARGS flag if enabled.  Define
        the flag by default for x86-linux configurations.
        * configure.in: Add support for --enable-newlib-io-pos-args.
        * libc/configure.in: Ditto.
        * configure: Regenerated.
        * libc/configure: Ditto.
        * libc/stdio/Makefile.am: Specify -fshort-enums for compiling
        vfprintf.c and vfiprintf.c.
        * libc/stdio/Makefile.in: Regenerated.
        * libc/stdio/vfprintf.c: Add positional argument support that
        is enabled by compiling with -DWANT_IO_POS_ARGS.

22 years ago * include/commctrl.h: Whitespace change.
Danny Smith [Fri, 9 Aug 2002 02:49:38 +0000 (02:49 +0000)]
* include/commctrl.h: Whitespace change.

22 years ago2002-08-09 Mark Schreiber <mark7@users.sourceforge.net>
Danny Smith [Fri, 9 Aug 2002 02:45:50 +0000 (02:45 +0000)]
2002-08-09  Mark Schreiber  <mark7@users.sourceforge.net>

* include/wincrypt.h (CRYPT_NOHASHOID): Add define.

2002-08-09  Danny Smith  <dannysmith@users.sourceforge.net>

* include/commctrl.h: Whitespace change.

22 years ago2002-08-09 Lars Munch <lars@segv.dk>
Danny Smith [Fri, 9 Aug 2002 02:29:57 +0000 (02:29 +0000)]
2002-08-09  Lars Munch  <lars@segv.dk>

* include/commctrl.h (tagTVHITTESTINFO): Replace obsolete
struct name _TVHITTESTINFO and typedefs. Add defines for
backward compatability.
(ListView_SetExtendedListViewStyleEx): Add macro.

22 years ago* environ.cc (parse_options): Remember the "no" part of any options for later
Christopher Faylor [Thu, 8 Aug 2002 18:02:09 +0000 (18:02 +0000)]
* environ.cc (parse_options): Remember the "no" part of any options for later
export.

22 years ago * winsup.h (__check_null_invalid_struct): Make ptr argument non-const.
Conrad Scott [Thu, 8 Aug 2002 17:03:20 +0000 (17:03 +0000)]
* winsup.h (__check_null_invalid_struct): Make ptr argument non-const.
(__check_null_invalid_struct_errno): Ditto.
* miscfuncs.cc (__check_null_invalid_struct): Ditto.
(__check_null_invalid_struct_errno): Ditto.
(__check_invalid_read_ptr_errno): Remove superfluous cast.
* net.cc (get): Set appropriate errno if fd is not a socket.
(cygwin_sendto): Fix parameter checking.
(cygwin_recvfrom): Ditto.
(cygwin_setsockopt): Ditto.
(cygwin_getsockopt): Ditto.
(cygwin_connect): Ditto.
(cygwin_gethostbyaddr): Ditto.
(cygwin_accept): Ditto.
(cygwin_bind): Ditto.
(cygwin_getsockname): Ditto.
(cygwin_listen): Ditto.
(cygwin_getpeername): Ditto.
(cygwin_send): Ditto.
(cygwin_shutdown): Ditto.  Move sigframe to fhandler_socket.
(cygwin_recvmsg): Fix parameter checking.  Add tracing.
(cygwin_sendmsg): Ditto.
* fhandler_socket.cc (fhandler_socket::shutdown): Add sigframe.
* resource.cc (setrlimit): Fix parameter checking.

22 years ago Patch by Joe Buehler <jbuehler@hekimian.com>:
Corinna Vinschen [Thu, 8 Aug 2002 14:16:14 +0000 (14:16 +0000)]
Patch by Joe Buehler  <jbuehler@hekimian.com>:
* sec_helper.cc (sec_acl): remove extraneous arg to debug_printf.

22 years agoCheck symbols with undefine version.
H.J. Lu [Thu, 8 Aug 2002 03:50:17 +0000 (03:50 +0000)]
Check symbols with undefine version.

22 years ago * libc/include/machine/setjmp.h: For mips, define _JBLEN based
Richard Sandiford [Wed, 7 Aug 2002 17:07:42 +0000 (17:07 +0000)]
* libc/include/machine/setjmp.h: For mips, define _JBLEN based
based on __mips_soft_float rather than __mips64.
* libc/machine/mips/setjmp.S: Provide hard and soft float versions
of both 32-bit and 64-bit code.

22 years ago Fix by Conrad Scott <conrad.scott@dsl.pipex.com>:
Corinna Vinschen [Wed, 7 Aug 2002 10:08:17 +0000 (10:08 +0000)]
Fix by Conrad Scott  <conrad.scott@dsl.pipex.com>:
* fhandler_socket.cc (fhandler_socket::accept): Fix FIONBIO call.

22 years agoone more change
Christopher Faylor [Wed, 7 Aug 2002 01:22:56 +0000 (01:22 +0000)]
one more change

22 years ago* cygheap.cc (_csbrk): Avoid !cygheap considerations.
Christopher Faylor [Wed, 7 Aug 2002 01:20:59 +0000 (01:20 +0000)]
* cygheap.cc (_csbrk): Avoid !cygheap considerations.
(cygheap_init): Deal with unintialized cygheap issues here.

22 years agoConrad Scott <conrad.scott@dsl.pipex.com
Christopher Faylor [Tue, 6 Aug 2002 22:05:53 +0000 (22:05 +0000)]
Conrad Scott <conrad.scott@dsl.pipex.com
* cygheap.cc (_csbrk): Allocate some slop initially.  Don't erroneously add
sbrk amount to returned value in initial case.

22 years agoAdd hppa-openbsd target
Nick Clifton [Tue, 6 Aug 2002 09:18:28 +0000 (09:18 +0000)]
Add hppa-openbsd target

22 years ago* spawn.cc (spawn_guts): Don't set mount_h here.
Christopher Faylor [Tue, 6 Aug 2002 05:48:33 +0000 (05:48 +0000)]
* spawn.cc (spawn_guts): Don't set mount_h here.
* sigproc.cc (init_child_info): Set it here instead.
* shared.cc (cygwin_mount_h): Make NO_COPY.

22 years ago* cygthread.cc (cygthread::stub): Accept flag to pass info structure to thread
Christopher Faylor [Tue, 6 Aug 2002 05:08:55 +0000 (05:08 +0000)]
* cygthread.cc (cygthread::stub): Accept flag to pass info structure to thread
function.
(cygthread::operator new): Add defense debugging output.
(cygthread::cygthread): Add debugging output.  Set name after thread has been
awakened to avoid a race.
(cygthread::exit_thread): Use handle operator rather than using ev directly.
(cygthread::exit_thread): Reorganize to provide debugging.  Set __name to NULL.
* cygthread.h (cygself): Define.
* fhandler_tty.cc (fhandler_tty_master::init): Use cygself as argument so that
invoked thread can access its own info.
(process_output): Derive cygthread info of thread from thread argument.
* sigproc.cc (sigproc_init): Use cygself as argument so that invoked thread can
access its own info.
(wait_sig): Derive cygthread info of thread from thread argument.

22 years ago * debug.h (handle_list::allocated): Remove field.
Conrad Scott [Tue, 6 Aug 2002 03:40:40 +0000 (03:40 +0000)]
* debug.h (handle_list::allocated): Remove field.
* debug.cc (newh): Don't malloc extra entries.
(add_handle): Downgrade strace message level.
(delete_handle): Remove case for `allocated' entries.

22 years ago* cygthread.cc (cygthread::stub): Change event creation to manual reset. Set
Christopher Faylor [Mon, 5 Aug 2002 16:15:46 +0000 (16:15 +0000)]
* cygthread.cc (cygthread::stub): Change event creation to manual reset.  Set
__name after calling SetEvent to prevent races.
(cygthread::detach): Always reset event here to prevent races.

22 years ago * include/wingdi.h (AlphaBlend,GradientFill,TransparentBlt):
Danny Smith [Mon, 5 Aug 2002 02:03:24 +0000 (02:03 +0000)]
* include/wingdi.h (AlphaBlend,GradientFill,TransparentBlt):
Add prototypes.
* lib/msimg32.def: New file, with stubs for above.

22 years ago2002-08-04 H.J. Lu (hjl@gnu.org)
H.J. Lu [Sun, 4 Aug 2002 23:15:52 +0000 (23:15 +0000)]
2002-08-04  H.J. Lu  (hjl@gnu.org)

* configure.in (mips*-*-linux*): Don't skip target-libffi.

22 years ago* libc/stdio/popen.c (popen): Allow "rb", "rt", "wb", and "wt" arguments for
Christopher Faylor [Sun, 4 Aug 2002 19:01:56 +0000 (19:01 +0000)]
* libc/stdio/popen.c (popen): Allow "rb", "rt", "wb", and "wt" arguments for
popen to match similar functionality in fopen.

22 years ago * debug.h (WaitForMultipleObjects): Correct typo.
Conrad Scott [Sat, 3 Aug 2002 23:43:42 +0000 (23:43 +0000)]
* debug.h (WaitForMultipleObjects): Correct typo.

22 years agoupdate
Christopher Faylor [Sat, 3 Aug 2002 23:34:01 +0000 (23:34 +0000)]
update

22 years ago* include/stdio.h (_fcloseall): Add prototype.
Danny Smith [Sat, 3 Aug 2002 23:03:37 +0000 (23:03 +0000)]
* include/stdio.h (_fcloseall): Add prototype.

22 years ago * winbase.h (AddAccessAllowedAceEx,AddAccessDeniedAceEx,
Danny Smith [Sat, 3 Aug 2002 22:51:15 +0000 (22:51 +0000)]
* winbase.h (AddAccessAllowedAceEx,AddAccessDeniedAceEx,
GetFileSizeEx, SetFilePointerEx): Add prototypes.
(EncryptFile[AW], FileEncryptionStatus[AW]): Add prototypes
and UNICODE mappings.

22 years ago * mkgroup.c (main): Don't print an entry for "Everyone".
Corinna Vinschen [Fri, 2 Aug 2002 11:14:35 +0000 (11:14 +0000)]
* mkgroup.c (main): Don't print an entry for "Everyone".
* mkpasswd.c (print_special): Set pw_gid to 544 for SYSTEM user.
(main): Don't print an entry for "Everyone".

22 years ago * security.cc (verify_token): Do not reject a token just because
Corinna Vinschen [Fri, 2 Aug 2002 11:00:18 +0000 (11:00 +0000)]
* security.cc (verify_token): Do not reject a token just because
the supplementary group list is missing Everyone or a groupsid
equal to usersid, or because the primary group is not in the token,
as long as it is equal to the usersid.
* syscalls.cc (seteuid32): Use common code for all successful returns.
* grp.cc (getgroups32): Never includes Everyone in the output.

22 years ago * include/winbase.h (ReadFileScatter, WriteFileGather):
Danny Smith [Fri, 2 Aug 2002 08:50:45 +0000 (08:50 +0000)]
* include/winbase.h (ReadFileScatter, WriteFileGather):
Change second parameter to pointer.

22 years ago* cygthread.cc (cygthread::exit_thread): Define new method.
Christopher Faylor [Fri, 2 Aug 2002 02:10:24 +0000 (02:10 +0000)]
* cygthread.cc (cygthread::exit_thread): Define new method.
* cygthread.h (cygthread::exit_thread): Declare new method.
* fhandler.h (fhandler_tty_master::hThread): Delete.
(fhandler_tty_master::output_thread): Define.
* fhandler_tty.cc (fhandler_tty_master::fhandler_tty_master): Adjust
constructor.
(fhandler_tty_master::init): Use cygthread rather than handle.
(process_output): Use cygthread method to exit.
(fhandler_tty_master::fixup_after_fork): Set output_thread to NULL after fork.
(fhandler_tty_master::fixup_after_exec): Set output_thread to NULL after
spawn/exec.
* tty.cc (tty_list::terminate): Detach from output_thread using cygthread
method.

22 years ago* syscalls.cc (_link): Revert previous change and just always dereference the
Christopher Faylor [Thu, 1 Aug 2002 23:53:07 +0000 (23:53 +0000)]
* syscalls.cc (_link): Revert previous change and just always dereference the
oldpath.

22 years ago* syscalls.cc (link): Properly deal with a link to a symlink.
Christopher Faylor [Thu, 1 Aug 2002 21:29:31 +0000 (21:29 +0000)]
* syscalls.cc (link): Properly deal with a link to a symlink.

22 years ago * mips/cfe.ld (STARTUP): New definition.
Thomas Fitzsimmons [Thu, 1 Aug 2002 20:21:23 +0000 (20:21 +0000)]
    * mips/cfe.ld (STARTUP): New definition.
        * mips/ddb-kseg0.ld (STARTUP): Likewise.
        * mips/ddb.ld (STARTUP): Likewise.
        * mips/dve.ld (STARTUP): Likewise.
        * mips/idt.ld (STARTUP): Likewise.
        * mips/jmr3904app-java.ld (STARTUP): Likewise.
        * mips/jmr3904app.ld (STARTUP): Likewise.
        * mips/jmr3904dram-java.ld (STARTUP): Likewise.
        * mips/jmr3904dram.ld (STARTUP): Likewise.
        * mips/lsi.ld (STARTUP): Likewise.
        * mips/nullmon.ld (STARTUP): Likewise.
        * mips/pmon.ld (STARTUP): Likewise.

22 years ago* cygthread.cc: Remove cruft.
Christopher Faylor [Thu, 1 Aug 2002 16:27:29 +0000 (16:27 +0000)]
* cygthread.cc: Remove cruft.

22 years ago* Makefile.in (DLL_OFILES): Add cygthread.o.
Christopher Faylor [Thu, 1 Aug 2002 16:20:31 +0000 (16:20 +0000)]
* Makefile.in (DLL_OFILES): Add cygthread.o.
* dcrt0.cc (dll_crt0_1): Eliminate various thread initialization functions in
favor of new cygthread class.
* debug.cc: Remove thread manipulation functions.
* debug.h: Ditto.
* external.cc (cygwin_internal): Use cygthread method for determining thread
name.  Remove capability for setting thread name.
* fhandler_console.cc (fhandler_console::read): Use cygthread method rather
than iscygthread function.
* fhandler_tty.cc (fhandler_tty_master::fhandler_tty_master): Use cygthread
methods to create threads.
(fhandler_tty_common::__acquire_output_mutex): Use cygthread method to retrieve
thread name.
* select.cc (pipeinf): Use cygthread pointer rather than handle.
(start_thread_pipe): Ditto.
(pipe_cleanup): Ditto.
(serialinf): Ditto.
(start_thread_serial): Ditto.
(serial_cleanup): Ditto.
(socketinf): Ditto.
(start_thread_socket): Ditto.
(socket_cleanup): Ditto.
* sigproc.cc (hwait_sig): Ditto.
(hwait_subproc): Ditto.
(proc_terminate): Ditto.
(sigproc_terminate): Ditto.
(sigproc_init): Initialize cygthread hwait_sig pointer.
(subproc_init): Initialize cygthread hwait_subproc pointer.
(wait_sig): Rely on cygthread HANDLE operator.
* strace.cc (strace::vsprntf): Use cygthread::name rather than threadname.
* window.cc (gethwnd): Use cygthread method to initialize thread.

22 years agoFix typo.
Andreas Schwab [Thu, 1 Aug 2002 12:16:36 +0000 (12:16 +0000)]
Fix typo.

22 years ago * include/wininet.h (InternetReadFileEx[AW]). Add prototypes and
Danny Smith [Thu, 1 Aug 2002 06:52:05 +0000 (06:52 +0000)]
* include/wininet.h (InternetReadFileEx[AW]). Add prototypes and
UNICODE mapings.
* lib/wininet.def: Regenerate.

22 years ago * fhandler.h (fhandler_base::get_r_no_interrupt): Make non-virtual.
Corinna Vinschen [Wed, 31 Jul 2002 13:18:51 +0000 (13:18 +0000)]
* fhandler.h (fhandler_base::get_r_no_interrupt): Make non-virtual.
* net.cc (fdsock): Call set_r_no_interrupt.

22 years agoAdd new field to bfd_link structure and use it to control how common symbols
Nick Clifton [Wed, 31 Jul 2002 12:50:07 +0000 (12:50 +0000)]
Add new field to bfd_link structure and use it to control how common symbols
are extracted from archives.

22 years ago* syscalls.cc (_read): Clarify debugging output.
Christopher Faylor [Wed, 31 Jul 2002 00:57:40 +0000 (00:57 +0000)]
* syscalls.cc (_read): Clarify debugging output.

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