]> sourceware.org Git - newlib-cygwin.git/log
newlib-cygwin.git
21 years ago * configure.in (i[3456]86-*-linux*): Add check to disable
Hans-Peter Nilsson [Thu, 24 Oct 2002 23:31:47 +0000 (23:31 +0000)]
* configure.in (i[3456]86-*-linux*): Add check to disable
${libgcj} for glibc1.

21 years ago* pwdgrp.h (pwdgrp_read::open): Compare fh to INVALID_HANDLE_VALUE.
Christopher Faylor [Thu, 24 Oct 2002 14:33:13 +0000 (14:33 +0000)]
* pwdgrp.h (pwdgrp_read::open): Compare fh to INVALID_HANDLE_VALUE.

21 years ago* ntsec.sgml: Correct some minor grammatical errors.
Joshua Daniel Franklin [Wed, 23 Oct 2002 04:29:46 +0000 (04:29 +0000)]
* ntsec.sgml: Correct some minor grammatical errors.

21 years ago* dll.sgml: Simplify dll build instructions.
Joshua Daniel Franklin [Wed, 23 Oct 2002 03:55:34 +0000 (03:55 +0000)]
* dll.sgml: Simplify dll build instructions.

21 years ago* fhandler_disk_file.cc (fhandler_disk_file::fstat_helper): Nevermind. Revert
Christopher Faylor [Wed, 23 Oct 2002 02:32:34 +0000 (02:32 +0000)]
* fhandler_disk_file.cc (fhandler_disk_file::fstat_helper): Nevermind.  Revert
everything to previous state wrt ntsec and exec bits.

21 years ago* shared.cc (shared_info::initialize): Use correct value for version
Christopher Faylor [Wed, 23 Oct 2002 02:20:38 +0000 (02:20 +0000)]
* shared.cc (shared_info::initialize): Use correct value for version
comparison.
* include/cygwin/version.h (CYGWIN_VERSION_MAGIC): Use all of a DWORD for magic
calculation.

21 years ago* fhandler_disk_file.cc (fhandler_disk_file::fstat_helper): Oops. Only do the
Christopher Faylor [Tue, 22 Oct 2002 21:35:21 +0000 (21:35 +0000)]
* fhandler_disk_file.cc (fhandler_disk_file::fstat_helper): Oops.  Only do the
executable thing for #! scripts since .exe files wouldn't be executable in
ntsec case regardless.

21 years ago* fhandler_disk_file.cc (fhandler_disk_file::fstat_helper): Always consider
Christopher Faylor [Tue, 22 Oct 2002 20:41:31 +0000 (20:41 +0000)]
* fhandler_disk_file.cc (fhandler_disk_file::fstat_helper): Always consider
.exe files and '#!' shell scripts to be executable.

21 years ago* cygthread.cc (cygthread::exiting): New variable.
Christopher Faylor [Tue, 22 Oct 2002 20:16:31 +0000 (20:16 +0000)]
* cygthread.cc (cygthread::exiting): New variable.
(cygthread::initialized): Delete.
(cygthread::stub): Use exiting variable to determine when to exit.
(cygthread::runner): Delete.
(cygthread_protect): New variable.
(cygthread::init): Don't start runner thread.  Initialize muto for list
protection.
(cygthread::freerange): Return pointer to cygthread.
(cygthread::operator new): Change logic to start threads on an as-needed basis.
(cygthread::detach): Don't zero id.
(cygthread::terminate): Don't kill any executing threads.  Just set exiting
flag.
* cygthread.h (cygthread): Reflect above changes.
* dcrt0.cc (dll_crt0_1): Move cygthread initialization later.
* fork.cc (fork_child): Do fdtab fixup after dll fixup or (apparently) winsock
may allocate memory in dll load address.

21 years ago* sec_helper.cc (cygsid::get_id): If the sid matches a sid stored in
Christopher Faylor [Tue, 22 Oct 2002 16:22:10 +0000 (16:22 +0000)]
* sec_helper.cc (cygsid::get_id): If the sid matches a sid stored in
cygheap->user, return the uid or gid from myself.
* security.cc (alloc_sd): If gid == myself->gid, return the group sid from
cygheap->user.  Remove the test for uid == original_uid, which is
counter-productive.

21 years ago* cygheap.cc (cygheap_fixup_in_child): Use user_heap element in cygheap.
Christopher Faylor [Tue, 22 Oct 2002 16:18:55 +0000 (16:18 +0000)]
* cygheap.cc (cygheap_fixup_in_child): Use user_heap element in cygheap.
(init_cheap): Ditto for declaration.
* fork.cc (fork_parent): Use user_heap element in cygheap.
* heap.h (inheap): Ditto.
* heap.cc (sbrk): Ditto.
(heap_init): Ditto.  Reorganize to shrink heap chunk as required and record new
value in cygheap.
* dcrt0.cc (dll_crt0_1): More "move the cygthread init" games.
* shared.cc (open_shared): Rework memory protection to properly deal with
relocated shared segment.
(shared_info::heap_chunk_size): Rename element to 'heap_chunk'.
* shared_info.h (shared_info): Ditto for declaration.
* strace.cc (strace::hello): Report on heap chunk size from cygheap since it
may shrink.

21 years agoChange _function() to function() throughout.
Christopher Faylor [Mon, 21 Oct 2002 01:00:58 +0000 (01:00 +0000)]
Change _function() to function() throughout.
* cygwin.din: Remove last vestiges (?) of newlib wrappers.
* cygthread.cc (cygthread::detach): Always wait for event or suffer an
apparently inavoidable race.
* dcrt0.cc (dll_crt0_1): Allocate threads after stack has been relocated.
* debub.cc (lock_debug): Don't acquire lock on exit.
* fork.cc (fork_child): Recreate mmaps before doing anything else since Windows
has a habit of using blocks of memory in the child that could previously have
been occupied by shared memory in the parent.
* mmap.cc (fhandler_disk_file::fixup_mmap_after_fork): Issue error here and
provide some details about what went wrong.
(fixup_mmaps_after_fork): Remove error message.
* shared.cc (open_shared): Move warning message so that more detail is
possible.
* sigproc.cc (sigproc_init): Initialize sync_proc_subproc to avoid a race.
(sigproc_terminate): Specifically wait for process thread to terminate.

21 years ago* cygthread.cc (cygthread::stub): Fix typo.
Christopher Faylor [Sun, 20 Oct 2002 18:17:43 +0000 (18:17 +0000)]
* cygthread.cc (cygthread::stub): Fix typo.
(cygthread::terminate): Don't zero thread handle prior to using it.

21 years agofix typo
Christopher Faylor [Sun, 20 Oct 2002 04:53:30 +0000 (04:53 +0000)]
fix typo

21 years agomissed checkin
Christopher Faylor [Sun, 20 Oct 2002 04:46:31 +0000 (04:46 +0000)]
missed checkin

21 years agoforce checkin
Christopher Faylor [Sun, 20 Oct 2002 04:42:45 +0000 (04:42 +0000)]
force checkin

21 years agofix typo
Christopher Faylor [Sun, 20 Oct 2002 04:42:13 +0000 (04:42 +0000)]
fix typo

21 years ago2002-10-19 Kang Li <rubylith@users.sourceforge.net>
Danny Smith [Sun, 20 Oct 2002 04:35:58 +0000 (04:35 +0000)]
2002-10-19  Kang Li  <rubylith@users.sourceforge.net>

* include/fcntl.h (O_SEQUENTIAL): Correct typo.

21 years ago2002-10-19 Danny Smith <dannysmith@users.sourceforge.net>
Danny Smith [Sun, 20 Oct 2002 04:30:28 +0000 (04:30 +0000)]
2002-10-19  Danny Smith  <dannysmith@users.sourceforge.net>

* crt1.c: Define new macro __IN_MINGW_RUNTIME before including
stdlib.h. Comment on reason.
Define WIN32_MEAN_AND_LEAN before including windows.h
* include/stdlib.h (_fmode): Protect declaration as dllimported
variable with __IN_MINGW_RUNTIME.

2002-10-19  Igor Pechtchanski  <pechtcha@cs.nyu.edu>

* crt1.c: Include stdlib.h.

21 years ago* sigproc.cc (wait_sig): Remove obsolete sigchld logic.
Christopher Faylor [Sun, 20 Oct 2002 04:17:59 +0000 (04:17 +0000)]
* sigproc.cc (wait_sig): Remove obsolete sigchld logic.

21 years agoRename _kill() to kill() throughout. Rename _raise() to raise() throughout.
Christopher Faylor [Sun, 20 Oct 2002 04:15:50 +0000 (04:15 +0000)]
Rename _kill() to kill() throughout.  Rename _raise() to raise() throughout.
Rename _pid() to pid() throughout.
* Makefile.in: Compile some objects with -fomit-frame-pointer.
* cygwin.din: Reverse aliasing for _kill.
* syscalls.cc (_getpid_r): New function, implemented for newlib compatibility.
* shared.cc (open_shared): Remove reserving of memory since previous change
eliminate the need for this hack.

21 years ago * Makefile.in (CRT0S): Add txtmode.o binmode.o.
Danny Smith [Sat, 19 Oct 2002 20:26:26 +0000 (20:26 +0000)]
* Makefile.in (CRT0S): Add txtmode.o binmode.o.
(MINGW_OBJS): Add txtmode.o.
(SRCDIST_FILES): Add txtmode.c binmode.c.
crt1.c: Don't include fcntrl.h, stdlib.h.
(_fmode): Declare, without dllimport attribute.
(__p__fmode): Declare access function for dll's _fmode.
(_mingw32_init_fmode): Sync dll _fmode with staticly linked
_fmode for app.
* txtmode.c: New file.
* binmode.c: New file.
* samples/fmode/test2.c: New file.
* samples/fmode/jamfile: Add test2.exe target.

21 years ago* fork.cc (fork_child): Move pinfo fixup later to attempt some minor gains from
Christopher Faylor [Sat, 19 Oct 2002 18:29:37 +0000 (18:29 +0000)]
* fork.cc (fork_child): Move pinfo fixup later to attempt some minor gains from
concurrency from cythread::init.

21 years agofix changelog
Christopher Faylor [Sat, 19 Oct 2002 11:59:14 +0000 (11:59 +0000)]
fix changelog

21 years ago* mount.cc (usage): Correctly report default mode.
Christopher Faylor [Sat, 19 Oct 2002 11:41:31 +0000 (11:41 +0000)]
* mount.cc (usage): Correctly report default mode.

21 years ago* dcrt0.cc (dll_crt0_1): Initialize cygwin threads here only when not forking.
Christopher Faylor [Sat, 19 Oct 2002 00:57:06 +0000 (00:57 +0000)]
* dcrt0.cc (dll_crt0_1): Initialize cygwin threads here only when not forking.
* fork.cc (fork_child): Initialize cygwin thread later in process to avoid
allocating memory for thread stacks.
* shared.cc (open_shared): Issue warning if NT and shared segment is relocated.

21 years ago* cygthread.cc: Bump number of cygthreads up to accommodate applications which
Christopher Faylor [Sat, 19 Oct 2002 00:35:20 +0000 (00:35 +0000)]
* cygthread.cc: Bump number of cygthreads up to accommodate applications which
use ttys.

21 years ago* fork.cc (fork_child): Move mmap initialization.
Christopher Faylor [Fri, 18 Oct 2002 23:52:59 +0000 (23:52 +0000)]
* fork.cc (fork_child): Move mmap initialization.
* shared.cc (shared_info::heap_chunk_size): Store info as megabytes.  Search
HKEY_LOCAL_MACHINE as well as HKEY_CURRENT_USER.
* shared_info.h (shared_info::initial_heap_size): Change element name to
reflect new functionality.
* strace.cc (strace::hello): Report on initial heap size.

21 years ago2002-10-18 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Fri, 18 Oct 2002 23:39:07 +0000 (23:39 +0000)]
2002-10-18  Jeff Johnston  <jjohnstn@redhat.com>

        * testsuite/newlib.wctype/tiswctype.c: New test case.
        * testsuite/newlib.wctype/twctrans.c: Ditto.

21 years ago2002-10-18 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Fri, 18 Oct 2002 22:52:40 +0000 (22:52 +0000)]
2002-10-18  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/sys/linux/machine/i386/include/endian.h: New file.
        * libc/sys/linux/machine/i386/include/param.h: Ditto.

21 years ago2002-10-04 Michael Snyder <msnyder@redhat.com>
Jeff Johnston [Fri, 18 Oct 2002 21:09:02 +0000 (21:09 +0000)]
2002-10-04  Michael Snyder  <msnyder@redhat.com>

        * m32r/m32r-lib.c (exceptionHandler): Fix computation of
        exception vector address, as suggested by Mitsubishi.
        (getExceptionVector): Ditto.

21 years ago2002-10-18 Stephane Carrez <stcarrez@nerim.fr>
Jeff Johnston [Fri, 18 Oct 2002 20:54:37 +0000 (20:54 +0000)]
2002-10-18  Stephane Carrez  <stcarrez@nerim.fr>

        * m68hc11/syscalls.c (sbrk): Use ptrdiff_t for increment parameter.

21 years ago2002-10-18 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Fri, 18 Oct 2002 18:19:47 +0000 (18:19 +0000)]
2002-10-18  Jeff Johnston  <jjohnstn@redhat.com>

        * libm/machine/i386/aclocal.m4: Regenerated.
        * libm/machine/i386/configure: Ditto.

21 years ago2002-10-18 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Fri, 18 Oct 2002 18:18:49 +0000 (18:18 +0000)]
2002-10-18  Jeff Johnston  <jjohnstn@redhat.com>

        * testsuite/include/check.h: New header file to use with
        test cases.
        * testsuite/lib/newlib.exp: Add testsuite/include directory
        to list of header files to use.
        * testsuite/newlib.wctype/twctype.c: New test case for iswctype fns.
        * testsuite/newlib.wctype/wctype.exp: New file.

21 years ago* thread.cc (verifyable_object_isvalid): Test for a valid object pointer before
Christopher Faylor [Fri, 18 Oct 2002 14:02:40 +0000 (14:02 +0000)]
* thread.cc (verifyable_object_isvalid): Test for a valid object pointer before
testing for static ptr.

21 years ago* dtable.cc (dtable::init_std_file_from_handle): Force "devices" to always be
Christopher Faylor [Fri, 18 Oct 2002 01:28:48 +0000 (01:28 +0000)]
* dtable.cc (dtable::init_std_file_from_handle): Force "devices" to always be
in binary mode.  Temporary fix until ssh is rebuilt?

21 years ago* dtable.cc (dtable::set_file_pointers_for_exec): New function.
Christopher Faylor [Thu, 17 Oct 2002 17:45:09 +0000 (17:45 +0000)]
* dtable.cc (dtable::set_file_pointers_for_exec): New function.
* dtable.h (dtable::set_file_pointers_for_exec): Declare new function.
* spawn.cc (spawn_guts): Call dtable::set_file_pointers_for_exec to set
pointers to EOF when execing non-cygwin applications.

21 years ago2002-10-17 Robert Collins <rbtcollins@hotmail.com>
Robert Collins [Thu, 17 Oct 2002 08:44:18 +0000 (08:44 +0000)]
2002-10-17  Robert Collins  <rbtcollins@hotmail.com>

        * thread.h (pthread_mutex::isGoodInitializerOrBadObject): Declare.
        * thread.cc (pthread_mutex::isGoodInitializerOrBadObject): Implement.
        (pthread_mutex::init): Use isGoodInitializerOrBadObject to avoid
        unneeded SEGV's during debugging.

21 years ago2002-10-17 Thomas Pfaff <tpfaff@gmx.net>
Robert Collins [Thu, 17 Oct 2002 08:31:30 +0000 (08:31 +0000)]
2002-10-17  Thomas Pfaff  <tpfaff@gmx.net>

* thread.cc (verifyable_object_isvalid): Test for static object first.

21 years ago * include/winuser.h (MONITORINFOEX[AW]): Add structure
Danny Smith [Wed, 16 Oct 2002 22:20:34 +0000 (22:20 +0000)]
* include/winuser.h (MONITORINFOEX[AW]): Add structure
definitions and ANSI/UNICODE mappings.
Cleanup whitespace.

21 years agomerge from gcc
DJ Delorie [Wed, 16 Oct 2002 13:47:35 +0000 (13:47 +0000)]
merge from gcc

21 years ago* fhandler_tty.cc (fhandler_tty_slave::read): Attempt #527 to properly
Christopher Faylor [Wed, 16 Oct 2002 04:54:08 +0000 (04:54 +0000)]
* fhandler_tty.cc (fhandler_tty_slave::read): Attempt #527 to properly
implement VMIN/VTIME.

21 years ago* shared.cc (open_shared): Revert to "old" method for shared memory location if
Christopher Faylor [Tue, 15 Oct 2002 17:04:20 +0000 (17:04 +0000)]
* shared.cc (open_shared): Revert to "old" method for shared memory location if
!wincap.needs_memory_protection.
* wincap.cc: Implement needs_memory_protection throughout.
* wincap.h: Ditto.

21 years ago* child_info.h (CURR_CHILD_INFO_MAGIC): Reset.
Christopher Faylor [Tue, 15 Oct 2002 07:03:45 +0000 (07:03 +0000)]
* child_info.h (CURR_CHILD_INFO_MAGIC): Reset.
(child_info_fork::mount_table): Remove.
(child_info_fork::myself_addr): Remove.
* fork.cc (fork_child): Don't set either of the above.
* dcrt0.cc (dll_crt0_1): Call memory_init as early as possible.
* fhandler_console.cc (console_state): Move to shared_info.h.
(fhandler_console::get_tty_stuff): Reflect open_shared arg change.
* pinfo.cc (myself_addr): Remove definition.
(pinfo::init): Get myself address from open_shared.
* pinfo.h (myself_addr): Remove declaration.
* shared.cc (open_shared): Rework so that known shared memory locations are
protected.  Take shared memory type as fifth argument.
(memory_init): Reflect open_shared arg change.
* shared_info.h (shared_locations): New enum.
(console_state): Move here.
(open_shared): Reflect open_shared arg change in declaration.

21 years ago* child_info.h (CURR_CHILD_INFO_MAGIC): Reset.
Christopher Faylor [Mon, 14 Oct 2002 20:25:52 +0000 (20:25 +0000)]
* child_info.h (CURR_CHILD_INFO_MAGIC): Reset.
(child_info_fork::heaptop): Remove obsolete element.
(child_info_fork::heabbase): Ditto.
(child_info_fork::heapptr): Ditto.
(child_info_fork::mount_table): New element.
(child_info_fork::myself_addr): Ditto.
* dcrt0.cc (dll_crt0_1): Set mount_table and myself_addr when forking.
(initial_env): Add newline to "sleeping" message.
* dll_init.cc (reserve_upto): Accommodate cygwin heap when freeing memory.
Make debugging output a little more descriptive.
* fork.cc (fork_parent): Save mount_table and myself_addr.
* pinfo.cc (myself_addr): New variable.
(set_myself): Pass PID_MYSELF flag to init.
(pinfo::Init): Honor PID_MYSELF.  Save address where myself shared memory
resides in myself_addr, for fork.
* pinfo.h (myself_addr): Declare.
* shared.cc (memory_init): On fork, use previously saved address for location
of mount table.
* include/sys/cygwin.h (PID_MYSELF): New value.
* dtable.cc (dtable::stdio_init): Don't pass access type to
init_std_file_from_handle.  It's always the same.
(dtable::init_std_file_from_handle): Remove access type argument.  Assume
read/write.
* dtable.h (dtable::init_std_file_from_handle): Ditto for declaration.
* exceptions.cc (try_to_debug): Don't try to debug if already being debugged.
* fhandler_console.cc (shared_console_info_save): New variable.
(fhandler_console::get_tty_stuff): Save address of shared console stuff for
fork.

21 years ago * Makefile.in: Add components for lib/ddk. Adjust for autoconf-2.53.
Earnie Boyd [Mon, 14 Oct 2002 19:59:04 +0000 (19:59 +0000)]
* Makefile.in: Add components for lib/ddk.  Adjust for autoconf-2.53.
* configure.in: Ditto.
* lib/Makefile.in: Ditto.
* lib/ddk/Makefile.in: Correct installation procedure.  Adjust for
autoconf-2.53.
* configure: Regenerate.

21 years ago * cgen.h: Test __BFD_H_SEEN__ rather than BFD_VERSION_DATE.
Alan Modra [Mon, 14 Oct 2002 10:55:14 +0000 (10:55 +0000)]
* cgen.h: Test __BFD_H_SEEN__ rather than BFD_VERSION_DATE.

21 years ago* cygthread.cc (cygthread::stub): Reintroduce clearing of __name but do it
Christopher Faylor [Mon, 14 Oct 2002 03:51:44 +0000 (03:51 +0000)]
* cygthread.cc (cygthread::stub): Reintroduce clearing of __name but do it
before SetEvent to eliminate a race.
(cygthread::terminate): Accumulate list of threads to check for termination and
call WaitForMultipleObjects on list rather than waiting for each thread
individually.
* sigproc.cc (subproc_init): Zap hwait_subproc thread handle since it is no
longer used.
* spawn.cc (spawn_guts): Fix so that cygthread::terminate is *really* called
only for exec.

21 years ago* cygthread.cc (cygthread::stub): Don't zero __name here. That introduces a
Christopher Faylor [Mon, 14 Oct 2002 02:37:49 +0000 (02:37 +0000)]
* cygthread.cc (cygthread::stub): Don't zero __name here.  That introduces a
race.

21 years ago * include/windows.h: Don't include basetyps.h.
Danny Smith [Mon, 14 Oct 2002 02:12:51 +0000 (02:12 +0000)]
* include/windows.h: Don't include basetyps.h.
* include/objfwd.h: Do include basetyps.h.

21 years ago* include/cygwin/version.h: Bump DLL minor number.
Christopher Faylor [Mon, 14 Oct 2002 00:06:33 +0000 (00:06 +0000)]
* include/cygwin/version.h: Bump DLL minor number.

21 years ago* cygthread.cc (cygthread::stub): Don't create event for long-running threads.
Christopher Faylor [Sun, 13 Oct 2002 18:16:33 +0000 (18:16 +0000)]
* cygthread.cc (cygthread::stub): Don't create event for long-running threads.
Initialize thread_sync event here which is used to Suspend using an event
rather than relying on SuspendThread/ResumeThread.
(cygthread::init): Save handle to runner thread for future termination.
(cygthread::cygthread): Only resume thread when it is actually suspended.
Otherwise signal thread completion event.
(cygthread::terminate): Forcibly terminate runner thread and any helper
threads.  Call DisableThreadLibrary calls if execing.
* cygthread.h (cygthread::thread_sync): Declare.
* dcrt0.cc (do_exit): Eliminate calls to obsolete window_terminate and
shared_terminate.
* exceptions.cc (events_terminate): Don't bother closing title_mutex since it
is going away anyway.
* pinfo.cc (_pinfo::exit): Call cygthread::terminate to ensure that threads are
shut down before process exit or otherwise strange races seem to occur.
* shared.cc (shared_terminate): Eliminate.
* shared.h (shared_terminate): Eliminate declaration.
* winsup.h (window_terminate): Eliminate declaration.
* spawn.cc (spawn_guts): Call cygthread::terminate early in process if execing.
Call DisableThreadLibrary calls if execing.
* window.cc (Winmain): Call ExitThread to force exit.
(window_terminate): Eliminate.
* dcrt0.cc (do_exit): Track exit state more closely.

21 years ago * include/objbase.h: Include rpc.h and rpcndr.h
Danny Smith [Sun, 13 Oct 2002 03:11:58 +0000 (03:11 +0000)]
* include/objbase.h: Include rpc.h and rpcndr.h
before header guard.

21 years ago * sh.h: Add SH TLS relocs.
Kaz Kojima [Fri, 11 Oct 2002 14:36:03 +0000 (14:36 +0000)]
* sh.h: Add SH TLS relocs.

21 years agoFix attribution. (Tsk, tsk. Force of habit, sorry.)
Richard Sandiford [Fri, 11 Oct 2002 10:30:49 +0000 (10:30 +0000)]
Fix attribution.  (Tsk, tsk.  Force of habit, sorry.)

21 years ago * libc/include/sys/config.h (SIZE_T_SMALLER_THAN_LONG): Undefine.
Richard Sandiford [Fri, 11 Oct 2002 10:28:30 +0000 (10:28 +0000)]
* libc/include/sys/config.h (SIZE_T_SMALLER_THAN_LONG): Undefine.
* libc/stdlib/mallocr.c (long_sub_size_t): Define in a way that
doesn't require the SIZE_T_SMALLER_THAN_LONG macro.

21 years ago * include/olectl.h (PROPPAGEINFO): Change type of
Danny Smith [Fri, 11 Oct 2002 03:40:06 +0000 (03:40 +0000)]
* include/olectl.h (PROPPAGEINFO): Change type of
field cb to ULONG.

21 years ago2002-10-11 Steven Edwards <Steven_Ed4153@yahoo.com>
Danny Smith [Fri, 11 Oct 2002 03:38:14 +0000 (03:38 +0000)]
2002-10-11  Steven Edwards  <Steven_Ed4153@yahoo.com>

* lib/ntdll.def (RtlAcquireResourceExclusive,
RtlAcquireResourceShared, RtlDeleteResource,
RtlInitializeResource, RtlReleaseResource,
RtlTimeToSecondsSince1970) : Added missing exports.
* include/olectl.h (PROPPAGEINFO): Change type of
field cb to ULONG.

21 years ago * include/stdint.h (INT64_C, UINT64_C ): Append suffix to let
Danny Smith [Fri, 11 Oct 2002 02:21:56 +0000 (02:21 +0000)]
* include/stdint.h (INT64_C, UINT64_C ): Append suffix to let
macros work with C89.
(INTMAX_C, UINTMAX_C): Likewise.

21 years ago * include/string.h (strcasecmp): Make extern __inline__.
Danny Smith [Fri, 11 Oct 2002 01:41:31 +0000 (01:41 +0000)]
* include/string.h (strcasecmp): Make extern __inline__.
(strncasecmp): Likewise.
(wcscmpi): Likewise.

21 years ago* window.cc (gethwnd): Use SetThreadPriority method.
Christopher Faylor [Thu, 10 Oct 2002 05:31:43 +0000 (05:31 +0000)]
* window.cc (gethwnd): Use SetThreadPriority method.

21 years ago* Makefile.in (new-cygwin1.dll): Reorganize library order.
Christopher Faylor [Thu, 10 Oct 2002 05:23:23 +0000 (05:23 +0000)]
* Makefile.in (new-cygwin1.dll): Reorganize library order.
* dcrt0.cc (do_exit): Move thread stuff after vfork stuff or threads are
terminated during vfork.
* sigproc.cc (proc_terminate): Grab proc lock prior to signalling subproc
thread exit to avoid an extra "wait-for-thread-to-exit".

21 years ago* cygthread.cc (cygthread::stub): Don't create an event for "cygself" threads.
Christopher Faylor [Wed, 9 Oct 2002 05:55:40 +0000 (05:55 +0000)]
* cygthread.cc (cygthread::stub): Don't create an event for "cygself" threads.
Assume that they exit via an ExitThread call.
* cygthread.h (cygthread::SetThreadPriority): New function.
(cygthread::zap_h): New function.
* dcrt0.cc (do_exit): Move cygthread::terminate earlier and establish
exit_state guard.
* fhandler.h (fhandler_tty_master::output_thread): Delete.
* fhandler_tty.cc (fhandler_tty_master::init): Set priority for threads via
method.  Zap handles when done.  Don't treat process_output specially.
(process_output): Call ExitThread directly.
(fhandler_tty_master::fixup_after_fork): Don't worry about output_thread.
(fhandler_tty_master::fixup_after_exec): Ditto.
* sigproc.cc (proc_terminate): Don't detach from hwait_subproc.  Just let it
exit.
(sigproc_init): Close thread handle after initialization.
(wait_sig): Use GetCurrentThread() as SetThreadPriority call rather than
*event* handle.  Call ExitThread directly on termination.
(wait_subproc): Call ExitThread directly on termination.
* tty.cc (tty_list::terminate): Don't attempt t detach from output_thread.

21 years ago* cygheap.cc (dup_now): Make fatal error a little more informative.
Christopher Faylor [Wed, 9 Oct 2002 04:08:05 +0000 (04:08 +0000)]
* cygheap.cc (dup_now): Make fatal error a little more informative.
(cygheap_setup_for_child): Detect when default size of shared region is less
than the current size and allocate that much.
(_cbrk): Just return NULL on inability to allocate.
(_cmalloc): Ditto.
* cygheap.h (CYGHEAPSIZE): Change size to reflect newer, tinier fhandler sizes.
* spawn.cc (av::error): New element, reflects potential errno from cmalloc.
(av::~av): Don't free NULL pointers.
(av::replace0_maybe): Detect out-of-memory conditions.
(av::dup_maybe): Ditto.
(av::dup_all): Ditto.
(av::unshift): Ditto.
(spawn_guts): Set errno and return if argv creation ran into problems.
* fhandler.h (fhandler_union): Change member names to something safer.
* fhandler_console.cc (fhandler_console::get_tty_stuff): Always set
fhandler_console::dev_state regardless of whether shared region is initialized.
* cygthread.cc (cygthread::runner): Use ExitThread rather than return
(planning for future).

21 years ago2002-10-08 Heiko Gerdau <hg@technosis.de>
Danny Smith [Wed, 9 Oct 2002 00:16:22 +0000 (00:16 +0000)]
2002-10-08  Heiko Gerdau  <hg@technosis.de>

* include/oleacc.h: New file.
* include/winuser.h (ENDSESSION_LOGOFF) Add define.
(OBJID_*) Add defines.
* lib/uuid.c: Add DEFINE_GUID for IID_IAccessible.
* lib/test.c: Include oleacc.h.

21 years ago2002-10-08 Heiko Gerdau <hg@technosis.de>
Danny Smith [Tue, 8 Oct 2002 20:28:14 +0000 (20:28 +0000)]
2002-10-08  Heiko Gerdau  <hg@technosis.de>

* include/tchar.h (_tchdir. _tgetcwd, _tgetdcwd.
_tmkdir, _trmdir, _tstat): Add ASCII and UNICODE
mappings.

21 years ago2002-10-07 Joel Sherrill <joel@OARcorp.com>
Joel Sherrill [Tue, 8 Oct 2002 13:09:05 +0000 (13:09 +0000)]
2002-10-07 Joel Sherrill <joel@OARcorp.com>

* libc/sys/rtems/crt0.c: Add even more symbols so gcc() can link
dummy programs.

21 years ago2002-10-07 Joel Sherrill <joel@OARcorp.com>
Joel Sherrill [Tue, 8 Oct 2002 13:03:07 +0000 (13:03 +0000)]
2002-10-07 Joel Sherrill <joel@OARcorp.com>

* libc/include/pthread.h: Define PTHREAD_CANCELED.

21 years ago2002-10-07 Joel Sherrill <joel@OARcorp.com>
Joel Sherrill [Tue, 8 Oct 2002 13:01:02 +0000 (13:01 +0000)]
2002-10-07 Joel Sherrill <joel@OARcorp.com>

* libc/machine/hppa/DEFS.h, libc/machine/hppa/pcc_prefix.s,
libc/machine/hppa/setjmp.S, libc/machine/hppa/DEFS.h: Make this
compile with current GNU tools.

21 years ago* fhandler.h (dev_console): New class.
Christopher Faylor [Tue, 8 Oct 2002 06:16:16 +0000 (06:16 +0000)]
* fhandler.h (dev_console): New class.
(fhandler_console::dev_state): New class element.
(fhandler_console::mouse_aware): Use dev_state element.
(fhandler_console::get_tty_stuff): Declare new function.
* fhandler_console.cc: Use dev_state fhandler_console element, throughout.
(fhandler_console::get_tty_stuff): Move to fhandler_console class.  Incorporate
dev_console information.  Move constructor stuff here.

21 years ago* dtable.cc (dtable::init_std_file_from_handle): Try to mimic standard open
Christopher Faylor [Tue, 8 Oct 2002 02:44:35 +0000 (02:44 +0000)]
* dtable.cc (dtable::init_std_file_from_handle): Try to mimic standard open
behavior with files redirected from stdin/stdout/stderr, i.e., fmode settings
take precedence over mount settings.

21 years ago2002-10-07 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Mon, 7 Oct 2002 23:10:13 +0000 (23:10 +0000)]
2002-10-07  Jeff Johnston  <jjohnstn@redhat.com>

        * Makefile.am: Add EXTRA_DIRS to allow future dependencies on
        the build library.
        * configure.in: Ditto.
        * Makefile.in: Regenerated.
        * configure: Ditto.
        * libc/sys/linux/Makefile.am: Add EXTRA_SUBDIRS and EXTRA_SUBLIBS
        for specifying configured libraries/directories.
        * libc/sys/linux/configure.in: Ditto.
        * libc/sys/linux/Makefile.in: Regenerated.
        * libc/sys/linux/configure: Ditto.

21 years ago* dtable.cc (unknown_file): New variable.
Christopher Faylor [Mon, 7 Oct 2002 20:06:16 +0000 (20:06 +0000)]
* dtable.cc (unknown_file): New variable.
(dtable::init_std_file_from_handle): Don't set binmode if we couldn't determine
the actual file name on stdin/stdout/stderr.
(handle_to_fn): Return unknown_file when can't determine filename.

21 years agoAdd tic4x target.
Nick Clifton [Mon, 7 Oct 2002 16:40:56 +0000 (16:40 +0000)]
Add tic4x target.

21 years ago * mips/ddb.ld: KEEP .init and .fini.
Richard Sandiford [Mon, 7 Oct 2002 16:24:00 +0000 (16:24 +0000)]
* mips/ddb.ld: KEEP .init and .fini.
* mips/ddb-kseg0.ld: Likewise.

21 years ago* dcrt0.cc (do_exit): Call DisableThreadLibraryCalls since we don't need to
Christopher Faylor [Mon, 7 Oct 2002 04:12:54 +0000 (04:12 +0000)]
* dcrt0.cc (do_exit): Call DisableThreadLibraryCalls since we don't need to
track thread detaches.
* init.cc (dll_entry): Reorganize slightly.  Fix api_fatal message.

21 years ago * mingwex/math/powil.c: Rename powil to __powil.
Danny Smith [Sun, 6 Oct 2002 23:26:43 +0000 (23:26 +0000)]
* mingwex/math/powil.c: Rename powil to __powil.
* mingwex/math/powl.c: Adjust declaration and call
to __powil. Remove comment on powil.
* mingwex/math/powi.c: New file.
* mingwex/math/powif.c: New file.
* mingwex/math/pow.c: New file.
* mingwex/math/cephes_mconf.h. Add double and float
versions of constants.
(polevl): Add double precision function.
(p1evl): Likewise.
* mingwex/Makefile.in (MATH_DISTFILES): Add pow.c,
powi.c, powif.c.
(MATH_OBJS): Add pow.o, powi.o, powif.o.

21 years ago2002-10-06 Casper Hornstrup <chorns@it.dk>
Earnie Boyd [Sun, 6 Oct 2002 22:18:26 +0000 (22:18 +0000)]
2002-10-06  Casper Hornstrup  <chorns@it.dk>

* include/ddk: New subdir.
* lib/ddk: Ditto.
* include/ddk/(atm.h, batclass.h, cfg.h, cfgmgr32.h, d4drvif.h,
d4iface.h, ddkmapi.h, hidclass.h, hidpi.h, hidusage.h, mcd.h,
miniport.h, minitape.h, mountdev.h, mountmgr.h, ndis.h,
ndisquid.h, ndistapi.h, ndisvan.h, netevent.h, netpnp.h,
netdev.h, ntapi.h, ntdd8042.h, ntddbeep.h, ntddcdrm.h,
ntddcdvd.h, ntddchgr.h, ntdddisk.h, ntddk.h, ntddkbd.h,
ntddmou.h, ntddndis.h, ntddpar.h, ntddpcm.h, ntddscsi.h,
ntddser.h, ntddstor.h, ntddtape.h, ntddtdi.h, ntddvdeo.h,
ntddvol.h, ntifs.h, ntpoapi.h, ntstatus.h, parallel.h, pfhook.h,
poclass.h, scsi.h, scsiscan.h, scsiwmi.h, smbus.h, srb.h,
storport.h, tdi.h, tdiinfo.h, tdikrnl.h, tdistat.h, tvout.h,
upssvc.h, usb.h, usb100.h, usbcamdi.h, usbdi.h, usbioctl.h,
usbiodef.h, usbscan.h, usbuser.h, video.h, videoagp.h, win2k.h,
winddi.h, winddk.h, winnt4.h, winxp.h, ws2san.h,
xfilter.h): New files.
* lib/ddk/(Makefile.in, apcups.def, cfgmgr32.def, dxapi.def,
hal.def, hid.def, hidparse.def, mcd.def, ndis.def, ntoskrnl.def,
scsiport.def, tdi.def, usbcamd.def, usbcamd2.def, videoprt.def,
win32k.def): Ditto.

21 years ago* cygthread.cc (cygthread::stub): Very minor cleanup.
Christopher Faylor [Sun, 6 Oct 2002 01:01:58 +0000 (01:01 +0000)]
* cygthread.cc (cygthread::stub): Very minor cleanup.
(cygthread::stub): Report overflows in cygwin thread pool when DEBUGGING is on
and special environment variable is not set.
(cygthread::terminate): Set event only when event actually exists.
* exceptions.cc (signal_exit): Set priority of main thread to low before
setting current thread to high.

21 years agowhitespace
Christopher Faylor [Sat, 5 Oct 2002 17:47:25 +0000 (17:47 +0000)]
whitespace

21 years ago2002-10-04 Steven Edwards <Steven_Ed4153@yahoo.com>
Danny Smith [Fri, 4 Oct 2002 04:39:26 +0000 (04:39 +0000)]
2002-10-04  Steven Edwards  <Steven_Ed4153@yahoo.com>

* lib/ntdll.def (NtAccessCheck, NtAdjustPrivilegesToken,
NtCreateKey, NtDeleteKey, NtDeleteValueKey, NtEnumerateKey,
NtEnumerateValueKey, NtOpenKey, NtOpenProcessToken,
NtOpenThreadToken, NtQueryInformationToken, NtQueryKey,
NtQueryValueKey, NtSetSecurityObject, NtSetValueKey,
RtlAddAccessAllowedAce, RtlCreateAcl,
RtlCreateSecurityDescriptor, RtlCreateUnicodeStringFromAsciiz,
RtlGetAce, RtlGetControlSecurityDescriptor,
RtlGetDaclSecurityDescriptor,RtlGetGroupSecurityDescriptor,
RtlGetOwnerSecurityDescriptor,RtlGetSaclSecurityDescriptor,
RtlImpersonateSelf, RtlIsTextUnicode, RtlLargeIntegerAdd,
RtlLengthSecurityDescriptor, RtlMakeSelfRelativeSD,
RtlMultiByteToUnicodeN RtlMultiByteToUnicodeSize,
RtlOpenCurrentUser, RtlSetDaclSecurityDescriptor,
RtlSetGroupSecurityDescriptor, RtlSetOwnerSecurityDescriptor,
RtlSetSaclSecurityDescriptor, RtlValidSecurityDescriptor,
ZwAccessCheck, ZwAdjustPrivilegesToken, ZwCreateKey,
ZwDeleteValueKey, ZwEnumerateKey, ZwEnumerateValueKey,
ZwOpenKey, ZwOpenProcessToken, ZwOpenThreadToken,
ZwQueryInformationToken, ZwQueryKey, ZwQueryValueKey
ZwSetSecurityObject, ZwSetValueKey): Added missing exports.

ChangeLog whitespace cleanup.

21 years ago2002-10-04 "KJK::Hyperion" <noog@libero.it>
Danny Smith [Fri, 4 Oct 2002 04:25:00 +0000 (04:25 +0000)]
2002-10-04  "KJK::Hyperion"  <noog@libero.it>

*include/windef.h (WPARAM): Update typedef.
(LPARAM): Ditto.
(LRESULT): Ditto.

21 years ago2002-10-04 "KJK::Hyperion" <noog@libero.it>
Danny Smith [Fri, 4 Oct 2002 04:18:55 +0000 (04:18 +0000)]
2002-10-04  "KJK::Hyperion"  <noog@libero.it>

* include/shlobj.h (CSIDL_*): Add defines.

21 years ago2002-10-03 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Thu, 3 Oct 2002 19:33:08 +0000 (19:33 +0000)]
2002-10-03  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/include/reent.h: Update documentation at start of file.

21 years ago2002-10-03 Nathanael Nerode <neroden@gcc.gnu.org>
Nathanael Nerode [Thu, 3 Oct 2002 19:08:53 +0000 (19:08 +0000)]
2002-10-03  Nathanael Nerode  <neroden@gcc.gnu.org>

* Makefile.tpl: Make SET_LIB_PATH substitution more autoconfy.
* Makefile.tpl: Make RPATH_ENVVAR substitution more autoconfy.
* configure.in: Make SET_LIB_PATH substitution more autoconfy.
* configure.in: Make RPATH_ENVVAR substitution more autoconfy.
* Makefile.in: Regenerate.

21 years ago * include/cytpe.h (_imp____mbcur_max): Add missing ';'.
Danny Smith [Thu, 3 Oct 2002 00:51:25 +0000 (00:51 +0000)]
* include/cytpe.h (_imp____mbcur_max): Add missing ';'.
(_imp____mbcur_max_dll): Likewise.

21 years ago * include/fcntl.h (_fmode): Remove declarations and
Danny Smith [Thu, 3 Oct 2002 00:49:21 +0000 (00:49 +0000)]
* include/fcntl.h (_fmode): Remove declarations and
compatibility defines.
(_setmode, setmode): Remove prototypes.
* include/stdlib (_fmode): Add declarations and
compatibility defines.  Change type to int.
* include/io.h (_setmode, setmode): Add prototypes.
* samples/fmode/all.c: Adjust includes.
* samples/fmode/test.c: Likewise.
* crt1.c (_CRT_fmode): Declare as int.
* CRTfmode.c (_CRT_fmode): Likewise.

* include/stdlib: Remove comment about MB_CUR_MAX.

21 years ago2002-10-02 Nathanael Nerode <neroden@gcc.gnu.org>
Nathanael Nerode [Wed, 2 Oct 2002 19:14:25 +0000 (19:14 +0000)]
2002-10-02  Nathanael Nerode  <neroden@gcc.gnu.org>

* Makefile.tpl: Eliminate reference to all-gui, all-libproc.
* Makefile.in: Regenerate.

21 years ago2002-10-02 Nathanael Nerode <neroden@gcc.gnu.org>
Nathanael Nerode [Wed, 2 Oct 2002 06:29:04 +0000 (06:29 +0000)]
2002-10-02  Nathanael Nerode  <neroden@gcc.gnu.org>

* Makefile.def: Remove order dependency comments.
* Makefile.tpl: Add explicit install-install dependencies.
* Makefile.in: Regenerate.

21 years ago2002-10-02 Nathanael Nerode <neroden@gcc.gnu.org>
Nathanael Nerode [Wed, 2 Oct 2002 06:22:08 +0000 (06:22 +0000)]
2002-10-02  Nathanael Nerode  <neroden@gcc.gnu.org>

* Makefile.tpl: Remove material now in src-release.  (Finally!)
* Makefile.in: Regenerate.

21 years ago2002-10-02 Nathanael Nerode <neroden@gcc.gnu.org>
Nathanael Nerode [Wed, 2 Oct 2002 05:37:46 +0000 (05:37 +0000)]
2002-10-02  Nathanael Nerode  <neroden@gcc.gnu.org>

* configure: Restore my original patch by syncing with gcc version.

21 years ago2002-10-02 Nathanael Nerode <neroden@gcc.gnu.org>
Nathanael Nerode [Wed, 2 Oct 2002 05:22:11 +0000 (05:22 +0000)]
2002-10-02  Nathanael Nerode  <neroden@gcc.gnu.org>

* Bring following over from gcc:

2002-09-30  Ulrich Weigand  <uweigand@de.ibm.com>

* configure.in (s390*-*-linux*): Enable libgcj.

21 years ago2002-10-02 Nathanael Nerode <neroden@gcc.gnu.org>
Nathanael Nerode [Wed, 2 Oct 2002 04:40:23 +0000 (04:40 +0000)]
2002-10-02  Nathanael Nerode  <neroden@gcc.gnu.org>

* Makefile.in: Regenerate.  This really ought to fix things. :sigh:

21 years ago * configure: Move stray lines back to where they belong.
Alan Modra [Wed, 2 Oct 2002 03:47:32 +0000 (03:47 +0000)]
* configure: Move stray lines back to where they belong.

21 years ago * include/stdlib.h (_imp____mbcur_max): add missing ';'.
Danny Smith [Wed, 2 Oct 2002 03:43:33 +0000 (03:43 +0000)]
* include/stdlib.h (_imp____mbcur_max): add missing ';'.
(_imp____mbcur_max_dll): Likewise.

21 years ago * configure: Move stray line back to where it belongs.
Alan Modra [Wed, 2 Oct 2002 02:41:36 +0000 (02:41 +0000)]
* configure: Move stray line back to where it belongs.

21 years ago2002-10-01 Nathanael Nerode <neroden@gcc.gnu.org>
Nathanael Nerode [Tue, 1 Oct 2002 23:35:42 +0000 (23:35 +0000)]
2002-10-01  Nathanael Nerode  <neroden@gcc.gnu.org>

* Makefile.tpl: Insert configure-target target, for src-release.

21 years ago2002-10-01 Nathanael Nerode <neroden@gcc.gnu.org>
Nathanael Nerode [Tue, 1 Oct 2002 23:21:51 +0000 (23:21 +0000)]
2002-10-01  Nathanael Nerode  <neroden@gcc.gnu.org>

* configure: Finish reverting change which Andrew Cagney started
reverting.  Should fix bustage.

21 years ago2002-10-01 Nathanael Nerode <neroden@gcc.gnu.org>
Nathanael Nerode [Tue, 1 Oct 2002 22:58:14 +0000 (22:58 +0000)]
2002-10-01  Nathanael Nerode  <neroden@gcc.gnu.org>

* src-release (BINUTILS_SUPPORT_DIRS): Add cpu directory.

21 years ago2002-10-01 Nathanael Nerode <neroden@gcc.gnu.org>
Nathanael Nerode [Tue, 1 Oct 2002 22:34:16 +0000 (22:34 +0000)]
2002-10-01  Nathanael Nerode  <neroden@gcc.gnu.org>

* src-release: New file.  Contains material for making net
releases for gdb, binutils, et al., formerly in Makefile.in.

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