]> sourceware.org Git - newlib-cygwin.git/log
newlib-cygwin.git
21 years ago * netdb.cc: Remove strtok_r comment.
Corinna Vinschen [Sat, 14 Dec 2002 16:59:59 +0000 (16:59 +0000)]
* netdb.cc: Remove strtok_r comment.

21 years ago * security.cc (get_user_local_groups): Use LookupAccountSid to find the
Corinna Vinschen [Sat, 14 Dec 2002 16:57:25 +0000 (16:57 +0000)]
* security.cc (get_user_local_groups): Use LookupAccountSid to find the
local equivalent of BUILTIN.

21 years ago * Makefile.tpl (check-gcc-c++): Renamed from check-c++. Don't run
Jason Merrill [Sat, 14 Dec 2002 08:35:49 +0000 (08:35 +0000)]
    * Makefile.tpl (check-gcc-c++): Renamed from check-c++.  Don't run
        library tests.
        (check-c++): Just depend on it and check-target-libstdc++-v3.
        * Makefile.in: Regenerate.

21 years ago* pipe.cc (make_pipe): Set fork fixup flag for read pipe.
Christopher Faylor [Sat, 14 Dec 2002 05:44:06 +0000 (05:44 +0000)]
* pipe.cc (make_pipe): Set fork fixup flag for read pipe.

21 years agoadd FIXME
Christopher Faylor [Sat, 14 Dec 2002 05:10:18 +0000 (05:10 +0000)]
add FIXME

21 years ago* winbase.h: Turn on inline versions of Interlocked* by default.
Christopher Faylor [Sat, 14 Dec 2002 05:06:59 +0000 (05:06 +0000)]
* winbase.h: Turn on inline versions of Interlocked* by default.
* winbase.h: Fixup inline asm functions.  Add ilockcmpexch.

21 years agoThroughout, change fhandler_*::read and fhandler_*::raw_read to void functions
Christopher Faylor [Sat, 14 Dec 2002 04:01:32 +0000 (04:01 +0000)]
Throughout, change fhandler_*::read and fhandler_*::raw_read to void functions
whose second arguments are both the lenght and the return value.
* fhandler.cc (fhandler_base::read): Rework slightly to use second argument as
input/output.  Tweak CRLF stuff.
(fhandler_base::readv): Accommodate fhandler_*::read changes.
* cygthread.h (cygthread::detach): Declare as taking optional handle argument.
(cygthread::detach): When given a handle argument, wait for the handle to be
signalled before waiting for thread to detach.  Return true when signal
detected.

21 years ago2002-12-13 Nathanael Nerode <neroden@gcc.gnu.org>
Nathanael Nerode [Fri, 13 Dec 2002 22:59:14 +0000 (22:59 +0000)]
2002-12-13  Nathanael Nerode  <neroden@gcc.gnu.org>

* configure.in, Makefile.tpl, Makefile.def: Remove tclX.
* Makefile.in: Regenerate.

21 years ago2002-12-12 Dimitri Papadopoulos <dimitri_at@sourceforge.users.net>
Danny Smith [Fri, 13 Dec 2002 01:18:54 +0000 (01:18 +0000)]
2002-12-12  Dimitri Papadopoulos  <dimitri_at@sourceforge.users.net>

* include/oleacc.h (SELFLAG_*): Change to enum.

21 years ago2002-12-12 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Fri, 13 Dec 2002 00:36:42 +0000 (00:36 +0000)]
2002-12-12  Jeff Johnston  <jjohnstn@redhat.com>

        * COPYING.NEWLIB: Update list of alternate Regent of California
        licenses and discuss official revoking of advertising clause.
        * COPYING.LIBGLOSS: Ditto.

21 years ago * pj.h (pj_opc_info_t): Add union.
Alan Modra [Thu, 12 Dec 2002 21:52:05 +0000 (21:52 +0000)]
* pj.h (pj_opc_info_t): Add union.

* pj-dis.c (print_insn_pj): Adjust for pj_opc_info_t change.

* config/tc-pj.c (little, big, parse_exp_save_ilp): Prototype.
(c_to_r, ipush_code, fake_opcode, alias): Likewise.
(fake_opcode): Adjust for pj_opc_int_t change.
(md_begin): Likewise.
(md_assemble): Likewise.
(ipush_code): Correct parse_exp_save_ilp call.  Test pending_reloc
instead of non-existent third arg of parse_exp_save_ilp.
(md_parse_option): Correct "little" and "big" calls.

21 years ago * include/malloc.h (_alloca): Add definition.
Earnie Boyd [Thu, 12 Dec 2002 21:00:57 +0000 (21:00 +0000)]
* include/malloc.h (_alloca): Add definition.
(alloca): Ditto.

21 years ago * Makefile.common: Define MINGW_LDFLAGS.
Corinna Vinschen [Thu, 12 Dec 2002 10:34:12 +0000 (10:34 +0000)]
* Makefile.common: Define MINGW_LDFLAGS.
* configure.in: Reorder SUBDIRS to have mingw before cygwin.
* configure: Regenerate from configure.in.
* cygwin/Makefile.in: Add MINGW_LDFLAGS when linking cygrun.exe.

21 years ago * include/shlobj.h (IShellLinkW::GetPath): Correct prototype.
Danny Smith [Thu, 12 Dec 2002 09:51:38 +0000 (09:51 +0000)]
* include/shlobj.h (IShellLinkW::GetPath): Correct prototype.

21 years ago* Makefile.tpl (configure-target-rda): Depend on $(ALL_GCC_C).
Alexandre Oliva [Thu, 12 Dec 2002 07:04:28 +0000 (07:04 +0000)]
* Makefile.tpl (configure-target-rda): Depend on $(ALL_GCC_C).
* Makefile.in: Rebuilt.

21 years agowhitespace
Christopher Faylor [Thu, 12 Dec 2002 03:09:38 +0000 (03:09 +0000)]
whitespace

21 years ago * configure: Fix bug put in by gremlins.
Nathanael Nerode [Wed, 11 Dec 2002 04:14:47 +0000 (04:14 +0000)]
* configure: Fix bug put in by gremlins.

21 years ago2002-12-10 Nathanael Nerode <neroden@gcc.gnu.org>
Nathanael Nerode [Wed, 11 Dec 2002 04:00:09 +0000 (04:00 +0000)]
2002-12-10  Nathanael Nerode  <neroden@gcc.gnu.org>

* Makefile.tpl: Substitute more autoconfily.
* configure: Substitute more autoconfily.
* Makefile.in: Regenerate.

21 years ago* cygthread.h (cygthread::stack_ptr): New element.
Christopher Faylor [Wed, 11 Dec 2002 04:00:04 +0000 (04:00 +0000)]
* cygthread.h (cygthread::stack_ptr): New element.
(cygthread::detach): Accept a "wait_for_signal" argument.
(cygthread::terminate_thread): New function.
* cygthread.cc (cygthread::stub): Set stack pointer argument.
(cygthread::terminate_thread): New function.  Forcibly terminate thread.
(cygthread::detach): Optionally wait for signals and kill thread when signal
arrives.
* exceptions.cc (signal_exit): Set signal_arrived prior to exiting to wake up
anything blocking on signals.
* fhandler.h (fhandler_base::set_r_no_interrupt): Change to accept bool
argument.
(fhandler_pipe::ready_for_read): Declare.
* pipe.cc (pipeargs): New structure.
(read_pipe): New thread stub wrapper for normal pipe read.
(fhandler_pipe::read): Modify to call reader in a cygthread, terminating on
signal, as appropriate.
* select.cc (fhandler_pipe::ready_for_read): Define new function.

21 years ago2002-12-10 Joel Sherrill <joel@OARcorp.com>
Jeff Johnston [Tue, 10 Dec 2002 19:46:49 +0000 (19:46 +0000)]
2002-12-10  Joel Sherrill  <joel@OARcorp.com>

* libc/include/machine/setjmp.h: Make sure _JBLEN is defined
for i386-rtems targets.

21 years agoAdd support for displaying extension to DWARF2 used by Unified Parallel C
Nick Clifton [Tue, 10 Dec 2002 17:48:27 +0000 (17:48 +0000)]
Add support for displaying extension to DWARF2 used by Unified Parallel C
compiler.

21 years ago * net.cc (free_protoent_ptr): Add missing free() for base structure.
Corinna Vinschen [Tue, 10 Dec 2002 16:36:36 +0000 (16:36 +0000)]
* net.cc (free_protoent_ptr): Add missing free() for base structure.
(free_servent_pt): Ditto.
(free_hostent_pt): Ditto.

21 years ago * netdb.cc (parse_alias_list, parse_services_line)
Corinna Vinschen [Tue, 10 Dec 2002 13:27:15 +0000 (13:27 +0000)]
* netdb.cc (parse_alias_list, parse_services_line)
(parse_protocol_line): Change strtok calls to strtok_r.

21 years ago2002-12-10 Pierre Humblet <pierre.humblet@ieee.org>
Corinna Vinschen [Tue, 10 Dec 2002 12:43:49 +0000 (12:43 +0000)]
2002-12-10  Pierre Humblet <pierre.humblet@ieee.org>

* pwdgrp.h (pwdgrp_check::pwdgrp_state): Replace by
pwdgrp_check::isinitializing ().
(pwdgrp_check::isinitializing): Create.
* passwd.cc (grab_int): Change type to unsigned, use strtoul and
set the pointer content to 0 if the field is invalid.
(parse_pwd): Move validity test after getting pw_gid.
(read_etc_passwd): Replace "passwd_state <= " by
passwd_state::isinitializing ().
(internal_getpwuid): Ditto.
(internal_getpwnam): Ditto.
(getpwent): Ditto.
(getpass): Ditto.
* grp.cc (parse_grp): Use strtoul for gr_gid and verify the validity.
(read_etc_group): Replace "group_state <= " by
group_state::isinitializing ().
(internal_getgrgid): Ditto.
(getgrent32): Ditto.
(internal_getgrent): Ditto.

2002-12-10  Pierre Humblet <pierre.humblet@ieee.org>

* security.h: Move declarations of internal_getgrent,
internal_getpwsid and internal_getgrsid to pwdgrp.h.
* pwdgrp.h: Declare internal_getpwsid, internal_getpwnam,
internal_getpwuid, internal_getgrsid, internal_getgrgid,
internal_getgrnam, internal_getgrent and internal_getgroups.
Delete "emulated" from enum pwdgrp_state.
(pwdgrp_check::isuninitialized): Create.
(pwdgrp_check::pwdgrp_state): Change state to initializing
rather than to uninitialized.
(pwdgrp_read::gets): Remove trailing CRs.
* passwd.cc (grab_string): Don't look for NLs.
(grab_int): Ditto.
(parse_pwd): Don't look for CRs. Return 0 if entry is too short.
(search_for): Delete.
(read_etc_passwd): Simplify tests to actually read the file.
Set state to loaded before making internal_getpwXX calls.
Replace search_for calls by equivalent internal_pwgetXX calls.
(internal_getpwsid): Use passwd_state.isuninitialized to decide
to call read_etc_passwd.
(internal_getpwuid): Create.
(internal_getpwnam): Create.
(getpwuid32): Simply call internal_getpwuid.
(getpwuid_r32): Call internal_getpwuid.
(getpwnam): Simply call internal_getpwnam.
(getpwnam_r): Call internal_getpwnam.
* grp.cc (parse_grp): Don't look for CRs. Adjust blank space.
(add_grp_line): Adjust blank space.
(class group_lock): Ditto.
(read_etc_group): Simplify tests to actually read the file.
Set state to loaded before making internal_getgrXX calls.
Replace getgrXX calls by equivalent internal calls.
(internal_getgrsid): Use group_state.isuninitialized to decide
to call read_etc_group.
(internal_getgrgid): Create.
(internal_getgrnam): Create.
(getgroups32): Simply call internal_getgrgid.
(getgrnam32): Simply call internal_getgrnam.
(internal_getgrent): Call group_state.isuninitialized.
(internal_getgroups): Create from the former getgroups32, using
two of the four arguments. Set gid to myself->gid and username
to cygheap->user.name ().
(getgroups32): Simply call internal_getgroup.
(getgroups): Call internal_getgroup instead of getgroups32.
(setgroups32): Call internal versions of get{pw,gr}XX.
* sec_helper.cc: Include pwdgrp.h.
(is_grp_member): Call internal versions of get{pw,gr}XX.
* security.cc: Include pwdgrp.h.
(alloc_sd): Call internal versions of get{pw,gr}XX.
* syscalls.cc: Include pwdgrp.h.
(seteuid32): Call internal versions of get{pw,gr}XX.
(setegid32): Ditto.
* uinfo.cc: Include pwdgrp.h.
(internal_getlogin): Call internal versions of get{pw,gr}XX.
(cygheap_user::ontherange): Ditto.
* sec_acl.cc: Include pwdgrp.h.
(setacl): Call internal versions of get{pw,gr}XX.
(acl_access): Ditto and simplify logic.
(aclfromtext): Ditto.

21 years agocorrect date
Christopher Faylor [Mon, 9 Dec 2002 23:08:59 +0000 (23:08 +0000)]
correct date

21 years ago* lib/pseudo-reloc.c: New file.
Christopher Faylor [Mon, 9 Dec 2002 22:49:12 +0000 (22:49 +0000)]
* lib/pseudo-reloc.c: New file.
* lib/_cygwin_crt0_common.cc: Perform pseudo-relocs during initialization of
cygwin binary (.exe or .dll).

21 years ago * include/shellapi.h (ExtractIconEx[AW]): Correct return type
Danny Smith [Mon, 9 Dec 2002 01:51:27 +0000 (01:51 +0000)]
* include/shellapi.h (ExtractIconEx[AW]): Correct return type
to UINT.

21 years ago* Makefile.tpl (all-sim): Depend on maybe-configure-gdb.
DJ Delorie [Sun, 8 Dec 2002 22:39:43 +0000 (22:39 +0000)]
* Makefile.tpl (all-sim): Depend on maybe-configure-gdb.
* Makefile.in (all-sim): Ditto.

21 years ago * mingwex/math/s_erf.c: New file.
Danny Smith [Sun, 8 Dec 2002 01:46:42 +0000 (01:46 +0000)]
* mingwex/math/s_erf.c: New file.
* mingwex/math/sf_erf.c: New file.
* mingwex/Makefile.in (MATH_DISTFILES): Add new files.
(MATH_OBJS): Add new objects.
* include/math.h (erf[f]): Add prototypes.
(erfc[f]): Add prototypes.

21 years ago * include/math.h: Add traditional/XOPEN math constants.
Danny Smith [Sat, 7 Dec 2002 08:58:49 +0000 (08:58 +0000)]
* include/math.h: Add traditional/XOPEN math constants.

Add missing ChangeLog entry for 2002-11-27

21 years ago * include/winuser.h (AllowSetForegroundWindow,
Danny Smith [Sat, 7 Dec 2002 07:23:41 +0000 (07:23 +0000)]
* include/winuser.h (AllowSetForegroundWindow,
LockSetForegroundWindow) Add prototypes.
(ASFW_ANY, LSFW_LOCK, LSFW_UNLOCK) Add defines.
Thanks to:  Pat Thoyts  <patthoyts@users.sourceforge.net>
* lib/winuser.def (AllowSetForegroundWindow,
LockSetForegroundWindow): Add stubs.

21 years agofix date
Christopher Faylor [Sat, 7 Dec 2002 04:49:59 +0000 (04:49 +0000)]
fix date

21 years ago* Makefile.tpl: Change configure dependencies to not have real
DJ Delorie [Fri, 6 Dec 2002 20:11:59 +0000 (20:11 +0000)]
* Makefile.tpl: Change configure dependencies to not have real
targets depend on phony targets.

21 years ago* cygwin.din: Reflect name change from strtodf to strtof. Export strtof.
Christopher Faylor [Fri, 6 Dec 2002 19:48:03 +0000 (19:48 +0000)]
* cygwin.din: Reflect name change from strtodf to strtof.  Export strtof.
* include/cygwin/version.h: Bump API minor number.

21 years ago2002-12-06 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Fri, 6 Dec 2002 18:58:51 +0000 (18:58 +0000)]
2002-12-06  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/include/stdlib.h (strtof): New prototype (from C99).
        (strtodf): Changed from prototype to macro which redefines
        to strtof.
        * libc/stdlib/atof.c: Change documentation to refer to strtof
        instead of strtodf.
        * libc/stdlib/atoff.c (atoff): Change to call strtof instead of
        strtodf.
        * libc/stdlib/strtod.c (strtodf): Renamed to strtof.
        (strtof): New function.
        * libm/test/convert.c (test_strtodf): Renamed to test_strtof which
        calls strtof.

21 years ago2002-12-06 Ken Fitlike <kenfitlike@users.sourceforge.net>
Danny Smith [Fri, 6 Dec 2002 04:13:31 +0000 (04:13 +0000)]
2002-12-06  Ken Fitlike  <kenfitlike@users.sourceforge.net>

* include/commctrl.h (TN_GETDISPINFO[AW]): Add defines and
UNICODE mappings.
(tagNMTTDISPINFO[AW]): Replace obsolete struct names
tagTOOLTIPTEXT[AW] and typedefs. Add defines for backward
compatability. Add lParam field. Add UNICODE mappings for new
names.

21 years ago * configure.in: Revert unintentional change.
Nathanael Nerode [Thu, 5 Dec 2002 22:45:33 +0000 (22:45 +0000)]
* configure.in: Revert unintentional change.

21 years ago * src-release: Configure host subdirs.
Nathanael Nerode [Thu, 5 Dec 2002 22:43:12 +0000 (22:43 +0000)]
* src-release: Configure host subdirs.

21 years ago2002-12-05 Nathanael Nerode <neroden@gcc.gnu.org>
Nathanael Nerode [Thu, 5 Dec 2002 18:34:48 +0000 (18:34 +0000)]
2002-12-05  Nathanael Nerode  <neroden@gcc.gnu.org>

* Makefile.tpl: Change dependency for */multilib.out so that
it works when gcc isn't in the tree.

* configure.in: Substitute more.
* configure: Run subconfigures from the Makefile.
* Makefile.tpl: Run subconfigures from the Makefile; add a few
convenience targets.  Make sure gcc isn't rebuilt after bootstrap.

21 years ago* fhandler.h (fhandler_termios::line_edit): Change return from an int to an
Christopher Faylor [Thu, 5 Dec 2002 16:24:52 +0000 (16:24 +0000)]
* fhandler.h (fhandler_termios::line_edit): Change return from an int to an
enum to allow the function to return an error.
* fhandler_console.cc (fhandler_console::read): Update the line_edit call to
use the new enum.
* fhandler_termios.cc (fhandler_termios::line_edit): Change return from an int
to an enum to allow the function to return an error.  Put put_readahead call
before doecho for future patch.
* fhandler_tty.cc (fhandler_pty_master::write): Change to call line_edit one
character at a time, and stop if an error occurs.

21 years agoPatch to update IA-64 port to SDM 2.1.
Jim Wilson [Thu, 5 Dec 2002 02:08:02 +0000 (02:08 +0000)]
Patch to update IA-64 port to SDM 2.1.
bfd/ChangeLog
* cpu-ia64-opc.c: Add operand constant "ar.csd".
gas/ChangeLog
* config/tc-ia64.c (pseudo_func): Add "@pause" constant for "hint"
instruction.
(emit_one_bundle): Handle "hint" instruction.
(operand_match): Match IA64_OPND_AR_CSD.
gas/testsuite/ChangeLog
* gas/ia64/opc-b.d: Update for instructions added by SDM2.1.
* gas/ia64/opc-b.s: Ditto.
* gas/ia64/opc-f.d: Ditto.
* gas/ia64/opc-f.s: Ditto.
* gas/ia64/opc-i.d: Ditto.
* gas/ia64/opc-i.s: Ditto.
* gas/ia64/opc-m.d: Ditto.
* gas/ia64/opc-m.s: Ditto.
* gas/ia64/opc-x.d: Ditto.
* gas/ia64/opc-x.s: Ditto.
include/opcode/ChangeLog
* ia64.h: Fix copyright message.
(IA64_OPND_AR_CSD): New operand kind.
opcodes/ChangeLog
* ia64-opc-d.c (ia64_opcodes_d): Add "hint" instruction.
* ia64-opc-b.c: Add "hint.b" instruction.
* ia64-opc-f.c: Add "hint.f" instruction.
* ia64-opc-i.c: Add "hint.i" instruction.
* ia64-opc-m.c: Add "hint.m", "fc.i", "ld16", "st16", and
"cmp8xchg16" instructions.
* ia64-opc-x.c: Add "hint.x" instruction.
* ia64-opc.h (AR_CSD): New macro.
* ia64-ic.tbl: Update according to SDM2.1.
* ia64-raw.tbl: Ditto.
* ia64-waw.tbl: Ditto.
* ia64-gen.c (in_iclass): Handle "hint" like "nop".
(lookup_regindex): Recognize AR[FCR], AR[EFLAG], AR[CSD],
AR[SSD], AR[CFLG], AR[FSR], AR[FIR], and AR[FDR].
* ia64-asmtab.c: Regenerate.

21 years agofix comment
Christopher Faylor [Wed, 4 Dec 2002 20:46:16 +0000 (20:46 +0000)]
fix comment

21 years ago* netdb.cc: New file.
Christopher Faylor [Wed, 4 Dec 2002 20:44:17 +0000 (20:44 +0000)]
* netdb.cc: New file.
* Makeile.in (DLL_OFILES): Add reference to the new netdb.cc file.
* cygwin.din : Add new aliased exports for service and protocol enumerations in
netdb.cc.

21 years ago * cxx.cc: New file. Implement new, new[], delete and delete[]
Corinna Vinschen [Wed, 4 Dec 2002 20:36:23 +0000 (20:36 +0000)]
* cxx.cc: New file. Implement new, new[], delete and delete[]
operators and  __cxa_pure_virtual if compiled by gcc >=3.
* Makefile.in (DLL_OFILES): Add cxx.o.
Remove libstdc++.a from cygwin1.dll link step.

21 years ago * Makefile.tpl: Add targets for configuring host subdirs in Makefile,
Nathanael Nerode [Wed, 4 Dec 2002 01:45:35 +0000 (01:45 +0000)]
* Makefile.tpl: Add targets for configuring host subdirs in Makefile,
and corresponding dependencies.
* Makefile.in: Regenerate.

21 years ago * configure.in (host_tools): Order binutils, gas and ld for
Nathanael Nerode [Tue, 3 Dec 2002 23:34:20 +0000 (23:34 +0000)]
* configure.in (host_tools): Order binutils, gas and ld for
convenience in running the testsuites.

21 years ago * Makefile.tpl: Introduce rules to serialize subconfigure runs.
Nathanael Nerode [Tue, 3 Dec 2002 22:54:00 +0000 (22:54 +0000)]
* Makefile.tpl: Introduce rules to serialize subconfigure runs.
* Makefile.in: Regenerate.
* configure.in: Introduce rules to serialize subconfigure runs.

21 years ago * configure.in: Introduce BASE_CC_FOR_TARGET.
Nathanael Nerode [Tue, 3 Dec 2002 21:13:06 +0000 (21:13 +0000)]
* configure.in: Introduce BASE_CC_FOR_TARGET.
* Makefile.tpl: Reorganize and comment.  Introduce HOST_CONFIGARGS.
Realize configure-build-* targets.  Realize configure-target-* targets.
* Makefile.in: Regenerate.

21 years agoinclude/opcode/
Richard Henderson [Tue, 3 Dec 2002 18:15:46 +0000 (18:15 +0000)]
include/opcode/
        * ia64.h (enum ia64_opnd): Add IA64_OPND_LDXMOV.
bfd/
        * cpu-ia64-opc.c (elf64_ia64_operands): Add ldxmov entry.
opcodes/
        * ia64-opc-m.c: Add ld8.mov.
        * ia64-asmtab.c: Regenerate.
gas/
        * config/tc-ia64.c (operand_match): Add IA64_OPND_LDXMOV case.
gas/testsuite/
        * gas/ia64/ldxmov-1.[ds]: New.
        * gas/ia64/ldxmov-2.[ls]: New.
        * gas/ia64/ia64.exp: Run them.

21 years ago * configure: Move gcc_version_trigger stuff from here...
Nathanael Nerode [Tue, 3 Dec 2002 04:46:25 +0000 (04:46 +0000)]
* configure: Move gcc_version_trigger stuff from here...
* configure.in: ...to here.

* configure.in: Separate subconfigure options added by this file from
options given by the user.  Add machinery to put args for host
subconfigures into the Makefile.

* Makefile.tpl: Remove 'vault' targets.
* Makefile.tpl: Reorder and comment dependencies.
* Makefile.in: Regenerate.

21 years ago * cgen.h (struct cgen_maybe_multi_ifield): Add "const PTR p" to union.
Alan Modra [Mon, 2 Dec 2002 21:51:52 +0000 (21:51 +0000)]
* cgen.h (struct cgen_maybe_multi_ifield): Add "const PTR p" to union.
Constify "leaf" and "multi".

21 years ago2002-12-02 Andrew Stadt <acstadt@sympatico.ca>
Danny Smith [Mon, 2 Dec 2002 09:53:09 +0000 (09:53 +0000)]
2002-12-02  Andrew Stadt  <acstadt@sympatico.ca>

* include/shellapi.h (_SHFILEOPSTRUCTA,_SHFILEOPSTRUCTW):
Wrap with pshpack2.h/poppack.h to correct alignment.

21 years ago2002-12-02 Ken Fitlike <kenfitlike@users.sourceforge.net>
Danny Smith [Mon, 2 Dec 2002 09:50:03 +0000 (09:50 +0000)]
2002-12-02  Ken Fitlike  <kenfitlike@users.sourceforge.net>

* include/commctrl.h (LVBKIF_*): Add defines.
(LVM_SETIMAGE[AW]): Add defines and UNICODE mappings.
(LVM_GETIMAGE[AW]): Add defines and UNICODE mappings.
(LVBKIMAGE[AW]): Add defines and UNICODE mappings.
(LPLVBKIMAGE[AW]): Add defines and UNICODE mappings.
(LVM_GETBKIMAGE[AW]): Add defines and UNICODE mappings.
(LVM_SETBKIMAGE[AW]): Add defines and UNICODE mappings.
(ListView_GetBkImage): Add define.
(ListView_SetBkImage): Add define.
(LVBKIMAGE): Add structures and typedefs.

21 years ago(from gcc repos.)
Nathanael Nerode [Mon, 2 Dec 2002 03:28:43 +0000 (03:28 +0000)]
(from gcc repos.)
2002-11-28  Geoffrey Keating  <geoffk@apple.com>

* configure.in: Move host-specific darwin noconfigdirs into
the host-specific section.

21 years ago * Makefile.tpl: Restore bkorb's style patch, accidentally lost
Nathanael Nerode [Mon, 2 Dec 2002 03:26:59 +0000 (03:26 +0000)]
* Makefile.tpl: Restore bkorb's style patch, accidentally lost
during replay.
* Makefile.in: Regenerate.

21 years ago2002-12-02 Nathanael Nerode <neroden@gcc.gnu.org>
Nathanael Nerode [Mon, 2 Dec 2002 03:24:13 +0000 (03:24 +0000)]
2002-12-02  Nathanael Nerode  <neroden@gcc.gnu.org>

(finishing slow-motion replay)
* configure: Remove skip-this-dir support.
* Makefile.tpl: Remove skip-this-dir support.

* Makefile.tpl: Remove leftover support for non-autoconfiscated
subdirectories.
* Makefile.in: Regenerate.

* Makefile.tpl: Strip out useless setting of 'dir'.
* Makefile.in: Regenerate.

2002-12-02  Nathanael Nerode  <neroden@gcc.gnu.org>

(finishing slow-motion replay)
* configure.in: Fix deeply stupid bug.

* configure.in: Introduce RAW_CXX_FOR_TARGET and simplify embedded
shell code in CXX_FOR_TARGET
* Makefile.def: Introduce raw_cxx.
* Makefile.tpl: Use raw_cxx to select between CXX_FOR_TARGET and
RAW_CXX_FOR_TARGET.
* Makefile.in: Regenerate.

2002-12-02  Nathanael Nerode  <neroden@gcc.gnu.org>

(finishing slow-motion replay)
* Makefile.tpl: Remove unnecessary ifs.
* Makefile.in: Regenerate.

* Makefile.tpl: Implement soft dependency machinery.  Maybe-ize
dependencies.  Maybe-ize build-libiberty.  Create dummy install
targets for 'no_install' modules.
* configure: Move GDB_TK substitution to configure.in.  Move
build_modules stuff to configure.in.
* configure.in: Implement soft dependency machinery.  Maybe-ize
GDB_TK, rearrange slightly.  Move build_modules stuff from configure.
* Makefile.in: Regenerate.

21 years ago * m68hc11.h (EF_M68HC12_MACH, EF_M68HCS12_MACH): Define.
Stephane Carrez [Sun, 1 Dec 2002 12:16:21 +0000 (12:16 +0000)]
* m68hc11.h (EF_M68HC12_MACH, EF_M68HCS12_MACH): Define.
(EF_M68HC11_MACH_MASK, EF_M68HC11_MACH): Define.
(EF_M68HC11_MERGE_MACH, EF_M68HC11_CAN_MERGE_MACH): Define.

21 years ago2002-12-01 Nathanael Nerode <neroden@gcc.gnu.org>
Nathanael Nerode [Sun, 1 Dec 2002 12:01:26 +0000 (12:01 +0000)]
2002-12-01  Nathanael Nerode  <neroden@gcc.gnu.org>

(continuing slow-motion replay)
* Makefile.tpl: Make all-target, install-target behave similarly
to all, install (only hitting configured targets).  Eliminate
unused macro defintions.

* Makefile.tpl: Add all-gcc: all-build-libiberty dependency when
build != host.

* Makefile.tpl: Add all-gcc: all-libiberty dependency.

* ltcf-c.sh, ltcf-gcj.sh, Makefile.tpl: Correct BUILD/HOST confusion.

* configure.in: Produce lists of subdir targets we're actually
configuring.  Remove references to "dosrel".
* Makefile.tpl: Let configure set which subdir targets are hit.
Remove install-cross; clean up install; remove ALL.  Remove
references to "dosrel".  Remove "EXTRA_TARGET_HOST" hackery.
Autogenerate host module targets.  Remove empty dependency lines
and redundant dependency; rearrange slightly.
* Makefile.def: Add host-side libtermcap, utils.

* Makefile.in: Regenerate.

21 years ago2002-12-01 Nathanael Nerode <neroden@gcc.gnu.org>
Nathanael Nerode [Sun, 1 Dec 2002 11:32:58 +0000 (11:32 +0000)]
2002-12-01  Nathanael Nerode  <neroden@gcc.gnu.org>

(Continuing slow-motion replay)
* Makefile.def: Add list of recursive targets to autogenerate.
Add build_modules.
* Makefile.tpl: Autogenerate do-* targets.  Autogenerate *-target-*
targets.  Autogenerate *-build-* targets.
* Makefile.in: Regenerate.

21 years ago* fhandler_tty.cc (fhandler_pty_master::accept_input): Move read_retval
Christopher Faylor [Sat, 30 Nov 2002 22:23:01 +0000 (22:23 +0000)]
* fhandler_tty.cc (fhandler_pty_master::accept_input): Move read_retval
assignment to prevent race condition.  Remove read_retval from return
statement.

21 years agos/boolean/bfd_boolean/ s/true/TRUE/ s/false/FALSE/. Simplify
Alan Modra [Sat, 30 Nov 2002 08:39:45 +0000 (08:39 +0000)]
s/boolean/bfd_boolean/ s/true/TRUE/ s/false/FALSE/.  Simplify
comparisons of bfd_boolean vars with TRUE/FALSE.  Formatting.

21 years ago2002-11-30 Nathanael Nerode <neroden@gcc.gnu.org>
Nathanael Nerode [Sat, 30 Nov 2002 01:59:39 +0000 (01:59 +0000)]
2002-11-30  Nathanael Nerode  <neroden@gcc.gnu.org>

(Continuing slow-motion replay)
* configure: More autoconf-style substitutions.
* Makefile.tpl: More autoconf-style substitutions.
* Makefile.in: Regenerate.

2002-11-30  Nathanael Nerode  <neroden@gcc.gnu.org>

(Continuing slow-motion replay)
* configure: Substitute more variables in a more autoconf-friendly
way.  Simplify slightly.
* Makefile.tpl: Make more variables substitutable in an
autoconf-friendly way.
* Makefile.in: Regenerate.

21 years ago2002-11-29 Nathanael Nerode <neroden@gcc.gnu.org>
Nathanael Nerode [Fri, 29 Nov 2002 21:38:33 +0000 (21:38 +0000)]
2002-11-29  Nathanael Nerode  <neroden@gcc.gnu.org>

(Continuing slow-motion replay)
* configure.in (v810*): Remove special setting of tools.

* configure: Add support for extra required flags for ar or nm.
* configure.in (aix4.3+): Use above support for target-specific
issues, rather than using config/mt-aix43.

21 years ago2002-11-29 Nathanael Nerode <neroden@gcc.gnu.org>
Nathanael Nerode [Fri, 29 Nov 2002 21:33:11 +0000 (21:33 +0000)]
2002-11-29  Nathanael Nerode  <neroden@gcc.gnu.org>

(Starting slow-motion replay merge from gcc 3.4 b-i-b branch)
* configure: Remove 'removing', which doesn't work.  Replace $subdir
with . everywhere.  Replace $subdirs with ''.  Replace $makesrcdir
with $srcdir.  Reformat indentation.  Substitute some variables
formerly hard-coded in the Makefile for build=host.
* Makefile.tpl: Autogenerate more; make more autoconf-friendly.
* Makefile.def: Autogenerate more.
* Makefile.in: Regenerate.

21 years ago* pinfo.h (winpids::set): Renamed from init.
Christopher Faylor [Fri, 29 Nov 2002 07:05:26 +0000 (07:05 +0000)]
* pinfo.h (winpids::set): Renamed from init.
(winpids::init): New declaration.
(winpids::cs): Ditto.
(winpids::winpids): Use set rather than init.
* external.cc (fillout_pinfo): Ditto.
* dcrt0.cc (dll_crt0_1): Call winpids::init.
* pinfo.cc (winpids::set): Renamed from init.  Wrap calls in critical section.
(winpids::init): New function.
(winpids::cs): Define.

21 years ago* sigproc.cc (sig_dispatch_pending): Remove assertion.
Christopher Faylor [Fri, 29 Nov 2002 00:43:50 +0000 (00:43 +0000)]
* sigproc.cc (sig_dispatch_pending): Remove assertion.

21 years agoinclude/elf/ChangeLog
Alan Modra [Thu, 28 Nov 2002 11:55:34 +0000 (11:55 +0000)]
include/elf/ChangeLog
* internal.h (elf32_internal_ehdr, Elf32_Internal_Ehdr,
elf64_internal_ehdr, Elf64_Internal_Ehdr, elf32_internal_phdr,
Elf32_Internal_Phdr, elf64_internal_phdr, Elf64_Internal_Phdr,
elf32_internal_shdr, Elf32_Internal_Shdr, elf64_internal_shdr,
Elf64_Internal_Shdr, elf32_internal_sym, elf64_internal_sym,
Elf32_Internal_Sym, Elf64_Internal_Sym, Elf32_Internal_Note,
elf32_internal_note, elf32_internal_rel, Elf32_Internal_Rel,
elf64_internal_rel, Elf64_Internal_Rel, elf32_internal_rela,
elf64_internal_rela, Elf32_Internal_Rela, Elf64_Internal_Rela,
elf32_internal_dyn, elf64_internal_dyn, Elf32_Internal_Dyn,
Elf64_Internal_Dyn, elf32_internal_verdef, elf64_internal_verdef,
elf32_internal_verdaux, elf64_internal_verdaux, elf32_internal_verneed,
elf64_internal_verneed, elf32_internal_vernaux, elf64_internal_vernaux,
elf32_internal_versym, elf64_internal_versym, Elf32_Internal_Verdef,
Elf64_Internal_Verdef, Elf32_Internal_Verdaux, Elf64_Internal_Verdaux,
Elf32_Internal_Verneed, Elf64_Internal_Verneed, Elf32_Internal_Vernaux,
Elf64_Internal_Vernaux, Elf32_Internal_Versym, Elf64_Internal_Versym,
Elf32_Internal_Syminfo, Elf64_Internal_Syminfo): Delete.
(Elf_Internal_Rel): Delete.

bfd/ChangeLog
* elf-bfd.h: Replace occurrences of Elf32_Internal_* and
Elf64_Internal_* with Elf_Internal_*.  Replace Elf_Internal_Rel
with Elf_Internal_Rela.
* elf-hppa.h, elf-m10200.c, elf-m10300.c, elf32-arc.c, elf32-arm.h,
elf32-avr.c, elf32-cris.c, elf32-d10v.c, elf32-d30v.c, elf32-dlx.c,
elf32-fr30.c, elf32-frv.c, elf32-gen.c, elf32-h8300.c, elf32-hppa.c,
elf32-i370.c, elf32-i386.c, elf32-i860.c, elf32-i960.c, elf32-ip2k.c,
elf32-m32r.c, elf32-m68hc11.c, elf32-m68hc12.c, elf32-m68k.c,
elf32-mcore.c, elf32-mips.c, elf32-openrisc.c, elf32-or32.c,
elf32-ppc.c, elf32-s390.c, elf32-sh.c, elf32-v850.c, elf32-vax.c,
elf32-xstormy16.c, elf64-alpha.c, elf64-gen.c, elf64-hppa.c,
elf64-mips.c, elf64-mmix.c, elf64-ppc.c, elf64-s390.c, elf64-sh64.c,
elf64-sparc.c, elf64-x86-64.c, elfarm-nabi.c, elfarm-oabi.c,
elfcode.h, elflink.h, elfn32-mips.c, elfxx-ia64.c, elfxx-mips.c: Ditto.
* elf-hppa.h (elf_hppa_internal_shdr): Delete.  Use Elf_Internal_Shdr
throughout instead.
* elf.c (_bfd_elf_no_info_to_howto_rel): Delete.
* elfcode.h (elf_swap_reloca_in): Pass source operand as a bfd_byte *.
Remove INLINE keyword.
(elf_swap_reloc_in): Likewise.  Also clear r_addend.
(elf_swap_reloc_out, elf_swap_reloca_out): Pass destination operand
as a bfd_byte *.
(elf_write_relocs): Consolidate REL and RELA code.
(elf_slurp_reloc_table_from_section): Simplify REL code.
(NAME(_bfd_elf,size_info)): Populate reloc swap entries.
* elf-bfd.h (MAX_INT_RELS_PER_EXT_REL): Define.
* elflink.h (elf_link_read_relocs_from_section): Consolidate REL and
RELA code.
(elf_link_adjust_relocs): Likewise.  Don't malloc space for temp
reloc array, use a fixed size of MAX_INT_RELS_PER_EXT_REL.
(elf_link_output_relocs): Likewise.
(elf_reloc_link_order): Likewise.
(elf_finish_pointer_linker_section): Likewise.
(struct elf_link_sort_rela): Remove union.
(elf_link_sort_cmp1): Update to suit.
(elf_link_sort_cmp2): Here too.
(elf_link_sort_relocs): Consolidate REL and RELA code.  Fix memory
over-allocation for int_rels_per_ext_rel != 1 case.
* elf32-arm.h: Update all bfd_elf32_swap_reloc_out calls.
* elf32-i386.c: Likewise.
* elf32-cris.c: Likewise for bfd_elf32_swap_reloca_out.
* elf32-hppa.c, elf32-i370.c, elf32-m68k.c, elf32-ppc.c, elf32-s390.c,
elf32-sh.c, elf32-vax.c, elfxx-mips.c: Likewise.
* elf64-alpha.c: Likewise for bfd_elf64_swap_reloca_out.
* elf64-hppa.c, elf64-mips.c, elf64-ppc.c, elf64-s390.c, elf64-sh64.c,
elf64-sparc.c, elf64-x86-64.c: Likewise.
* elfxx-ia64.c: Likewise for bfd_elfNN_swap_reloca_out.
* elfxx-mips.c (sort_dynamic_relocs): Likewise for
bfd_elf32_swap_reloc_in.

* elf32-arm.h: Update elf32_arm_info_to_howto calls.
* elf32-mips.c: Likewise for mips_info_to_howto_rel.
(mips_elf64_swap_reloc_in): Zero r_addend.
(mips_elf64_be_swap_reloc_in): Likewise.
(mips_elf64_slurp_one_reloc_table): Simplify.

* elf64-alpha.c (alpha_elf_size_info): Populate reloc swap entries.
* elf64-hppa.c (hppa64_elf_size_info): Likewise.
* elf64-sparc.c (sparc64_elf_size_info): Likewise.

21 years agorevert botched checkin
Christopher Faylor [Thu, 28 Nov 2002 00:41:02 +0000 (00:41 +0000)]
revert botched checkin

21 years ago* include/cygwin/version.h: Bump DLL minor number.
Christopher Faylor [Thu, 28 Nov 2002 00:40:20 +0000 (00:40 +0000)]
* include/cygwin/version.h: Bump DLL minor number.

21 years ago* fhandler_socket.cc (fhandler_socket::sendto): Fix potential unitialized value
Christopher Faylor [Wed, 27 Nov 2002 23:44:14 +0000 (23:44 +0000)]
* fhandler_socket.cc (fhandler_socket::sendto): Fix potential unitialized value
return.

21 years ago* libc/string/memset.c (memset): Fix comment.
Christopher Faylor [Wed, 27 Nov 2002 18:10:16 +0000 (18:10 +0000)]
* libc/string/memset.c (memset): Fix comment.

21 years ago* cygwin.din: Export pthread_getsequence_np.
Christopher Faylor [Wed, 27 Nov 2002 16:11:40 +0000 (16:11 +0000)]
* cygwin.din: Export pthread_getsequence_np.
* include/cygwin/version.h: Bump API minor version.

21 years ago * mingwex/math/lgamma.c: New file.
Danny Smith [Wed, 27 Nov 2002 03:41:25 +0000 (03:41 +0000)]
* mingwex/math/lgamma.c: New file.
* mingwex/math/lgammaf.c: New file.
* mingwex/math/lgammal.c: New file.
* mingwex/math/tgamma.c: New file.
* mingwex/math/tgammaf.c: New file.
* mingwex/math/tgammal.c: New file.
* mingwex/math/cephes_mconf (polevlf): Add float version.
(p1evlf): Likewise.
Define _CEPHES_USE_ERRNO.
* mingwex/Makefile.in (MATH_DISTFILES): Add new files.
(MATH_OBJS): Add new objects.
* include/math.h (lgamma[fl]): Add prototypes.
(tgamma[fl]): Add prototypes.

21 years agowhite space
Christopher Faylor [Wed, 27 Nov 2002 02:26:44 +0000 (02:26 +0000)]
white space

21 years ago* cygwin.din: Export nl_langinfo().
Christopher Faylor [Wed, 27 Nov 2002 02:12:50 +0000 (02:12 +0000)]
* cygwin.din: Export nl_langinfo().
* include/cygwin/version.h: Bump API minor version.

21 years ago* fhandler_tty.cc (fhandler_pty_master::accept_input): Just use a normal Sleep
Christopher Faylor [Tue, 26 Nov 2002 20:32:39 +0000 (20:32 +0000)]
* fhandler_tty.cc (fhandler_pty_master::accept_input): Just use a normal Sleep
or suffer amazing pauses when other tty apps are running.
(fhandler_pty_master::process_slave_output): Ditto.

21 years ago* libc/string/memset.c (memset): Move initialization of 'd' earlier in
Christopher Faylor [Tue, 26 Nov 2002 18:11:51 +0000 (18:11 +0000)]
* libc/string/memset.c (memset): Move initialization of 'd' earlier in
function.

21 years agoAdd strtold and wcstold to libmingwex.a
Danny Smith [Tue, 26 Nov 2002 00:11:06 +0000 (00:11 +0000)]
Add strtold and wcstold to libmingwex.a

* mingwex/strtold.c: New file.
* mingwex/wcstold.c: New file.
* mingwex/ldtoa.c: New file.
* mingwex/math/cephes_emath.h: New file.
* mingwex/math/cephes_emath.c: New file.
* mingwex/Makefile.in (DISTFILES): Add new files.
(MATH_DISTFILES): Ditto.
(STDLIB_OBJS): New. Define as strtold.c wcstold.c.
(MATH_OBJS): Add cephes_emath.o.
(LIB_OBJS): Add $(STDLIB_OBJS).
* include/stdlib.h (strtold, wcstold): Add prototypes.
* include/wchar.h (wcstold): Add prototype.

Add missing ChangeLog entry for 2002-11-09.

21 years ago * include/w32api.h: Increment to version 2.2
Earnie Boyd [Mon, 25 Nov 2002 21:15:52 +0000 (21:15 +0000)]
* include/w32api.h: Increment to version 2.2
* Makefile.in: Ditto.

21 years ago* libc/string/memset.c (memset): Minor optimization: Use new 'd' variable,
Christopher Faylor [Mon, 25 Nov 2002 21:11:58 +0000 (21:11 +0000)]
* libc/string/memset.c (memset): Minor optimization: Use new 'd' variable,
introduced below, everywhere.

21 years ago * libc/string/memset.c (memset): Make it safe even if
Kazu Hirata [Mon, 25 Nov 2002 20:56:17 +0000 (20:56 +0000)]
* libc/string/memset.c (memset): Make it safe even if
sizeof (int) = 2.

21 years ago * lib/Makefile.in (dist, install): Correct the install destinations.
Earnie Boyd [Mon, 25 Nov 2002 18:14:25 +0000 (18:14 +0000)]
* lib/Makefile.in (dist, install): Correct the install destinations.
* lib/ddk/Makefile.in (dist, install): Ditto.

21 years ago * mkpasswd.c (main): Set pw_passwd field to '*' on 9x/Me.
Corinna Vinschen [Mon, 25 Nov 2002 15:12:50 +0000 (15:12 +0000)]
* mkpasswd.c (main): Set pw_passwd field to '*' on 9x/Me.

21 years ago * passwd.cc (read_etc_passwd): Never add an entry when starting
Corinna Vinschen [Mon, 25 Nov 2002 15:11:39 +0000 (15:11 +0000)]
* passwd.cc (read_etc_passwd): Never add an entry when starting
on Win95/98/ME if a default entry is present.
* uinfo.cc (internal_getlogin): Look for the default uid if needed.
Always call user.set_name ().

21 years ago * sec_acl.cc (getacl): Set errno to ENOSPC if command is GETACL and
Corinna Vinschen [Mon, 25 Nov 2002 11:23:21 +0000 (11:23 +0000)]
* sec_acl.cc (getacl): Set errno to ENOSPC if command is GETACL and
nentries is less than the number of entries in the file's ACL.

21 years ago2002-11-24 Corinna Vinschen <corinna@vinschen.de>
Corinna Vinschen [Sun, 24 Nov 2002 18:58:47 +0000 (18:58 +0000)]
2002-11-24  Corinna Vinschen  <corinna@vinschen.de>

* sec_acl.cc: Fix some formatting.  Only set and check `other' bits in
a_perm throughout.  Use ILLEGAL_GID id for all entries having no id.
(setacl): Fix inheritance condition.
(getacl): Set all permission bits in CLASS_OBJ and DEF_CLASS_OBJ
entries.  Remove DENY bits before returning to calling function.
(acltomode): Fix usage of searchace().  If available, use CLASS_OBJ
to mask GROUP_OBJ permissions.
(aclfrommode): Fix usage of searchace().  If available, set CLASS_OBJ
permissions to same value as GROUP_OBJ permissions.

2002-11-24  Pierre Humblet <pierre.humblet@ieee.org>

* sec_acl.cc (getace): Fix the behavior when allow and
deny entries are present in arbitrary order.
(getacl): Report the actual number of entries when
aclbufp is NULL, even if nentries is zero. Fix the mask
reporting, handle the case where the owner and group sids
are equal and streamline the code.
(acl_worker): Take allow_ntsec into account.

21 years ago * setfacl.c (getperm): Set only `other' permission bits.
Corinna Vinschen [Sun, 24 Nov 2002 18:07:30 +0000 (18:07 +0000)]
* setfacl.c (getperm): Set only `other' permission bits.
(getaclentry): Set a_id to -1 by default.

21 years ago * getfacl.c (permstr): Use `other' permission bits for requesting
Corinna Vinschen [Sun, 24 Nov 2002 16:15:33 +0000 (16:15 +0000)]
* getfacl.c (permstr): Use `other' permission bits for requesting
ace permissions.

21 years ago2002-11-05 Thomas Pfaff <tpfaff@gmx.net>
Robert Collins [Sun, 24 Nov 2002 13:54:14 +0000 (13:54 +0000)]
2002-11-05  Thomas Pfaff  <tpfaff@gmx.net>

        * dcrt0.cc (dll_crt0_1): Add call to pthread::initMainThread to
        initialize mainthread when it is safe to call new.
        * init.cc (dll_entry): Change call to store reents in tls key.
        * thread.cc (_reent_clib) : Change call to get reents from tls
        key.
        (_reent_winsup): Ditto.
        (MTinterface::Init): Key handling changed. Remove initialization
        of member variables.
        (MTinterface::fixup_after_fork): Reinitialize mainthread object
        after fork. Reset threadount to 1.
        (pthread::initMainThread): Create mainthread object dynamically.
        and initialize with valid handles.
        (pthread::self): Remove calls to create thread objects.
        (pthread::setTlsSelfPointer): Change call to store thread self
        handle in tls key.
        (pthread::getTlsSelfPointer): New static method.
        (pthread::exit): Remove setTlsSelfPointer call.
        (pthread::initCurrentThread): New method.
        (pthread::thread_init_wrapper): Change call to store thread self
        handle in tls key.
        (pthread::join): Check for a valid joiner.
        (pthreadNull::pthreadNull): Mark Null object as detached.
        (pthreadNull::exit): Terminate thread via ExitThread.
        * thread.h (pthread::initMainThread): Change parameter in function
        call.
        (pthread::getTlsSelfPointer): New static method.
        (pthread::initCurrentThread): New method.
        (MTinterface::reent_key): Remove.
        (MTinterface::thread_self_dwTlsIndex): Ditto..
        (MTinterface::indexallocated): Ditto.
        (MTinterface::mainthread): Ditto.
        (MTinterface::reent_key): New member.
        (MTinterface::thread_self_key): Ditto.
        (MTinterface::MTinterface): Initialize all members.

21 years ago2002-11-25 Robert Collins <rbtcollins@hotmail.com>
Robert Collins [Sun, 24 Nov 2002 13:41:36 +0000 (13:41 +0000)]
2002-11-25  Robert Collins  <rbtcollins@hotmail.com>

        * readme: Document running portions of the test suite (Thanks Egor!).
        * winsup.api/pthread/mainthreadexits.c: New file, derived from
        Thomas Pfaff's test cases.
        * winsup.api/pthread/threadidafterfork.c: Ditto.

21 years ago* libiberty.h (basename): Add NetBSD to the list.
Jason Thorpe [Sun, 24 Nov 2002 06:58:20 +0000 (06:58 +0000)]
* libiberty.h (basename): Add NetBSD to the list.

21 years ago* wait.cc (wait4): Force pending signal delivery before waiting for process
Christopher Faylor [Sat, 23 Nov 2002 20:24:08 +0000 (20:24 +0000)]
* wait.cc (wait4): Force pending signal delivery before waiting for process
completion.

21 years ago* include/cygwin/version.h: Bump DLL minor number.
Christopher Faylor [Sat, 23 Nov 2002 17:43:46 +0000 (17:43 +0000)]
* include/cygwin/version.h: Bump DLL minor number.

21 years agofix typo
Christopher Faylor [Sat, 23 Nov 2002 01:27:42 +0000 (01:27 +0000)]
fix typo

21 years agomerge from gcc
DJ Delorie [Fri, 22 Nov 2002 21:02:07 +0000 (21:02 +0000)]
merge from gcc

21 years ago* exceptions.cc (handle_sigsuspend): Force pending signal delivery before
Christopher Faylor [Fri, 22 Nov 2002 20:51:13 +0000 (20:51 +0000)]
* exceptions.cc (handle_sigsuspend): Force pending signal delivery before
waiting for signals to happen.
* signal.cc (sleep): Force pending signal delivery before sleeping.
(usleep): Ditto.
(signal): Force pending signal delivery before manipulating signal stuff.
(sigprocmask): Ditto.
(kill_worker): Ditto.
(abort): Ditto.
(sigaction): Ditto.
* syscalls.cc (readv): Force pending signal delivery before I/O.
(writev): Ditto.
(open): Ditto.
* net.cc: Ditto, throughout.
* sigproc.cc (sig_dispatch_pending): Deliver any pending signals prior to
returning.
* tty.cc (tty::make_pipes): Increase pipe buffer size.

21 years ago2002-11-22 Joe Buehler <jbuehler@hekimian.com>
Jeff Johnston [Fri, 22 Nov 2002 19:54:22 +0000 (19:54 +0000)]
2002-11-22  Joe Buehler  <jbuehler@hekimian.com>

        * configure.in: Change check for libc/include in ${CC} to
        use an intermediate value so as to work with different shells.
        * configure: Regenerated.
        * Makefile.in: Ditto.

21 years ago2002-11-22 Vijay L. Khuspe <vijayk1@kpit.com>
Jeff Johnston [Fri, 22 Nov 2002 18:06:10 +0000 (18:06 +0000)]
2002-11-22  Vijay L. Khuspe  <vijayk1@kpit.com>

        * libc/sys/h8300hms/read.c: Add support for normal mode
        architecture.

21 years ago* include/cygwin/version.h: Fix comment.
Christopher Faylor [Fri, 22 Nov 2002 16:27:32 +0000 (16:27 +0000)]
* include/cygwin/version.h: Fix comment.

21 years ago* external.cc (cygwin_internal): Fix va_arg references.
Christopher Faylor [Fri, 22 Nov 2002 04:50:53 +0000 (04:50 +0000)]
* external.cc (cygwin_internal): Fix va_arg references.

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