]> sourceware.org Git - newlib-cygwin.git/log
newlib-cygwin.git
22 years ago* debug.cc (set_errno): Return value of errno that was set, just like the
Christopher Faylor [Mon, 22 Oct 2001 21:09:41 +0000 (21:09 +0000)]
* debug.cc (set_errno): Return value of errno that was set, just like the
macro.
(setclexec_pid): Replace old handle with new handle.
* debug.h: Reflect change in arguments for setclexec_pid.
* fhandler.cc (fhandler_base::set_inheritance): Ditto.
(fhandler_base::fork_fixup): Ditto.
* cygerrno.h: Reflect return value change for set_errno.

22 years agoRemove 'cb' parameter and modify fhandler_* constructors throughout.
Christopher Faylor [Mon, 22 Oct 2001 18:39:22 +0000 (18:39 +0000)]
Remove 'cb' parameter and modify fhandler_* constructors throughout.
* dtable.cc (dtable::build_fhandler): Remove debugging output which uses 'cb'.
* exec.cc (execvp): New function.
(execvpe): Ditto.
* fhandler.cc (fhandler_base::fhandler_base): Use constructor initialization.
* fhandler.h (fhandler_tty_common::fhandler_tty_common): Ditto.
* fhandler_clipboard.cc (fhandler_dev_clipboard::fhandler_dev_clipboard):
Ditto.
* fhandler_console.cc (fhandler_console::fhandler_console): Ditto.
* fhandler_raw.cc (fhandler_dev_raw::fhandler_dev_raw): Ditto.
* fhandler_serial.cc (fhandler_serial::fhandler_serial): Ditto.
* fhandler_tty.cc (fhandler_tty_master::fhandler_tty_master): Ditto.
(fhandler_tty_slave::fhandler_tty_slave): Ditto.
(fhandler_pty_master::fhandler_pty_master): Ditto.
* fhandler_windows.cc (fhandler_windows::fhandler_windows): Ditto.

22 years ago Patch suggested by Ian Ray <ian.ray@nokia.com>:
Corinna Vinschen [Mon, 22 Oct 2001 18:31:00 +0000 (18:31 +0000)]
Patch suggested by Ian Ray <ian.ray@nokia.com>:
* syscalls.cc (seteuid): Unset environment variables HOMEDRIVE and
HOMEPATH before calling internal_getlogin().
* uinfo.cc (internal_getlogin): Use default HOMEPATH and HOMEDRIVE
from environment if both are present, else query NetUserGetInfo().

22 years ago* libc/posix/execvp.c: Remove obsolete CYGWIN32 considerations throughout.
Christopher Faylor [Mon, 22 Oct 2001 16:40:26 +0000 (16:40 +0000)]
* libc/posix/execvp.c: Remove obsolete CYGWIN32 considerations throughout.
* signal.h: Change comment to reflect __CYGWIN__ rather than __CYGWIN32__.
* popen.c (popen): Use __CYGWIN_ rather than __CYGWIN32__.
* system.c (_system_r): Ditto.

22 years ago * net.cc (get_2k_ifconf): Change multiple IP address naming scheme
Corinna Vinschen [Mon, 22 Oct 2001 12:23:33 +0000 (12:23 +0000)]
    * net.cc (get_2k_ifconf): Change multiple IP address naming scheme
        to Linux style.

Patch by Alexander Gottwald <ago@informatik.tu-chemnitz.de>:
        * net.cc (get_2k_ifconf): Added support for multiple IP addresses on
        one interface.

22 years ago * miscfuncs.cc (__check_invalid_read_ptr_errno): Return error, if any.
Corinna Vinschen [Mon, 22 Oct 2001 11:31:39 +0000 (11:31 +0000)]
* miscfuncs.cc (__check_invalid_read_ptr_errno): Return error, if any.

22 years ago* resource.cc (fill_rusage): Perform paranoid zero structure passed to
Christopher Faylor [Mon, 22 Oct 2001 00:10:46 +0000 (00:10 +0000)]
* resource.cc (fill_rusage): Perform paranoid zero structure passed to
GetProcessMemoryInfo.

22 years ago* autoload.cc: Autoload GetProcessMemoryInfo.
Christopher Faylor [Sun, 21 Oct 2001 23:44:43 +0000 (23:44 +0000)]
* autoload.cc: Autoload GetProcessMemoryInfo.
* resource.cc (fill_rusage): Calculate ru_maxrss and ru_majflt entries.
(Bug report on this from Guido Serassio in the squid project).  This requires
including psapi.h.

22 years ago* dll_init.cc (dll_list::alloc): Increase retry count to 1000.
Christopher Faylor [Sun, 21 Oct 2001 03:38:41 +0000 (03:38 +0000)]
* dll_init.cc (dll_list::alloc): Increase retry count to 1000.

22 years agofix typo.
Christopher Faylor [Sat, 20 Oct 2001 17:35:27 +0000 (17:35 +0000)]
fix typo.

22 years ago * mkgroup.c: Avoid compiler warnings.
Corinna Vinschen [Sat, 20 Oct 2001 13:56:09 +0000 (13:56 +0000)]
    * mkgroup.c: Avoid compiler warnings.
        (print_special): New function.
        (main): Print special accounts by calling print_special().
        * mkpasswd.c: Avoid compiler warnings.
        (enum_users): Print additional U-domain\username info in gecos
        field when SIDs are printed.
        (print_special): New function.
        (main): Print special accounts by calling print_special().

22 years ago * include/winnetwk.h (WNetGetResourceInformationA): Add declaration.
Corinna Vinschen [Sat, 20 Oct 2001 10:41:09 +0000 (10:41 +0000)]
    * include/winnetwk.h (WNetGetResourceInformationA): Add declaration.
        (WNetGetResourceInformationW): Ditto.
        (WNetGetResourceInformation): Add define.

22 years ago* miscfuncs.cc (+__check_invalid_read_ptr_errno): New function.
Christopher Faylor [Sat, 20 Oct 2001 05:08:21 +0000 (05:08 +0000)]
* miscfuncs.cc (+__check_invalid_read_ptr_errno): New function.
* syscalls.c (_write): Validate that write buffer is accessible for reading,
not writing.
* winsup.h: Declare new function, increase regparmization of check_* functions.

22 years ago * path.cc (getcwd): Allow len == 0 when buf == NULL.
Corinna Vinschen [Fri, 19 Oct 2001 19:17:04 +0000 (19:17 +0000)]
    * path.cc (getcwd): Allow len == 0 when buf == NULL.

22 years ago* syscalls.cc (_read): Validate input pointer.
Christopher Faylor [Fri, 19 Oct 2001 02:27:19 +0000 (02:27 +0000)]
* syscalls.cc (_read): Validate input pointer.
(_write): Ditto.
(system): Ditto.

22 years ago2001-10-18 Chris Demetriou <cgd@broadcom.com>
Chris Demetriou [Thu, 18 Oct 2001 22:41:35 +0000 (22:41 +0000)]
2001-10-18  Chris Demetriou  <cgd@broadcom.com>

        * mips.h (OPCODE_IS_MEMBER): Add a no-op term to the end
        of the expression, to make source code merging easier.

22 years agoAdd ddb-kseg0.ld and switch to kseg1 if sizing memory from kseg0
Michael Meissner [Thu, 18 Oct 2001 02:24:30 +0000 (02:24 +0000)]
Add ddb-kseg0.ld and switch to kseg1 if sizing memory from kseg0

22 years ago2001-10-17 Chris Demetriou <cgd@broadcom.com>
Chris Demetriou [Thu, 18 Oct 2001 01:50:26 +0000 (01:50 +0000)]
2001-10-17  Chris Demetriou  <cgd@broadcom.com>

       * mips.h: Sort coprocessor instruction argument characters
       in comment, add a few more words of description for "H".

22 years ago[gas/testsuite/ChangeLog]
Chris Demetriou [Thu, 18 Oct 2001 01:42:16 +0000 (01:42 +0000)]
[gas/testsuite/ChangeLog]
2001-10-17  Chris Demetriou  <cgd@broadcom.com>

        * gas/mips/mips.exp (sb1-ext-ps): New test to test
        SB-1 core's paired-single extensions to the MIPS64 ISA.
        * gas/mips/sb1-ext-ps.d: New file.
        * gas/mips/sb1-ext-ps.s: New file.

[include/opcode/ChangeLog]
2001-10-17  Chris Demetriou  <cgd@broadcom.com>

        * mips.h (INSN_SB1): New cpu-specific instruction bit.
        (OPCODE_IS_MEMBER): Allow instructions matching INSN_SB1
        if cpu is CPU_SB1.

[opcodes/ChangeLog]
2001-10-17  Chris Demetriou  <cgd@broadcom.com>

        * mips-dis.c (mips_isa_type): Make the ISA used to disassemble
        SB-1 binaries include instructions specific to the SB-1.
        * mips-opc.c (SB1): New definition.
        (mips_builtin_opcodes): Add SB-1 extension opcodes "div.ps",
        "recip.ps", "rsqrt.ps", and "sqrt.ps".

22 years ago Add __rtems__ as system defining fchdir().
Corinna Vinschen [Wed, 17 Oct 2001 19:28:35 +0000 (19:28 +0000)]
Add __rtems__ as system defining fchdir().

22 years ago Patch from Frederic Devernay <Frederic.Devernay@sophia.inria.fr>:
Corinna Vinschen [Wed, 17 Oct 2001 18:52:06 +0000 (18:52 +0000)]
Patch from Frederic Devernay <Frederic.Devernay@sophia.inria.fr>:
* poll.cc (poll): Call cygwin_select() if any fd is valid.

22 years ago * libc/include/sys/unistd.h: Add prototype for fchdir() when
Corinna Vinschen [Wed, 17 Oct 2001 18:16:43 +0000 (18:16 +0000)]
* libc/include/sys/unistd.h: Add prototype for fchdir() when
__CYGWIN__ is defined.

22 years ago[gas/ChangeLog]
Matthew Green [Wed, 17 Oct 2001 13:13:15 +0000 (13:13 +0000)]
[gas/ChangeLog]
* config/tc-ppc.c (md_show_usage): Add missing -maltivec, -m7400,
-m7410, -m7450 and -m7455 options.

[gas/testsuite/ChangeLog]
* gas/ppc/altivec.s: New test for AltiVec.
* gas/ppc/altivec.d: New file.
* gas/ppc/ppc.exp: Test altivec.s

[include/opcode/ChangeLog]
* ppc.h (PPC_OPCODE_BOOKE64): Fix typo.

[opcodes/ChangeLog]
* ppc-opc.c (STRM): New AltiVec operand.
(XDSS): New AltiVec instruction form.
(mtvscr): Correct operand list.
(dst, dstt, dstst, dststt, dss, dssall): AltiVec instructions.

22 years ago2001-10-16 Jeff Holcomb <jeffh@redhat.com>
Jeff Holcomb [Wed, 17 Oct 2001 01:44:50 +0000 (01:44 +0000)]
2001-10-16  Jeff Holcomb  <jeffh@redhat.com>

        * internal.h (elf_internal_shdr): Make contents a unsigned char *.

22 years ago * fhandler_raw.cc (fhandler_dev_raw::open): Eliminate compatibility
Corinna Vinschen [Tue, 16 Oct 2001 20:17:23 +0000 (20:17 +0000)]
    * fhandler_raw.cc (fhandler_dev_raw::open): Eliminate compatibility
        code since no Win32 device names are used anymore.
        * fhandler_tape.cc (fhandler_dev_tape::tape_set_blocksize): Allow
        0 as blocksize to indicate variable blocksize.
        * path.cc (win32_device_name): Generate NT internal device names
        using upper/lower case names for readability.
        Generate \DosDevices\<letter>: device name for mount table
        compatibility devices.

22 years agoForgot ChangeLog
Corinna Vinschen [Tue, 16 Oct 2001 17:32:42 +0000 (17:32 +0000)]
Forgot ChangeLog

22 years ago* fhandler.cc (fhandler_base::fork_fixup): Guard against compiler warning.
Christopher Faylor [Tue, 16 Oct 2001 16:58:28 +0000 (16:58 +0000)]
* fhandler.cc (fhandler_base::fork_fixup): Guard against compiler warning.

22 years ago * fhandler_tape.cc (fhandler_dev_tape::tape_status): Report
Corinna Vinschen [Tue, 16 Oct 2001 16:28:39 +0000 (16:28 +0000)]
    * fhandler_tape.cc (fhandler_dev_tape::tape_status): Report
        EOTWarningZoneSize in get->mt_eotwarningzonesize.
        * include/cygwin/mtio.h: Define DEFTAPE.
        (struct mtget): Add member `mt_eotwarningzonesize'. Add a comment.
        * include/cygwin/version.h: Bump API minor version to 47.

22 years ago * pathnames.sgml: Cleanup raw device text to be more coherent.
Corinna Vinschen [Tue, 16 Oct 2001 16:03:22 +0000 (16:03 +0000)]
    * pathnames.sgml: Cleanup raw device text to be more coherent.

22 years ago * pathnames.sgml: Add description for new fixed device paths.
Corinna Vinschen [Tue, 16 Oct 2001 15:16:02 +0000 (15:16 +0000)]
* pathnames.sgml: Add description for new fixed device paths.

22 years ago * autoload.cc: Add load statement for `NtOpenFile'.
Corinna Vinschen [Tue, 16 Oct 2001 14:53:26 +0000 (14:53 +0000)]
* autoload.cc: Add load statement for `NtOpenFile'.
* fhandler.h (fhandler_dev_raw::get_unit): New method.
(fhandler_dev_tape::norewind): Eliminate.
(fhandler_dev_tape::is_rewind_device): New method.
* fhandler_raw.cc (fhandler_dev_raw::open): Open new
fixed device name devices using NT internal method.
Keep calling fhandler_base::open() for old mount table
device mapping compatibility devices.
(fhandler_dev_raw::fstat): Eliminate.  Settings are done
by fhandler_base::fstat() already.
* fhandler_tape.cc: Remove `norewind' usage throughout.
* ntdll.h: Define FILE_SYNCHRONOUS_IO_NONALERT.
Define struct _IO_STATUS_BLOCK.
Declare NtOpenFile().
* path.cc (get_raw_device_number): Add new approach for
using fixed device names.
(win32_device_name): Ditto.
(get_device_number): Ditto.  Require POSIX path to begin
with "/dev/".
(mount_info::conv_to_win32_path): Call win32_device_name()
instead of get_device_number() after evaluating mount points
to allow changing the win32 destination path again.
* security.cc (str2buf2uni): Remove `static' to be able to
call function from fhandler_dev_raw::open().
* wincap.cc: Set flag has_raw_devices appropriately.
* wincap.h: Add flag has_raw_devices.

22 years ago* cygheap.h (cygheap_fdget::cygheap_fdget): Remove debugging operation from
Christopher Faylor [Tue, 16 Oct 2001 14:43:36 +0000 (14:43 +0000)]
* cygheap.h (cygheap_fdget::cygheap_fdget): Remove debugging operation from
set_errno.

22 years ago* mmap.cc (mmap): Assign 'fh' from cygheap_fdget. Use 'fh' everywhere.
Christopher Faylor [Tue, 16 Oct 2001 14:04:26 +0000 (14:04 +0000)]
* mmap.cc (mmap): Assign 'fh' from cygheap_fdget.  Use 'fh' everywhere.

22 years agominor reformat.
Christopher Faylor [Tue, 16 Oct 2001 13:49:38 +0000 (13:49 +0000)]
minor reformat.

22 years ago* filenames.h: Add cygwin to the list of dosish style path systems.
Christopher Faylor [Tue, 16 Oct 2001 12:47:31 +0000 (12:47 +0000)]
* filenames.h: Add cygwin to the list of dosish style path systems.

22 years ago* cygerrno.h (set_errno): Define more informative version of this function for
Christopher Faylor [Tue, 16 Oct 2001 03:31:50 +0000 (03:31 +0000)]
* cygerrno.h (set_errno): Define more informative version of this function for
debugging.
(__set_errno): Declare when DEBUGGING.
* cygheap.h (cygheap_fdget::cygheap_fdget): Add a flag to control when errno is
set.
* debug.cc (__set_errno): New function.
* fcntl.cc (_fcntl): Fix so that correct fd is used for second argument to
dup2.
* syscalls.cc (_cygwin_istext_for_stdio): Don't set errno here when using
cygheap_fdget.

22 years ago* fhandler.cc (fhandler_base::fork_fixup): Don't protect handle.
Christopher Faylor [Mon, 15 Oct 2001 23:39:33 +0000 (23:39 +0000)]
* fhandler.cc (fhandler_base::fork_fixup): Don't protect handle.
* dlfcn.cc: Fix to confirm to coding standards.  Reorganize includes throughout
to accomodate new cygheap.h usage.
* cygheap.h (cygheap_fdmanip): New class: simplifies locking and retrieval of
fds from cygheap->fdtab.
(cygheap_fdget): Ditto.
(cygheap_fdnew): Ditto.
* fcntl.cc (_fcntl): Use new method to lock fdtab and retrieve info.
* ioctl.cc (ioctl): Ditto.
* mmap.cc (mmap): Ditto.
* net.cc: Ditto, throughout.
* passwd.cc (getpass): Ditto.
* path.cc (fchdir): Ditto.
* pipe.cc (make_pipe): Ditto.
* sec_acl.cc (facl): Ditto.
* syscalls.cc: Ditto, throughout.
* termios.cc: Ditto, throughout.

22 years agonew known problem "hang or core-dump during make"
David Starks-Browning [Mon, 15 Oct 2001 22:32:46 +0000 (22:32 +0000)]
new known problem "hang or core-dump during make"

22 years agocvs+ssh problem on Win9x now FITNR.
David Starks-Browning [Mon, 15 Oct 2001 21:51:36 +0000 (21:51 +0000)]
cvs+ssh problem on Win9x now FITNR.

22 years ago* mkpasswd.cc (enum_users): Shorten "unused" passwd field.
Christopher Faylor [Mon, 15 Oct 2001 15:44:37 +0000 (15:44 +0000)]
* mkpasswd.cc (enum_users): Shorten "unused" passwd field.

22 years ago * uname.cc (uname): Use `wProcessorLevel' unless OS sets it wrong.
Corinna Vinschen [Mon, 15 Oct 2001 09:41:18 +0000 (09:41 +0000)]
    * uname.cc (uname):  Use `wProcessorLevel' unless OS sets it wrong.
        Use `dwProcessorType' then instead.
        * wincap.cc: Set flag has_valid_processorlevel appropriately.
        * wincap.h: Add flag has_valid_processorlevel.

22 years ago* dtable.cc (dtable::build_fhandler_from_name): Use PC_FULL to determine path
Christopher Faylor [Sun, 14 Oct 2001 15:49:13 +0000 (15:49 +0000)]
* dtable.cc (dtable::build_fhandler_from_name): Use PC_FULL to determine path
name.
* fork.cc (fork_parent): Correct the "unable to allocate forker_finished event"
error message.  It named the wrong event before.

22 years ago* autoload.cc (load_wsock32): Declare dummy function to force loading of
Christopher Faylor [Sun, 14 Oct 2001 04:14:24 +0000 (04:14 +0000)]
* autoload.cc (load_wsock32): Declare dummy function to force loading of
winsock.
* fhandler.cc (fhandler_base::set_inheritance): Make debugging output more
verbose.
* fhandler_socket.cc (fhandler_socket::fixup_after_fork): Force loading of
winsock32 if winsock2 not available.
* net.cc (set_socket_inheritance): Use DuplicateHandle in all cases to set
inheritance correctly.
(fdsock): Use winsock2_active macro to determine when to set socket
inheritance.  Remove fdtab resource locking since this function should already
be protected.
(cygwin_accept): Simplify logic.  Ensure that fdtab unlock is not called
inappropriately.
(cygwin_rcmd): Use fdtab locking.
(cygwin_rresvport): Ditto.
(cygwin_rexec): Ditto.
* select.cc (peek_socket): Set errno appropriately if winsock select fails.
* winsup.h: Declare check_pty_fds.
* syscalls.cc (check_pty_fds): Rename from check_ttys_fds.  Also check pty
master.
(setsid): Use check_pty_fds.
* dtable.cc (dtable::dec_console_fds): Add check on pty fds.

22 years ago* fhandler_dsp.cc (fhandler_dsp::ioctl): Return 0 for successful
Christopher Faylor [Sat, 13 Oct 2001 17:23:35 +0000 (17:23 +0000)]
* fhandler_dsp.cc (fhandler_dsp::ioctl): Return 0 for successful
SNDCTL_DSP_GETBLKSIZE operation.  Remove obsolete 'name' arg from fhandler_*
constructors throughout.
* winsup.h (winsock_active): New macro.
(winsock2_active): Ditto.
* autoload.cc (wsock_init): Use new macros to decide if winsock or winsock2 is
loaded.
(nonexist_wsock32): Dummy function to force winsock load.
(nonexist_ws2_32): Dummy function to force winsock2 load.
* fhandler.h (fhandler_socket::fstat): Declare new method.  Currently unused.
* fhandler_socket.cc (fhandler_socket::fixup_before_fork_exec): Check that
winsock2 is active before trying WSADuplicateSocketA.
(fhandler_socket::fixup_after_fork): Add extra check for winsock2_active.
Otherwise use iffy procedures for Windows 95.
(fhandler_socket::fixup_after_exec): Add debugging.
(fhandler_socket::dup): Add debugging.
(fhandler_socket::fstat): New method.
(fhandler_socket::set_close_on_exec): Attempt to perform iffy stuff on Windows
95.
* errno.cc (_sys_nerr): Work around compiler strangeness.
* pinfo.cc (winpids::add): Add extra element at end of allocated array for
setting to NULL.
(winpids::enumNT): Ditto.
(winpids::init): Don't modify pidlist if it hasn't been allocated
(possibly due to malloc problem).

22 years ago* Makefile.in: Allow stdinc searching for dumper.
Christopher Faylor [Sat, 13 Oct 2001 05:33:47 +0000 (05:33 +0000)]
* Makefile.in: Allow stdinc searching for dumper.

22 years agooops, fix an error in the previous entry.
Matthew Green [Sat, 13 Oct 2001 02:27:25 +0000 (02:27 +0000)]
oops, fix an error in the previous entry.

22 years ago[gas/ChangeLog]
Matthew Green [Sat, 13 Oct 2001 01:59:09 +0000 (01:59 +0000)]
[gas/ChangeLog]
* config/tc-ppc.c (md_parse_option): New -m7410, -m7450 and -m7455
flags, equivalent to -m7400.  New -maltivec to enable AltiVec
instructions.  New -mbook64 and -mbooke/-mbooke32 flags to enable
64-bit and 32-bit BookE support, respectively.  Change -m403 and
-m405 to set PPC403 option.
(md_show_usage): Adjust for new options.
* doc/all.texi: Set PPC.
* doc/as.texinfo: Add PPC support and pull in c-ppc.texi.
* doc/c-ppc.texi: New file.
* doc/Makefile.am (CPU_DOCS): Add c-ppc.texi.
* doc/Makefile.in: Regenerate.

[gas/testsuite/ChangeLog]
* gas/ppc/booke.s: New test for Motorola BookE.
* gas/ppc/booke.d: New file.
* gas/ppc/ppc.exp: Test booke.s.

[include/opcode/ChangeLog]
* ppc.h (PPC_OPCODE_BOOKE, PPC_OPCODE_403): New opcode flags for
BookE and PowerPC403 instructions.

[opcodes/ChangeLog]
* ppc-opc.c (insert_de, extract_de, insert_des, extract_des): New
instruction field instruction/extraction functions for new BookE
DE form instructions.
(CT): New macro for CT field in an X form instruction.
(DE, DES, DEO, DE_MASK): New macros for DE/DES fields in DE form
instructions.
(PPC64): Don't include PPC_OPCODE_PPC.
(403): New opcode macro for PPC403 processors.
(BOOKE): New opcode macro for BookE processors.
(bce, bcel, bcea, bcela, bclre, bclrel: New BookE instructions.
(bcctre, bcctrel, be, bel, bea, bela, icbt, icbte, lwzxe): Likewise.
(dcbste, lwzuxe, luxe, dcbfe, lbzxe, lwarxe, lbzuxe): Likewise.
(stwcxe, stwxe, stxe, stwuxe, stuxe, stbxe, dcbtste, stbuxe): Likewise.
(mfapidi, dcbte, lhzxe, lhzuxe, lhaxe, lhauxe, subfe64): Likewise.
(subfeo64, adde64, addeo64, sthxe, sthuxe, subfze64): Likewise.
(subfzeo64, addze64, addzeo64, dcbie, subfme64, subfmeo64): Likewise.
(addme64, addmeo64, stdcxe., mcrxr64, lwbrxe, lfsxe, lfsuxe): Likewise.
(lfdxe, lfduxe, stwbrxe, stfsxe, stfsuxe, stfdxe, dcbae): Likewise.
(stfduxe, tlbivax, tlbivaxe, lhbrxe, ldxe, lduxe, tlbsx): Likewise.
(tlbsxe, sthbrxe, stdxe, stduxe, icbie, stfiwxe, dcbze, lbze): Likewise.
(lbzue, ldue, lhze, lhzue, lhae, lhaue, lwze, lwzue): Likewise.
(stbe, stbue, sthe, sthue, stwe, stwue, lfse, lfsue, lfde): Likewise.
(lfdue, stde, stdue, stfse, stfsue, stfde, stfdue): Likewise.

* ppc-dis.c (print_insn_big_powerpc, print_insn_little_powerpc): Look
for a disassembler option of `booke', `booke32' or `booke64' to enable
BookE support in the disassembler.

22 years ago* autoload.cc (wsock_init): Reorganize slightly to accomodate a new compiler.
Christopher Faylor [Sat, 13 Oct 2001 01:35:15 +0000 (01:35 +0000)]
* autoload.cc (wsock_init): Reorganize slightly to accomodate a new compiler.

22 years ago* Makefile.in: Add -nostdinc to CXXFLAGS.
Christopher Faylor [Sat, 13 Oct 2001 00:59:20 +0000 (00:59 +0000)]
* Makefile.in: Add -nostdinc to CXXFLAGS.

22 years ago* Makefile.in: Comment out install for now.
Christopher Faylor [Fri, 12 Oct 2001 20:02:41 +0000 (20:02 +0000)]
* Makefile.in: Comment out install for now.

22 years ago* Makefile.in: Accomodate changes to w32api_include macro.
Christopher Faylor [Fri, 12 Oct 2001 19:49:29 +0000 (19:49 +0000)]
* Makefile.in: Accomodate changes to w32api_include macro.

22 years ago* Makefile.common: Perform more include file testing trickery.
Christopher Faylor [Fri, 12 Oct 2001 12:52:05 +0000 (12:52 +0000)]
* Makefile.common: Perform more include file testing trickery.

22 years agoRed Hatize
Christopher Faylor [Fri, 12 Oct 2001 01:51:21 +0000 (01:51 +0000)]
Red Hatize

22 years ago* net.cc (cygwin_sendto): Use correct socket address when sending
Egor Duda [Thu, 11 Oct 2001 09:46:21 +0000 (09:46 +0000)]
* net.cc (cygwin_sendto): Use correct socket address when sending
data to AF_UNIX socket.

22 years ago * net.cc (get_95_ifconf): Using other registry values pointing to
Corinna Vinschen [Wed, 10 Oct 2001 19:28:19 +0000 (19:28 +0000)]
* net.cc (get_95_ifconf): Using other registry values pointing to
correct networkdevice identification for Windows95.

22 years agoNew entries:
David Starks-Browning [Wed, 10 Oct 2001 09:21:55 +0000 (09:21 +0000)]
New entries:
My application cannot locate cygncurses5.dll!!!
Why is Cygwin suddenly @emph{so} slow?
Modified:
Why doesn't //c (for C:) work anymore?

22 years agoThroughout, rename PROC_FORK1 to PROC_FORK.
Christopher Faylor [Wed, 10 Oct 2001 02:32:12 +0000 (02:32 +0000)]
Throughout, rename PROC_FORK1 to PROC_FORK.
* child_info.h: Rename PROC_* to _PROC_*.  Define PROC_* with additional
testing magic.  Eliminate old PROC_FORK and rename PROC_FORK1 to PROC_FORK.
* dcrt0.cc (_cygwin_testing_magic): New variable.  Added to magic number in
proc_info.
(alloc_stack): Eliminate old PROC_FORK test.
(dll_crt0_1): Ditto.  Use _PROC_* enums for test.  Subtract
_cygwin_testing_magic from child_proc_info->type so that normal cygwin programs
invoked by test suite programs do not consider themselves to be in a cygwin
environment.
(_dll_crt0): Ditto.  Move environment checks to initial_env function to
conserve on stack space.
(initial_env): New function.  Checks for testing and debugging environment
variables.
* init.cc (cygwin_hmodule): Move declaration.
* winsup.h: Declare variables used for cygwin testing.

22 years ago* Makefile.in (MINGW_INCLUDES): Accomodate changes in Makefile.common.
Christopher Faylor [Wed, 10 Oct 2001 01:58:33 +0000 (01:58 +0000)]
* Makefile.in (MINGW_INCLUDES): Accomodate changes in Makefile.common.

22 years ago* Makefile.common: Avoid adding -I options to compile if they already exist in
Christopher Faylor [Wed, 10 Oct 2001 01:57:43 +0000 (01:57 +0000)]
* Makefile.common: Avoid adding -I options to compile if they already exist in
CC or C*FLAGS.  This prevents warnings from newer versions of gcc.

22 years ago* uinfo.cc (internal_getlogin): Reorganize slightly to minimize work in default
Christopher Faylor [Tue, 9 Oct 2001 23:28:24 +0000 (23:28 +0000)]
* uinfo.cc (internal_getlogin): Reorganize slightly to minimize work in default
condition.

22 years agofix typos
Egor Duda [Tue, 9 Oct 2001 18:12:51 +0000 (18:12 +0000)]
fix typos

22 years ago * fhandler.cc (fhandler_disk_file::open): Add missing case clash check.
Corinna Vinschen [Tue, 9 Oct 2001 16:54:18 +0000 (16:54 +0000)]
    * fhandler.cc (fhandler_disk_file::open): Add missing case clash check.

22 years ago * winsup.api/mmaptest01.c: Add several tests on mmaps. Use libltp.
Corinna Vinschen [Mon, 8 Oct 2001 12:18:38 +0000 (12:18 +0000)]
* winsup.api/mmaptest01.c: Add several tests on mmaps.  Use libltp.
* winsup.api/winsup.exp: Link all tests agains libltp.

22 years ago* dtable.cc (dtable::build_fhandler): Allocate correct amount for given
Christopher Faylor [Mon, 8 Oct 2001 05:50:33 +0000 (05:50 +0000)]
* dtable.cc (dtable::build_fhandler): Allocate correct amount for given
fhandler class.
* fhandler.h (fhandler_union): Properly define rather than relying on
fhandler_console being "big enough".

22 years ago* external.cc (fillout_pinfo): Reset counter whenever we initialize the pid
Christopher Faylor [Mon, 8 Oct 2001 04:26:27 +0000 (04:26 +0000)]
* external.cc (fillout_pinfo): Reset counter whenever we initialize the pid
list.

22 years ago* kill.cc (main): Set exit value to 1 on invalid pid. Perform minor cleanup.
Christopher Faylor [Mon, 8 Oct 2001 03:06:25 +0000 (03:06 +0000)]
* kill.cc (main): Set exit value to 1 on invalid pid.  Perform minor cleanup.

22 years ago* path.cc (normalize_posix_path): Don't eat a '.' after a '\\' since it has
Christopher Faylor [Sun, 7 Oct 2001 21:16:36 +0000 (21:16 +0000)]
* path.cc (normalize_posix_path): Don't eat a '.' after a '\\' since it has
special meaning on NT.
* syscalls.cc (access): Use stat_worker.

22 years agomerge from gcc
DJ Delorie [Sun, 7 Oct 2001 17:23:43 +0000 (17:23 +0000)]
merge from gcc

22 years agofix typo
Christopher Faylor [Sat, 6 Oct 2001 04:04:14 +0000 (04:04 +0000)]
fix typo

22 years ago* fhandler.cc (fhandler_base::fork_fixup): Protect dup'ed handle and record it
Christopher Faylor [Sat, 6 Oct 2001 01:04:24 +0000 (01:04 +0000)]
* fhandler.cc (fhandler_base::fork_fixup): Protect dup'ed handle and record it
as non-inheritable for debugging purposes in case there is a subsequent fork or
exec.
* fhandler_tty.cc (fhandler_tty_common::fixup_after_fork): Allow fork_fixup to
call ProtecHandle.

22 years ago* path.cc (get_raw_device_number): Correct length arguments for wdeveqn.
Christopher Faylor [Fri, 5 Oct 2001 18:23:49 +0000 (18:23 +0000)]
* path.cc (get_raw_device_number): Correct length arguments for wdeveqn.

22 years ago* winsup.api/nullgetcwd.c: New file. Check that NULL first argument to getcwd
Christopher Faylor [Fri, 5 Oct 2001 16:52:43 +0000 (16:52 +0000)]
* winsup.api/nullgetcwd.c: New file.  Check that NULL first argument to getcwd
works.

22 years ago* path.cc (getcwd): Allow NULL first argument.
Christopher Faylor [Fri, 5 Oct 2001 15:05:07 +0000 (15:05 +0000)]
* path.cc (getcwd): Allow NULL first argument.

22 years agoRevert incorrect checkins.
Christopher Faylor [Fri, 5 Oct 2001 04:37:33 +0000 (04:37 +0000)]
Revert incorrect checkins.

22 years ago* heap.h (inheap): Check for NULL.
Christopher Faylor [Fri, 5 Oct 2001 04:36:14 +0000 (04:36 +0000)]
* heap.h (inheap): Check for NULL.

22 years agoAdd second path_conv * argument to fstat()s throughout.
Christopher Faylor [Fri, 5 Oct 2001 04:21:41 +0000 (04:21 +0000)]
Add second path_conv * argument to fstat()s throughout.
* fhandler.h: Change read and fstat to regparm/stdcall throughout.
(fhandler_base::fstat): Just declare.  Don't define.
(fhandler_disk_file::fstat_helper): Declare.
* fhandler.cc (fhandler_base::fstat): Move here from fhandler.h, adapt from
former stat_dev().
(fhandler_disk_file::fstat): Move most of the disk-file-specific logic from
stat_worker to here.  Use fstat_helper to derive final fstat output.
(fhandler_disk_file::fstat_helper): New method, renamed from former fstat
method.
(num_entries): Moved here from syscalls.cc.
* fhandler_mem.cc (fhandler_dev_mem::fstat): Use base class to initialize most
stuff.  Invert has_physical_mem_access test for establishing permissions.
* fhandler_raw.cc (fhandler_dev_raw::fstat): Eliminate unneed test and memory
clearing.  Use base class to initialize most stuff.
* syscalls.cc (stat_dev): Eliminate.
(stat_worker): Simply call fstat method to generate fstat output.  Move all
device specific code to appropriate fstats.
* dir.cc (opendir): Pass correct arg to stat_worker to allow following
symlinks.

22 years ago* winsup.api/systemcall.c (main): Change some messages for clarity.
Christopher Faylor [Fri, 5 Oct 2001 02:47:28 +0000 (02:47 +0000)]
* winsup.api/systemcall.c (main): Change some messages for clarity.

22 years ago* winsup.api/systemcall.c: New file. Check for system call problems.
Christopher Faylor [Fri, 5 Oct 2001 02:29:46 +0000 (02:29 +0000)]
* winsup.api/systemcall.c: New file.  Check for system call problems.

22 years ago* spawn.cc (perhaps_suffix): Return NULL on non-existence of file as well as
Christopher Faylor [Fri, 5 Oct 2001 01:39:08 +0000 (01:39 +0000)]
* spawn.cc (perhaps_suffix): Return NULL on non-existence of file as well as
"directoryness".  Previous code modified on 2001/09/30 actually had an arguable
bug which was unmasked by the change on that day.

22 years ago* path.cc (path_conv::check): Return ENOTDIR when leading device and trailing
Christopher Faylor [Fri, 5 Oct 2001 00:52:41 +0000 (00:52 +0000)]
* path.cc (path_conv::check): Return ENOTDIR when leading device and trailing
component.

22 years ago* syscalls.cc (stat_worker): Make global. Accept path_conv parameter for
Christopher Faylor [Fri, 5 Oct 2001 00:17:57 +0000 (00:17 +0000)]
* syscalls.cc (stat_worker): Make global.  Accept path_conv parameter for
passing information back to caller.
* winsup.h: Declare stat_worker.
* dir.cc (opendir): Use stat_worker rather than stat and pass path_conv
parameter to stat_worker for later inspection.
* syslog.cc (syslog): Teach syslog about syslog priorities other than LOG_ERR,
LOG_WARNING and LOG_INFO
* path.cc (path_conv::check): Don't perform file system or rootdir checks on
devices.

22 years ago* dcrt0.cc (dll_crt0_1): Don't close hexec_proc if it is NULL.
Christopher Faylor [Thu, 4 Oct 2001 02:34:20 +0000 (02:34 +0000)]
* dcrt0.cc (dll_crt0_1): Don't close hexec_proc if it is NULL.
* fork.cc (vfork): Add debugging statements.
* path.cc (get_device_number): Make static.  Rewrite to inspect both unix and
windows paths.
(get_raw_device_number): Just check for parts of raw device that we care about.
(get_devn): New function, pulled from get_device_number.
(win32_device_name): Accomodate arg changes to get_device_number.
(mount_info::get_device_number): Call get_device_number on translated Windows
path.
* spawn.cc (spawn_guts): Don't treat P_VFORK differently from P_NOWAIT.  Add
handle to child's shared region to child so that it will be preserved if the
parent goes away.
* fhandler.h: Throughout, simplify to one open method for all fhandler classes,
requiring a path_conv first element.
* fhandler.cc (fhandler_base::open): Remove obsolete method.  Generalize to
require path_conv * as first argument.
(fhandler_disk_file::open): Remove obsolete method.
(fhandler_disk_file::open): Use path_conv pointer rather than reference.
* fhandler_clipboard.cc (fhandler_dev_clipboard::dup): Use new open method.
(fhandler_dev_clipboard::open): Accomodate new argument for open methods.
* fhandler_console.cc (fhandler_console::open): Ditto.
(fhandler_console::dup): Use new open method.
(fhandler_console::fixup_after_fork): Ditto.
(fhandler_console::fixup_after_exec): Ditto.
* fhandler_dsp.cc (fhandler_dev_dsp::open): Accomodate new argument for open
methods.
* fhandler_floppy.cc (fhandler_dev_floppy::open): Ditto.
* fhandler_mem.cc (fhandler_dev_mem::open): Ditto.
* fhandler_random (fhandler_dev_random::open): Ditto.
* fhandler_raw.cc (fhandler_dev_raw::open): Ditto.
* fhandler_serial.cc (fhandler_serial::open): Ditto.
* fhandler_tape.cc (fhandler_dev_tape::open): Ditto.
* fhandler_tty.cc (fhandler_tty_slave::open): Ditto.
(fhandler_pty_master::open): Ditto.
* fhandler_windows.cc (fhandler_windows::open): Ditto.
* fhandler_zero.cc (fhandler_dev_zero::open): Ditto.
* fhandler_socket.cc (fhandler_socket::set_connect_secret): Accomodate new
argument for open methods.
* syscalls.cc (_open): Ditto.
(stat_worker): Ditto.

22 years agoAdd support for -z nocopyreloc.
Alan Modra [Wed, 3 Oct 2001 15:11:47 +0000 (15:11 +0000)]
Add support for -z nocopyreloc.

22 years ago* cygheap.cc (cfree): Remove malloc debugging probe.
Christopher Faylor [Wed, 3 Oct 2001 03:49:26 +0000 (03:49 +0000)]
* cygheap.cc (cfree): Remove malloc debugging probe.
* dlmalloc.c (errprint): Remove abort() call which causes interesting error
message printing to abort prematurely.
* environ.cc: Sprinkle MALLOC_CHECKs liberally throughout.
(_addenv): Allocate two empty elements at end of environ to
(apparently) work around problems with some buggy applications.
(winenv): Avoid calling alloca if no forced environment variable is present.

* exceptions.cc (open_stackdumpfile): Don't print "Dumping stack trace to..."
when running in a cygwin environment (i.e., the parent is a cygwin process).

* dtable.cc (dtable::init_std_file_from_handle): Move device type detection
code from build_fhandler here since it is only used by this function.
(dtable::build_fhandler_from_name): New method.  Renamed from
dtable::build_fhandler.
(dtable::build_fhandler): Use build_fhandler_from_name.
(cygwin_attach_handle_to_fd): Ditto.
* syscalls.cc (_open): Ditto.
(stat_worker): Ditto.
* dtable.h (dtable::build_fhandler_from_name): Rename declaration from
dtable::build_fhandler.

22 years ago * gettext.m4: Test po/POTFILES.in exists before trying to read.
Alan Modra [Wed, 3 Oct 2001 01:46:25 +0000 (01:46 +0000)]
* gettext.m4: Test po/POTFILES.in exists before trying to read.

22 years agoTue Oct 2 22:25:23 2001 Robert Collins <rbtcollins@hotmail.com>
Robert Collins [Tue, 2 Oct 2001 12:27:03 +0000 (12:27 +0000)]
Tue Oct  2 22:25:23 2001  Robert Collins <rbtcollins@hotmail.com>

        * how-fhandlers-work.txt: New file.

22 years ago * common.h (NLM_CAT, NLM_CAT3): Don't define.
Alan Modra [Tue, 2 Oct 2001 05:59:56 +0000 (05:59 +0000)]
* common.h (NLM_CAT, NLM_CAT3): Don't define.
(NLM_CAT4): Update conditions under which this is defined.  Document
why CONCAT4 can't be used.

22 years ago* dtable.h (dtable::build_fhandler): Make path_conv parameter non-optional.
Christopher Faylor [Tue, 2 Oct 2001 01:58:06 +0000 (01:58 +0000)]
* dtable.h (dtable::build_fhandler): Make path_conv parameter non-optional.
(dtable::init_std_file_from_handle): Eliminate name parameter.
* dtable.cc (stdio_init): Don't pass bogus name to init_std_file_from_handle.
The function will figure out the name itself.
(dtable::init_std_file_from_handle): Eliminate name parameter.  Assume that
we're always called with an appropriate fd.  Pass name as NULL if we can't
simply figure it out from context.
(cygwin_attach_handle_to_fd): Pass path_conv argument to build_fhandler.
(dtable::build_fhandler): Make path_conv argument mandatory.  Eliminate
specific call to get_device_number.  With unknown device names, set name from
handle context for parsing by path_conv.
(dtable::build_fhandler): Pass path_conv argument to build_fhandler.
* path.h (path_conv::set_isdisk): Set disk device type.
(path_conv::is_device): Don't consider FH_DISK a "device".
* syscalls.cc (_open): Pass path_conv argument by reference.
(stat_worker): Ditto.
(_rename): Use path_conv operators.  Add bounds to DeleteFile/MoveFile for
loop.

22 years ago* cygwin.din: export strtoll and strtoull
Christopher Faylor [Mon, 1 Oct 2001 19:47:37 +0000 (19:47 +0000)]
* cygwin.din: export strtoll and strtoull

22 years ago2001-10-01 Charles Wilson <cwilson@ece.gatech.edu>
Jeff Johnston [Mon, 1 Oct 2001 18:05:11 +0000 (18:05 +0000)]
2001-10-01  Charles Wilson  <cwilson@ece.gatech.edu>

        * libc/include/stdlib.h: add declarations for
        _strtoull_r, _strtoll_r, strtoull, and strtoll.
        * libc/stdio/local.h: remove declarations of
        __strtoull_r and __strtoll_r.
        * libc/stdio/vfscanf.c(__svfscanf_r): call
        _strtoull_r instead of __strtoull_r. Ditto
        _strtoll_r vs. __strtoll_r.
        * libc/stdlib/Makefile.am: add new files to
        .c list and .def list
        * libc/stdlib/Makefile.in: regenerate
        * libc/stdlib/strtoll_r.c: rename __strtoll_r
        as _strtoll_r
        * libc/stdlib/strtoull_r.c: rename __strtoull_r
        as _strtoull_r
        * libc/stdlib/strtoull.c: new file
        * libc/stdlib/strtoll.c: new file

22 years agoAdd "path.h" include throughout, where needed. Use new path_conv methods and
Christopher Faylor [Mon, 1 Oct 2001 04:10:07 +0000 (04:10 +0000)]
Add "path.h" include throughout, where needed.  Use new path_conv methods and
operators to simplify testing for directory and attributes, throughout.
* path.h (path_conv::exists): New method.
(path_conv::has_attribute): Ditto.
(path_conv::isdir): Ditto.
(path_conv::DWORD &): New operator.
(path_conv::int &): Ditto.
* dir.cc (rmdir): Eliminate a goto.
* dtable.cc (dtable::build_fhandler): Accept opt and suffix info for
path_conv.check.  Return fh == NULL on path_conv error.  Pass unit to set_name
as appropriate.
(dtable::reset_unix_path_name): New method.
* dtable.h (dtable): Declare new method.  Reflect arg changes to
build_fhandler.
* fhandler.cc (fhandler_disk_dummy_name): Eliminate.
(fhandler_base::set_name): Expect paths to be NULL.  Build unix_path_name from
win32_path_name when it is a device.
(fhandler_base::reset_unix_path_name): New method.
(fhandler_base::raw_read): Report EISDIR when ERROR_INVALID_FUNCTION or
ERROR_INVALID_PARAMETER and reading a directory.
(fhandler_disk_file::fstat): Don't call stat_dev since we should now never be
calling fhandler_disk_file methods with devices.
(fhandler_base::fhandler_base): Clear {unix,win32}_path_name.
(fhandler_base::~fhandler_base): Always free {unix,win32}_path_name.
(fhandler_disk_file::fhandler_disk_file): Remove set_no_free_names kludge.
(fhandler_disk_file::open): Ditto.
* fhandler.h (fhandler_base::no_free_names): Eliminate.
(fhandler_base::set_no_free_names): Ditto.
* fhandler_tty.cc (fhandler_tty_slave::fhandler_tty_slave): Don't set
unix_path_name here.
* path.cc (fchdir): Lock fd table throughout.  Use new
dtable::reset_unix_path_name method to reset path.
* syscalls.cc (stat_worker): Reorganize to always call fstat method.  Pass
path_conv method to fhandler_*::open.
(chroot): Elminate a goto.

22 years ago* environ.cc (winenv): Allocate exact amount of space needed for forced windows
Christopher Faylor [Sun, 30 Sep 2001 21:37:53 +0000 (21:37 +0000)]
* environ.cc (winenv): Allocate exact amount of space needed for forced windows
environment variable rather than just using MAX_PATH.

22 years ago* Makefile.in: Depend on stamp to ensure rebuilding. Remove stamp file when
Christopher Faylor [Sun, 30 Sep 2001 21:10:38 +0000 (21:10 +0000)]
* Makefile.in: Depend on stamp to ensure rebuilding.  Remove stamp file when
we've just built the DLL.

22 years agoMon Oct 1 00:34:00 2001 Robert Collins <rbtcollins@hotmail.com>
Robert Collins [Sun, 30 Sep 2001 14:39:55 +0000 (14:39 +0000)]
Mon Oct  1 00:34:00 2001  Robert Collins <rbtcollins@hotmail.com>

        * thread.cc (pthread_cond_dowait): Hopefully eliminate a race on multiple thread
        wakeups.

22 years ago* Makefile.in (configure-target-gperf): Depend on $(ALL_GCC_CXX).
Alexandre Oliva [Sat, 29 Sep 2001 19:38:32 +0000 (19:38 +0000)]
* Makefile.in (configure-target-gperf): Depend on $(ALL_GCC_CXX).

22 years agoSat Sep 29 18:26:00 2001 Robert Collins <rbtcollins@hotmail.com>
Robert Collins [Sat, 29 Sep 2001 09:01:01 +0000 (09:01 +0000)]
Sat Sep 29 18:26:00 2001  Robert Collins <rbtcollins@hotmail.com>

        * pthread.cc (pthread_cond_timedwait): Deleted - exported from thread.cc.
        (pthread_cond_wait): Deleted - exported from thread.cc.
        * thread.cc (pthread_cond::BroadCast): Update to use the new syntax for
        verifyable_object_isvalid ().
        (pthread_cond::Signal): Ditto. Also attempt to fix the lost signal race
        with pthread_cond::TimedWait().
        (check_valid_pointer): Change definiton to void const *.
        (verifyable_object_isvalid): Add new parameter to allow identification of
        static initializers, and return a enum rather than magic numbers.
        (__pthread_create): Ditto.
        (__pthread_cleanup): Ditto.
        (__pthread_attr_init): Ditto.
        (__pthread_attr_getinheritsched): Ditto.
        (__pthread_attr_getschedparam): Ditto.
        (__pthread_attr_getschedpolicy): Ditto.
        (__pthread_attr_getscope): Ditto.
        (__pthread_attr_setdetachstate): Ditto.
        (__pthread_attr_getdetachstate): Ditto.
        (__pthread_attr_setinheritsched): Ditto.
        (__pthread_attr_setschedparam): Ditto.
        (__pthread_attr_setschedpolicy): Ditto.
        (__pthread_attr_setscope): Ditto.
        (__pthread_attr_setstacksize): Ditto.
        (__pthread_attr_getstacksize): Ditto.
        (__pthread_attr_destroy): Ditto.
        (__pthread_join): Ditto.
        (__pthread_detach): Ditto.
        (__pthread_suspend): Ditto.
        (__pthread_continue): Ditto.
        (__pthread_getschedparam): Ditto.
        (__pthread_getsequence_np): Ditto.
        (__pthread_key_create): Ditto.
        (__pthread_key_delete): Ditto.
        (__pthread_setschedparam): Ditto.
        (__pthread_setspecific): Ditto.
        (__pthread_getspecific): Ditto.
        (__pthread_cond_destroy): Ditto.
        (__pthread_cond_init): Ditto.
        (__pthread_cond_broadcast): Ditto.
        (__pthread_cond_signal): Ditto.
        (__pthread_condattr_init): Ditto.
        (__pthread_condattr_getpshared): Ditto.
        (__pthread_condattr_setpshared): Ditto.
        (__pthread_condattr_destroy): Ditto.
        (__pthread_kill): Ditto.
        (__pthread_mutex_init): Ditto.
        (__pthread_mutex_getprioceiling): Ditto.
        (__pthread_mutex_lock): Ditto.
        (__pthread_mutex_trylock): Ditto.
        (__pthread_mutex_unlock): Ditto.
        (__pthread_mutex_destroy): Ditto.
        (__pthread_mutex_setprioceiling): Ditto.
        (__pthread_mutexattr_getprotocol): Ditto.
        (__pthread_mutexattr_getpshared): Ditto.
        (__pthread_mutexattr_gettype): Ditto.
        (__pthread_mutexattr_init): Ditto.
        (__pthread_mutexattr_destroy): Ditto.
        (__pthread_mutexattr_setprotocol): Ditto.
        (__pthread_mutexattr_setprioceiling): Ditto.
        (__pthread_mutexattr_getprioceiling): Ditto.
        (__pthread_mutexattr_setpshared): Ditto.
        (__pthread_mutexattr_settype): Ditto.
        (__sem_init): Ditto.
        (__sem_destroy): Ditto.
        (__sem_wait): Ditto.
        (__sem_trywait): Ditto.
        (__sem_post): Ditto.
        (__pthread_cond_dowait): New function, contains core logic from
        __pthread_cond_wait and __pthread_cond_timedwait. Decrement (*cond)->waiting
        before reentering the cond access mutex to allow detection of lost signals.
        (__pthread_cond_timedwait): Rename to pthread_cond_timedwait, and call
        __pthread_cond_dowait after calculating the wait length.
        (__pthread_cond_wait): Rename to pthread_cond_wait, and call
        __pthread_cond_dowait.
        * thread.h: New enum for use with verifyable_object_isvalid.
        Remove the extern exporting of __pthread_cond_timedwait and __pthread_cond_wait.

22 years ago* pipe.cc (fhandler_pipe::fixup_after_fork): New method.
Christopher Faylor [Sat, 29 Sep 2001 01:23:06 +0000 (01:23 +0000)]
* pipe.cc (fhandler_pipe::fixup_after_fork): New method.
* fhandler.h (fhandler_pipe::fixup_after_fork): Declare new method.

22 years ago * config.sub, config.guess: Import latest from subversions.
Hans-Peter Nilsson [Fri, 28 Sep 2001 21:04:51 +0000 (21:04 +0000)]
* config.sub, config.guess: Import latest from subversions.

22 years ago* passwd.cc (read_etc_passwd): Bother with unlocking when not in cygwin
Christopher Faylor [Fri, 28 Sep 2001 07:23:18 +0000 (07:23 +0000)]
* passwd.cc (read_etc_passwd): Bother with unlocking when not in cygwin
initialization.
* grp.cc (read_etc_group): Ditto.

22 years ago* passwd.cc (read_etc_passwd): Don't bother with locking when
Christopher Faylor [Fri, 28 Sep 2001 07:01:22 +0000 (07:01 +0000)]
* passwd.cc (read_etc_passwd): Don't bother with locking when
in cygwin initialization since there is only one thread.
* grp.cc (read_etc_group): Ditto.

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