summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * fhandler.cc (fhandler_base::fork_fixup): Pass old handle to setclexec_pid.Christopher Faylor2001-10-312-1/+6
|
* * cygheap.h (cygheap_fdmanip::cygheap_fdmanip): Clear fh.Christopher Faylor2001-10-317-15/+78
| | | | | | | | | | | | | (cygheap_fdmanip::isopen): New method. * syscalls.cc (_read): Avoid accessing closed fd. * path.h (fe_types): New enum. (path_conv::set_path): New method. (find_exec): Change null_if_not_found argument to something more generic. * spawn.cc (find_exec): Default to returning the POSIX path rather than the windows path, unless instructed otherwise. (spawn_guts): Force call to find_exec to use native paths. * dlfcn.cc (check_path_access): Accommodate new find_exec arguments. * environ.h (win_env::get_posix): New method.
* Add MMIX supportNick Clifton2001-10-306-16/+365
|
* * fhandler_socket.cc (fhandler_socket::close): Add error handling.Corinna Vinschen2001-10-302-2/+13
| | | | Fixed ChangeLog entries.
* * (fhandler_socket::dup): Revert previous change.Corinna Vinschen2001-10-302-2/+4
|
* * dtable.cc (dtable::dup2): Add some debugging. Use methods from passed inChristopher Faylor2001-10-304-13/+27
| | | | | | | | | class rather than cygheap->fdtab. * fhandler_socket.cc (fhandler_socket::fixup_before_fork_exec): Add more debugging output. (fhandler_socket::dup): Allocate new space for prot_info_ptr for duplicated entry. * syscalls.cc (stat_worker): Always delete fh if it has been created.
* * security.cc (is_group_member): Call NetLocalGroupGetMembers() forCorinna Vinschen2001-10-302-8/+8
| | | | | local machine only. (get_user_local_groups): Ditto for NetLocalGroupEnum().
* * Makefile.in: Propagate 'clean' to subdirs properly.Christopher Faylor2001-10-292-1/+5
|
* * fhandler.cc (fhandler_base::set_name): Set namehash here to catch nameChristopher Faylor2001-10-292-2/+14
| | | | | | | | changes. (fhandler_base::open): Remove namehash setting. (fhandler_base::fstat): Subtract 1 from arbitrary time setting to avoid strange ls -l granularity problem. * shared_info.h (MOUNT_VE
* * 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".