aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2002-11-27* libc/string/memset.c (memset): Fix comment.Christopher Faylor2-4/+6
2002-11-27* cygwin.din: Export pthread_getsequence_np.Christopher Faylor3-1/+8
* include/cygwin/version.h: Bump API minor version.
2002-11-27 * mingwex/math/lgamma.c: New file.Danny Smith9-5/+2300
* 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.
2002-11-27white spaceChristopher Faylor1-1/+1
2002-11-27* cygwin.din: Export nl_langinfo().Christopher Faylor3-1/+9
* include/cygwin/version.h: Bump API minor version.
2002-11-26* fhandler_tty.cc (fhandler_pty_master::accept_input): Just use a normal SleepChristopher Faylor3-4/+10
or suffer amazing pauses when other tty apps are running. (fhandler_pty_master::process_slave_output): Ditto.
2002-11-26* libc/string/memset.c (memset): Move initialization of 'd' earlier inChristopher Faylor2-1/+6
function.
2002-11-26Add strtold and wcstold to libmingwex.aDanny Smith9-9/+3147
* 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.
2002-11-25 * include/w32api.h: Increment to version 2.2Earnie Boyd3-3/+8
* Makefile.in: Ditto.
2002-11-25* libc/string/memset.c (memset): Minor optimization: Use new 'd' variable,Christopher Faylor2-1/+6
introduced below, everywhere.
2002-11-25 * libc/string/memset.c (memset): Make it safe even ifKazu Hirata2-4/+11
sizeof (int) = 2.
2002-11-25 * lib/Makefile.in (dist, install): Correct the install destinations.Earnie Boyd3-13/+25
* lib/ddk/Makefile.in (dist, install): Ditto.
2002-11-25 * mkpasswd.c (main): Set pw_passwd field to '*' on 9x/Me.Corinna Vinschen2-5/+9
2002-11-25 * passwd.cc (read_etc_passwd): Never add an entry when startingCorinna Vinschen3-4/+14
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 ().
2002-11-25 * sec_acl.cc (getacl): Set errno to ENOSPC if command is GETACL andCorinna Vinschen2-1/+9
nentries is less than the number of entries in the file's ACL.
2002-11-242002-11-24 Corinna Vinschen <corinna@vinschen.de>Corinna Vinschen2-142/+153
* 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.
2002-11-24 * setfacl.c (getperm): Set only `other' permission bits.Corinna Vinschen2-4/+9
(getaclentry): Set a_id to -1 by default.
2002-11-24 * getfacl.c (permstr): Use `other' permission bits for requestingCorinna Vinschen2-3/+8
ace permissions.
2002-11-242002-11-05 Thomas Pfaff <tpfaff@gmx.net>Robert Collins5-78/+110
* 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.
2002-11-242002-11-25 Robert Collins <rbtcollins@hotmail.com>Robert Collins4-0/+108
* 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.
2002-11-24* libiberty.h (basename): Add NetBSD to the list.Jason Thorpe2-1/+5
2002-11-23* wait.cc (wait4): Force pending signal delivery before waiting for processChristopher Faylor2-0/+6
completion.
2002-11-23* include/cygwin/version.h: Bump DLL minor number.Christopher Faylor2-1/+5
2002-11-23fix typoChristopher Faylor1-1/+1
2002-11-22merge from gccDJ Delorie2-0/+10
2002-11-22* exceptions.cc (handle_sigsuspend): Force pending signal delivery beforeChristopher Faylor7-2/+66
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.
2002-11-222002-11-22 Joe Buehler <jbuehler@hekimian.com>Jeff Johnston4-5/+14
* 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.
2002-11-222002-11-22 Vijay L. Khuspe <vijayk1@kpit.com>Jeff Johnston2-1/+6
* libc/sys/h8300hms/read.c: Add support for normal mode architecture.
2002-11-22* include/cygwin/version.h: Fix comment.Christopher Faylor2-3/+7
2002-11-22* external.cc (cygwin_internal): Fix va_arg references.Christopher Faylor2-4/+7
2002-11-22* exceptions.cc (sigthread::get_winapi_lock): Just do standard 'give upChristopher Faylor7-61/+97
timeslice' wait. (setup_handler): Revamp YA to attempt to deliver signal multiple times on failure rather than punting to wait_sig. * miscfuncs.cc (low_priority_sleep): Accept INFINITE sleep to mean "don't reset the priority after setting it to idle". Return previous priority. * winsup.h (SLEEP_0_STAY_LOW): Define. (low_priority_sleep): Return an int. * sigproc.h: Define WAIT_SIG_PRIORITY here. * sigproc.cc: Remove WAIT_SIG_PRIORITY definition.
2002-11-202002-11-20 Ryo Tsuruta <ryo@kitanet.ne.jp>Jeff Johnston2-21/+18
* libc/machine/h8300/setjmp.S (setjmp, longjmp): Combine common code for __H8300H__ and __H8300S__. Also return 32-bit return code when -mint32 is used.
2002-11-20 * security.h: Declare internal_getpwsid and internal_getgrsid.Corinna Vinschen6-234/+205
Undeclare internal_getpwent. Define DEFAULT_UID_NT. Change DEFAULT_GID. * passwd.cc (internal_getpwsid): New function. (internal_getpwent): Suppress. (read_etc_passwd): Make static. Rewrite the code for the completion line. Set curr_lines to 0. (parse_pwd): Change type to static int. Return 0 for short lines. (add_pwd_line): Pay attention to the value of parse_pwd. (search_for): Do not look for nor return the DEFAULT_UID. * grp.cc (read_etc_group): Make static. Free gr_mem and set curr_lines to 0. Always call add_pwd_line. Rewrite the code for the completion line. (internal_getgrsid): New function. (parse_grp): If grp.gr_mem is empty, set it to &null_ptr. Never NULL gr_passwd. (getgrgid32): Only return the default if ntsec is off and the gid is ILLEGAL_GID. * sec_helper.cc (cygsid::get_id): Use getpwsid and getgrsid. (cygsid_getfrompw): Clean up last line. (cygsid_getfromgr): Ditto. (is_grp_member): Use getpwuid32 and getgrgid32. * uinfo.cc (internal_getlogin): Set DEFAULT_GID at start. Use getpwsid. Move the read of /etc/group after the second access to /etc/passwd. Change some debug_printf.
2002-11-20 * poll.cc (poll): ...but set POLLIN instead.Corinna Vinschen2-1/+7
2002-11-20 * security.cc (get_attribute_from_acl): Always test "anti",Corinna Vinschen3-96/+107
just in case an access_denied ACE follows an access_allowed. Handle the case owner_sid == group_sid, with a FIXME. Remove unnecessary tests for non-NULL PSIDs. (alloc_sd): Use existing owner and group sids if {ug}id == -1. Handle case where owner_sid == group_sid. Do not call is_grp_member. Try to preserve canonical ACE order. Remove unnecessary tests for non-NULL PSIDs. Reorganize debug_printf's. (get_initgroups_sidlist): Put well_known_system_sid on left side of ==. (add_access_denied_ace): Only call GetAce if inherit != 0. (add_access_allowed_ace): Ditto. Use appropriate sizeof. * syscalls.cc (chown_worker): Pass {ug}id equal to -1 to alloc_sd, which removes the need to obtain old_{ug}id. (chmod): Remove call to get_file_attribute (), simply pass {ug}id equal to -1 to alloc_sd.
2002-11-20 * poll.cc (poll): Don't set POLLERR if a listening socket has aCorinna Vinschen2-13/+37
pending connect. Don't use errno value from call to fhandler_socket::recvfrom().
2002-11-192002-11-19 Klee Dienes <kdienes@apple.com>Klee Dienes2-22/+26
* h8300.h (h8_opcode): Remove 'noperands', 'idx', and 'size' fields. (h8_opcodes). Modify initializer and initializer macros to no longer initialize the removed fields.
2002-11-19Fixed LDHI constraintSvein Seldal2-2/+6
2002-11-19* net.cc: Sprinkle sigframes throughout.Christopher Faylor2-0/+14
2002-11-19remove unneeded commentsChristopher Faylor1-6/+0
2002-11-182002-11-11 Klee Dienes <kdienes@apple.com>Klee Dienes2-22/+28
* h8300.h (h8_opcode): Remove 'length' field. (h8_opcodes): Mark as 'const' (both the declaration and definition). Modify initializer and initializer macros to no longer initialize the length field. 2002-11-11 Klee Dienes <kdienes@apple.com> * h8300-dis.c: Include libiberty.h (for xmalloc). (struct h8_instruction): New type, used to wrap h8_opcodes with a length field (computed at run-time). (h8_instructions): New variable. (bfd_h8_disassemble_init): Allocate the storage for h8_instructions. Fill h8_instructions with pointers to the appropriate opcode and the correct value for the length field. (bfd_h8_disassemble): Iterate through h8_instructions instead of h8_opcodes.
2002-11-182002-11-18 Klee Dienes <kdienes@apple.com>Klee Dienes3-3/+11
* arc.h (arc_ext_opcodes): Declare as extern. (arc_ext_operands): Declare as extern. * i860.h (i860_opcodes): Declare as const. 2002-11-18 Klee Dienes <kdienes@apple.com> * arc-opc.c (arc_ext_opcodes): Define. (arc_ext_operands): Define. * i386-dis.c (Suffix3DNow): Declare as const. * arm-opc.h (arm_opcodes): Declare as const. (thumb_opcodes): Declare as const. * h8500-opc.h (h8500_table): Declare as const. (h8500_table): Use a NULL for the opcode in the terminator, so that code testing (opcode->name) behaves correctly. * mcore-opc.h (mcore_table): Declare as const. * sh-opc.h (sh_table): Declare as const. * w65-opc.h (optable): Declare as const. * z8k-opc.h (z8k_table): Declare as const.
2002-11-18Fix bugs in previous deltaNick Clifton1-8/+6
2002-11-18 Add NULL to end of argv array.Nick Clifton2-0/+11
2002-11-18Fixups in ChangeLog entries which has been filed in the wrong place.Svein Seldal2-14/+14
2002-11-18 * gas/config/tc-tic4x.c: Fixed proper commandlineSvein Seldal2-375/+369
parameters. Added support for new opcode-list format. General error message fixups. (c4x_inst_add): Reject insn not for our CPU (md_begin): Added matrix for setting the proper opcode-level & device-flags according to cpu type and revision. Rewrite the opcode hasher. (c4x_operand_parse): Fix opcode bug (c4x_operands_match): New function argument. Added dry-run mechanism, that is optional error generation. Added constraint 'i' and 'j'. (c4x_insn_check): Added new function for post-verification of the generated insn. (md_assemble): Check all opcodes before croaking because of an argument mismatch. Need this to be able to fully support ortogonally arguments. (md_parse_options): Revised commandprompt swicthes and added new ones. (md_show_usage): Complete rewrite of printout. * gas/testsuite/gas/tic4x/addressing.s: Fix bug in one insn * gas/testsuite/gas/tic4x/addressing_c3x.d: Update thereafter * gas/testsuite/gas/tic4x/addressing_c4x.d: Update thereafter * gas/testsuite/gas/tic4x/allopcodes.S: Add support for new opclass.h changes * gas/testsuite/gas/tic4x/opclasses.h: Added testsuites for the new enhanced opcodes. * gas/testsuite/gas/tic4x/opcodes.s: Regenerate * gas/testsuite/gas/tic4x/opcodes_c3x.d: Update from above * gas/testsuite/gas/tic4x/opcodes_c4x.d: Update from above * gas/testsuite/gas/tic4x/opcodes_new.d: Added new testsuite for the enhanced and special insns. * gas/testsuite/gas/tic4x/tic4x.exp: Added the opcodes_new testsuite * include/opcode/tic4x.h: File reordering. Added enhanced opcodes. * opcodes/tic4x-dis.c: Added support for enhanced and special insn. (c4x_print_op): Added insn class 'i' and 'j' (c4x_hash_opcode_special): Add to support special insn (c4x_hash_opcode): Update to support the new opcode-list format. Add support for the new special insns. (c4x_disassemble): New opcode-list support.
2002-11-18new entry: "Is there a better alternative to the standard console window?" ↵David Starks-Browning1-0/+12
(yes, rxvt)
2002-11-17re. copy/paste in console window: use rxvt insteadDavid Starks-Browning1-0/+4
2002-11-17indicate ntsec now on by defaultDavid Starks-Browning1-1/+2
2002-11-162002-11-16 Klee Dienes <kdienes@apple.com>Klee Dienes2-485/+7
* opcode/m88k.h (INSTAB): Remove 'next' field. (instruction): Remove definition; replace with extern declaration and mark as const. W