aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2002-12-16* pinfo.cc (_pinfo::cmdline): Allocate sufficient space for myself command lineChristopher Faylor2-1/+6
args.
2002-12-16 * hppa.h (completer_chars): #if 0 out.Alan Modra2-1/+5
2002-12-16 * ns32k.h (struct ns32k_opcode): Constify "name", "operands" andAlan Modra2-17/+22
"default_args". (struct not_wot): Constify "args". (struct not): Constify "name". (numopcodes): Delete. (endop): Delete.
2002-12-15 * include/windows.h: Guard inclusion of wingdi.h,Danny Smith3-15/+42
commdlg.h, winspool.h, ole2.h with NOGDI. * include/winuser.h (ICONMETRICS, NONCLIENTMETRICS, ChangeDisplaySettings, CreateDesktop, EnumDisplaySettings): Guard with NOGDI.
2002-12-15 * setfacl.c (main): Place a single : after other and mask.Corinna Vinschen3-5/+11
* getfacl.c (getaclentry): Allow both : and :: for other and mask. (main): Remove extraneous break.
2002-12-14* fhandler_termios.cc (fhandler_termios::line_edit): Call accept_input() inChristopher Faylor2-8/+16
character processing loop. Set return value independently of input_done.
2002-12-14* fhandler.cc (fhandler_base::read): Signal event, if necessary, and raw_readChristopher Faylor2-0/+10
hasn't done so.
2002-12-14* fhandler.cc (fhandler_base::raw_read): Reset priorities to minimize windowChristopher Faylor2-54/+57
where thread termination may cause data loss. (fhandler_base::read): Always return at end of function. Just set len to copied_chars when len is zero. Return immediately after raw_read if len <= 0. Remove in_len setting and just check end instead. Fix CRLF handling at end of buffer.
2002-12-142002-12-14 Corinna Vinschen <corinna@vinschen.de>Corinna Vinschen4-12/+48
* dcrt0.cc (dll_crt0_1): Call well known SID initializer function. * security.h (cygsid::init): Declare new static method. * sec_helper.cc (cygsid::init): New method for initializing well known SIDs. 2002-12-14 Pierre Humblet <pierre.humblet@ieee.org> * security.h: Declare well_known_creator_group_sid. * sec_helper.cc: Define and initialize well_known_creator_group_sid.
2002-12-14 * netdb.cc: Remove strtok_r comment.Corinna Vinschen2-9/+5
2002-12-14 * security.cc (get_user_local_groups): Use LookupAccountSid to find theCorinna Vinschen2-6/+14
local equivalent of BUILTIN.
2002-12-14 * Makefile.tpl (check-gcc-c++): Renamed from check-c++. Don't runJason Merrill3-8/+19
library tests. (check-c++): Just depend on it and check-target-libstdc++-v3. * Makefile.in: Regenerate.
2002-12-14* pipe.cc (make_pipe): Set fork fixup flag for read pipe.Christopher Faylor2-0/+5
2002-12-14add FIXMEChristopher Faylor1-0/+1
2002-12-14* winbase.h: Turn on inline versions of Interlocked* by default.Christopher Faylor3-23/+45
* winbase.h: Fixup inline asm functions. Add ilockcmpexch.
2002-12-14Throughout, change fhandler_*::read and fhandler_*::raw_read to void functionsChristopher Faylor19-189/+295
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.
2002-12-132002-12-13 Nathanael Nerode <neroden@gcc.gnu.org>Nathanael Nerode5-73/+6
* configure.in, Makefile.tpl, Makefile.def: Remove tclX. * Makefile.in: Regenerate.
2002-12-132002-12-12 Dimitri Papadopoulos <dimitri_at@sourceforge.users.net>Danny Smith2-9/+17
* include/oleacc.h (SELFLAG_*): Change to enum.
2002-12-132002-12-12 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston3-1/+259
* COPYING.NEWLIB: Update list of alternate Regent of California licenses and discuss official revoking of advertising clause. * COPYING.LIBGLOSS: Ditto.
2002-12-12 * pj.h (pj_opc_info_t): Add union.Alan Modra2-2/+9
* 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.
2002-12-12 * include/malloc.h (_alloca): Add definition.Earnie Boyd2-0/+11
(alloca): Ditto.
2002-12-12 * Makefile.common: Define MINGW_LDFLAGS.Corinna Vinschen6-3/+14
* configure.in: Reorder SUBDIRS to have mingw before cygwin. * configure: Regenerate from configure.in. * cygwin/Makefile.in: Add MINGW_LDFLAGS when linking cygrun.exe.
2002-12-12 * include/shlobj.h (IShellLinkW::GetPath): Correct prototype.Danny Smith2-2/+7
2002-12-12* Makefile.tpl (configure-target-rda): Depend on $(ALL_GCC_C).Alexandre Oliva3-0/+7
* Makefile.in: Rebuilt.
2002-12-12whitespaceChristopher Faylor8-15/+21
2002-12-11 * configure: Fix bug put in by gremlins.Nathanael Nerode2-1/+3
2002-12-112002-12-10 Nathanael Nerode <neroden@gcc.gnu.org>Nathanael Nerode4-41/+21
* Makefile.tpl: Substitute more autoconfily. * configure: Substitute more autoconfily. * Makefile.in: Regenerate.
2002-12-11* cygthread.h (cygthread::stack_ptr): New element.Christopher Faylor7-33/+146
(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.
2002-12-102002-12-10 Joel Sherrill <joel@OARcorp.com>Jeff Johnston2-2/+7
* libc/include/machine/setjmp.h: Make sure _JBLEN is defined for i386-rtems targets.
2002-12-10Add support for displaying extension to DWARF2 used by Unified Parallel CNick Clifton2-6/+20
compiler.
2002-12-10 * net.cc (free_protoent_ptr): Add missing free() for base structure.Corinna Vinschen2-0/+9
(free_servent_pt): Ditto. (free_hostent_pt): Ditto.
2002-12-10 * netdb.cc (parse_alias_list, parse_services_line)Corinna Vinschen2-14/+19
(parse_protocol_line): Change strtok calls to strtok_r.
2002-12-102002-12-10 Pierre Humblet <pierre.humblet@ieee.org>Corinna Vinschen10-195/+258
* 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.
2002-12-09correct dateChristopher Faylor1-1/+1
2002-12-09* lib/pseudo-reloc.c: New file.Christopher Faylor4-0/+101
* lib/_cygwin_crt0_common.cc: Perform pseudo-relocs during initialization of cygwin binary (.exe or .dll).
2002-12-09 * include/shellapi.h (ExtractIconEx[AW]): Correct return typeDanny Smith2-2/+8
to UINT.
2002-12-08* Makefile.tpl (all-sim): Depend on maybe-configure-gdb.DJ Delorie3-2/+7
* Makefile.in (all-sim): Ditto.
2002-12-08 * mingwex/math/s_erf.c: New file.Danny Smith5-9/+629
* 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.
2002-12-07 * include/math.h: Add traditional/XOPEN math constants.Danny Smith2-0/+37
Add missing ChangeLog entry for 2002-11-27
2002-12-07 * include/winuser.h (AllowSetForegroundWindow,Danny Smith3-0/+20
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.
2002-12-07fix dateChristopher Faylor1-1/+1
2002-12-06* Makefile.tpl: Change configure dependencies to not have realDJ Delorie3-46/+51
targets depend on phony targets.
2002-12-06* cygwin.din: Reflect name change from strtodf to strtof. Export strtof.Christopher Faylor3-3/+11
* include/cygwin/version.h: Bump API minor number.
2002-12-062002-12-06 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston6-13/+31
* 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.
2002-12-062002-12-06 Ken Fitlike <kenfitlike@users.sourceforge.net>Danny Smith2-11/+36
* 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.
2002-12-05 * configure.in: Revert unintentional change.Nathanael Nerode2-1/+3
2002-12-05 * src-release: Configure host subdirs.Nathanael Nerode2-1/+3
2002-12-052002-12-05 Nathanael Nerode <neroden@gcc.gnu.org>Nathanael Nerode5-221/+156
* 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.
2002-12-05* fhandler.h (fhandler_termios::line_edit): Change return from an int to anChristopher Faylor5-12/+40
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.
2002-12-05Patch to update IA-64 port to SDM 2.1.Jim Wilson2-6/+11
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.