summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * winsup.api/ltp/stat03.c: Supress compiler warning.Egor Duda2001-10-292-4/+8
|
* * winsup.api/signal-into-win32-api.c: Supress compiler warning.Egor Duda2001-10-292-1/+5
|
* * select.cc (MAKEready): Remove extraneous select_read.Christopher Faylor2001-10-292-1/+4
|
* * uinfo.cc (internal_getlogin): Set environment variable $HOMECorinna Vinschen2001-10-292-2/+28
| | | | from either /etc/passwd or $HOMEDRIVE/$HOMEPATH if necessary.
* * fhandler.h (fhandler_serial::fhandler_serial): Change to only accept unitChristopher Faylor2001-10-297-15/+34
| | | | | | | | argument. * fhandler_serial.cc (fhandler_serial::fhandler_serial): Ditto. (fhandler_serial::open): Avoid else when previous clause is a return(). * path.cc (get_devn): Alias /dev/ttyS0 -> /dev/com1, etc. (get_device_number): Reallow standalone "com1" as a valid name for /dev/com1.
* fix spelling errorsChristopher Faylor2001-10-288-67/+67
|
* fix consistent spelling errors.Christopher Faylor2001-10-281-6/+6
|
* * configure: Regenerate, removing erroneous SUBDIRS substitution.Corinna Vinschen2001-10-262-1/+5
|
* Fix usage of H_GET_32/16. Likewise with H_PUT_32/16.Nick Clifton2001-10-262-4/+9
|
* * select.cc (MAKEready): Check for read_ready in loop since select_read couldChristopher Faylor2001-10-262-6/+13
| | | | | | set it. (peek_socket): Check ready/write/except specifically since they could have been set even prior to peek_socket call.
* Clarify checkin comment slightly.Christopher Faylor2001-10-241-1/+2
|
* * shared_info.h (MOUNT_VERSION): Change to a smaller, still arbitrary number.Christopher Faylor2001-10-241-0/+13
| | | | | | | | | | * shared.cc (open_shared): Accept a number to denote the shared memory region. (memory_init): Use shared memory version as part of the object name of the shared region. Ditto for the mount table. * path.cc (CYGWIN_REGNAME): New define used in place of CYGWIN_INFO_CYGWIN_REGISTRY_NAME throughout. * external.cc (cygwin_internal): Implement CW_[GS]ET_CYGWIN_REGISTRY_NAME. * cygheap.h (init_cygheap::cygwin_regname): New element.
* * Makefile.in: Remove EXEEXT consideration. We always need EXEEXT.Christopher Faylor2001-10-242-1/+5
|
* * Makefile.in: Only build testsuite directory on first 'make check'.Christopher Faylor2001-10-2413-35/+78
| | | | | * configure.in: Remove testsuite from SUBDIRS. * configure: Regenerate.
* merge from gccDJ Delorie2001-10-242-1/+8
|
* 2001-10-24 Jeff Holcomb <jeffh@redhat.com>Jeff Holcomb2001-10-242-1/+5
| | | | Makefile.in (all-bison): Don't depend on texinfo.
* 2001-10-24 Christopher Faylor <cgf@redhat.com>Jeff Johnston2001-10-242-0/+8
| | | | | | | * libc/stdio/fseek.c: Reset pointer to buffer base when forced to seek outside of current buffer contents. This prevents the code from erroneously thinking there is anything in the current buffer.
* Remove merge conflict indicator.Christopher Faylor2001-10-241-1/+0
|
* Ensure that all fhandler_*::read definitions are __stdcall throughout.Christopher Faylor2001-10-2416-52/+70
| | | | | | | | | | | | | | * fhandler.cc (fhandler_base::set_inheritance): Be more defensive in debugging code. * fhandler.h: Adjust regparms throughout to reflect passing 'this' parameter. * fhandler_console.cc (fhandler_console::read): Remove unneeded test. Only honor "key down" events. * miscfuncs.cc (strcasestr): Reorganize for efficient code use. (check_null_empty_str_errno): Ditto. (__check_null_invalid_struct_errno): Ditto. (__check_invalid_read_ptr_errno): Ditto. * syscalls.cc (_read): Return 0 when length == 0, as per Single UNIX Specification.
* * libc/include/math.h: The C++ standard adds the single-precisionGeoffrey Keating2001-10-232-0/+13
| | | | versions of the elementary functions.
* merge from gccDJ Delorie2001-10-232-1/+8
|
* * internal.h: White space changes to keep lines under 80 chars.Alan Modra2001-10-232-14/+18
|
* * debug.cc (set_errno): Return value of errno that was set, just like theChristopher Faylor2001-10-225-10/+24
| | | | | | | | | 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.
* Remove 'cb' parameter and modify fhandler_* constructors throughout.Christopher Faylor2001-10-2218-92/+70
| | | | | | | | | | | | | | | | | * 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.
* Patch suggested by Ian Ray <ian.ray@nokia.com>:Corinna Vinschen2001-10-223-32/+54
| | | | | | | * 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().
* * libc/posix/execvp.c: Remove obsolete CYGWIN32 considerations throughout.Christopher Faylor2001-10-225-24/+11
| | | | | | * signal.h: Change comment to reflect __CYGWIN__ rather than __CYGWIN32__. * popen.c (popen): Use __CYGWIN_ rather than __CYGWIN32__. * system.c (_system_r): Ditto.
* * net.cc (get_2k_ifconf): Change multiple IP address naming schemeCorinna Vinschen2001-10-222-74/+98
| | | | | | | | 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.
* * miscfuncs.cc (__check_invalid_read_ptr_errno): Return error, if any.Corinna Vinschen2001-10-222-1/+5
|
* * resource.cc (fill_rusage): Perform paranoid zero structure passed toChristopher Faylor2001-10-222-4/+8
| | | | GetProcessMemoryInfo.
* * autoload.cc: Autoload GetProcessMemoryInfo.Christopher Faylor2001-10-213-5/+23
| | | | | | * 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.
* * dll_init.cc (dll_list::alloc): Increase retry count to 1000.Christopher Faylor2001-10-212-1/+5
|
* fix typo.Christopher Faylor2001-10-201-1/+1
|
* * mkgroup.c: Avoid compiler warnings.Corinna Vinschen2001-10-203-207/+238
| | | | | | | | | | (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().
* * include/winnetwk.h (WNetGetResourceInformationA): Add declaration.Corinna Vinschen2001-10-202-0/+10
| | | | | (WNetGetResourceInformationW): Ditto. (WNetGetResourceInformation): Add define.
* * miscfuncs.cc (+__check_invalid_read_ptr_errno): New function.Christopher Faylor2001-10-204-3/+21
| | | | | | * syscalls.c (_write): Validate that write buffer is accessible for reading, not writing. * winsup.h: Declare new function, increase regparmization of check_* functions.
* * path.cc (getcwd): Allow len == 0 when buf == NULL.Corinna Vinschen2001-10-192-1/+5
|
* * syscalls.cc (_read): Validate input pointer.Christopher Faylor2001-10-192-1/+16
| | | | | (_write): Ditto. (system): Ditto.
* 2001-10-18 Chris Demetriou <cgd@broadcom.com>Chris Demetriou2001-10-182-1/+7
| | | | | * mips.h (OPCODE_IS_MEMBER): Add a no-op term to the end of the expression, to make source code merging easier.
* Add ddb-kseg0.ld and switch to kseg1 if sizing memory from kseg0Michael Meissner2001-10-186-22/+212
|
* 2001-10-17 Chris Demetriou <cgd@broadcom.com>Chris Demetriou2001-10-182-1/+6
| | | | | * mips.h: Sort coprocessor instruction argument characters in comment, add a few more words of description for "H".
* [gas/testsuite/ChangeLog]Chris Demetriou2001-10-182-1/+10
| | | | | | | | | | | | | | | | | | | | | | | | | 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".
* Add __rtems__ as system defining fchdir().Corinna Vinschen2001-10-172-2/+2
|
* Patch from Frederic Devernay <Frederic.Devernay@sophia.inria.fr>:Corinna Vinschen2001-10-172-8/+11
| | | | * poll.cc (poll): Call cygwin_select() if any fd is valid.
* * libc/include/sys/unistd.h: Add prototype for fchdir() whenCorinna Vinschen2001-10-172-0/+8
| | | | __CYGWIN__ is defined.
* [gas/ChangeLog]Matthew Green2001-10-172-1/+5
| | | | | | | | | | | | | | | | | | | * 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.
* 2001-10-16 Jeff Holcomb <jeffh@redhat.com>Jeff Holcomb2001-10-172-1/+5
| | | | * internal.h (elf_internal_shdr): Make contents a unsigned char *.
* * fhandler_raw.cc (fhandler_dev_raw::open): Eliminate compatibilityCorinna Vinschen2001-10-164-39/+40
| | | | | | | | | | 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.
* Forgot ChangeLogCorinna Vinschen2001-10-161-0/+8
|
* * fhandler.cc (fhandler_base::fork_fixup): Guard against compiler warning.Christopher Faylor2001-10-162-0/+7
|
* * fhandler_tape.cc (fhandler_dev_tape::tape_status): ReportCorinna Vinschen2001-10-163-2/+10
| | | | | | | 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.