Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2000-10-12merge from gcc repositoryDJ Delorie
2000-10-10* path.cc (cwdstuff::get): Set EINVAL when length is zero.Christopher Faylor
2000-10-10* libc/include/sys/unistd.h: Add getdtablesize and setdtablesize declarationsChristopher Faylor
for __CYGWIN__.
2000-10-09* path.cc (mount_info::cygdrive_posix_path): Handle e:foo constructionChristopher Faylor
correctly.
2000-10-09* fhandler_mem.cc (fhandler_dev_mem::fhandler_dev_mem): Fix debug output.Corinna Vinschen
2000-10-09 * fhandler_mem.cc: Eliminate unused include statements.Corinna Vinschen
(fhandler_dev_mem::fhandler_dev_mem): Check for 9X/ME.
2000-10-09 * fhandler.h (fhandler_dev_mem): Erase member `init_phase' andCorinna Vinschen
member function `init'. * fhandler_mem.cc: Add typedefs for NT internal data types `SYSTEM_INFORMATION_CLASS' and `SYSTEM_BASIC_INFORMATION'. Add prototype for `NtQuerySystemInformation' function. (fhandler_dev_mem::fhandler_dev_mem): Takes over initialization task from `init'. Use `NtQuerySystemInformation' function to evaluate the size of physical memory instead of interval search. (fhandler_dev_mem::init): Eliminated. (fhandler_dev_mem::open): Don't call `init'. (fhandler_dev_mem::read): Eliminate check for `init_phase'. (dummy_autoload): Add load statement for `NtQuerySystemInformation'.
2000-10-09 * include/iprtrmib.h: Further layout changes according to standard.Corinna Vinschen
* include/iptypes.h: Ditto. * include/ntdef.h: Ditto. * include/ntsecapi.h: Ditto. * include/subauth.h: Ditto.
2000-10-09 * include/ntsecapi.h: Fix PLSA_UNICODE_STRING define.Corinna Vinschen
2000-10-09I forgot 'iprtrmib.h' in the ChangeLogCorinna Vinschen
2000-10-09* ps.cc (main): Change order of reporting slightly so that windows pids areChristopher Faylor
more obvious. * strace.cc (add_child): Just add child's pid directly. (remove_child): No need to close the child process pid since ContinueDebugEvent does that automatically. (proc_child): Ditto for child thread.
2000-10-09* dtable.cc (set_std_handle): Use std_consts array to control SetStdHandleChristopher Faylor
settings. (dtable::fixup_after_fork): Ditto. * exceptions.cc (set_sig_errno): Remove some debugging output. * path.cc (path_conv::check): Don't OR need_directory with flags sent to symlink_info::check. (symlink_info::check): Use PATH_ALL_EXEC to determine when a file is executable. * path.h (path_types): Add PATH_ALL_EXEC. (isexec): Use PATH_ALL_EXEC so that cygexec types will be considered executable. * pinfo.h (_pinfo): Add a process handle that is kept open throughout the life of a cygwin pid. * sigproc.cc (proc_exists): Remove hopefully obsolete stuff. (proc_subproc): Set up process handle that is kept open throughout the life of a cygwin pid. Reorganize PROC_WAIT stuff to use common code. (proc_terminate): Close pid lifetime process handle. (checkstate): Cleanup. (stopped_or_terminated): Move zombie cleanup. (remove_zombie): To here. * spawn.cc (spawn_guts): Reorganize reparenting code for 1247th time.
2000-10-08 * include/ntsecapi.h: New file.Corinna Vinschen
* include/subauth.h: Ditto. * include/ipexport.h: Fix global header define not to contain trailing underscore. Change layout according to standard. * include/iphlpapi.h: Ditto. * include/ipifcons.h: Ditto. * include/iptypes.h: Ditto. * include/ntdef.h: Ditto. Define conditional datatypes dependent of inclusion of ntdecapi.h and subauth.h. * lib/secur32.def: New stub for secur32.dll.
2000-10-07* fhandler.h (fhandler_base): Remove obsolete _rpos and _rsize elements.Christopher Faylor
* fhandler.cc (fhandler_base::open): Ditto. * fhandler.cc (fhandler_base::fhandler_base): Ditto. (fhandler_base::read): Ditto. Add more debugging output. Don't issue a \r when \r\n detected. * pipe.cc (make_pipe): Streamline slightly. Make debug output more interesting. * strace.cc (strace::vsprintf): Use __progname where appropriate to distinguish strace output when exec'ing.
2000-10-07 * fhandler.h (fhandler_dev_mem): Add methods mmap, munmap and msync.Corinna Vinschen
Add `unit' member. * fhandler_mem.cc (fhandler_dev_mem): Initialize `unit' as well. (init): Care for differences between /dev/mem, /dev/kmem (not implemented yet) and /dev/port. (open): Change debug message to reflect the device. (mmap): New function. (munmap): Ditto. (msync): Ditto. (fstat): Use unit when setting st_dev in stat structure. * mmap.cc (mmap): Handle MAP_ANONYMOUS flag. Change error handling slightly. * path.cc (get_device_number): Handle /dev/port.
2000-10-07* syscalls.cc (_read): Behave properly when passed previous version ofChristopher Faylor
O_NDELAY. Fix up debugging output.
2000-10-06* net.cc (set_socket_inheritance): Rename from duplicate_socket. Use NTChristopher Faylor
specific call when appropriate. (__set_winsock_errno): Rename from set_winsock_errno. Accept function and line as arguments. * path.cc (path_conv::check): Continue the neverending battle to make cygwin properly understand that path specs ending in a slash require that the path refer to a directory. Windows does not do this by default. (symlink_info::check): Remove ENOTDIR test. Move it to path_conv::check. * path.h: Remove obsolete constant. * winsup.h (set_winsock_errno): New macro.
2000-10-05 =====================================Corinna Vinschen
These changes require rebuilding all. ===================================== * fhandler.h: Add mmap(), munmap() and msync() to fhandler_base and fhandler_disk_file. * mmem.cc (mmap): Eliminated device dependent implementation details. These are moved to the appropriate fhandler class. (munmap): Ditto. (msync): Ditto. (fhandler_base::mmap): New method. (fhandler_base::munmap): Ditto. (fhandler_base::msync): Ditto. (fhandler_disk_file::mmap): Ditto. (fhandler_disk_file::munmap): Ditto. (fhandler_disk_file::msync): Ditto.
2000-10-05* net.cc: General cleanup.Christopher Faylor
(fdsock): Return pointer to created fhandler_socket. (cygwin_socket): Use pointer returned by fdsock. Return correct errno when fd < 0.
2000-10-05* exceptions.cc (interruptible): Add extra debugging.Christopher Faylor
* sigproc.h (wait_sig): Fill in frame pointer, by default, prior to calling or suffer confusion due to September 7 change below.
2000-10-05* include/netinet/tcp.h: Remove winsock.h include.Christopher Faylor
* include/sys/cygwin.h: Move windows specific reference within conditional.
2000-10-05 * include/sys/mman.h: Add missing MAP_FAILED macro.Corinna Vinschen
2000-10-04 * fhandler.h (fhandler_dev_mem): Add method `init'. Add membersCorinna Vinschen
`mem_size' and `init_phase'. * fhandler_mem.cc (init): New function to figure out the size of the physical memory. (open): Add checking for illegal flags. Change usage of access mode. (write): Add intended functionality. (read): Add parameter checking. Eliminate page size constant. Use getpagesize() instead. Don't touch errno and don't create debug output while init() is running. (lseek): Add bounds checking. Fix SEEK_END. (fstat): Eliminate page size constant. Use getpagesize() instead. (dup): Add intended functionality.
2000-10-03 * dcrt0.cc: Add LoadDLLFunc statement for RegEnumValueA().Corinna Vinschen
* net.cc: Change comments related to get_ifconf. (get_2k_ifconf): Eliminate `type' variable. Eliminate `sa' parameter. (get_nt_ifconf): Ditto. (get_9x_ifconf): Ditto. Rewritten. (get_ifconf): Chage calls to OS specific functions.
2000-10-02* signal.cc (sigaction): Allow new action == oldaction.Christopher Faylor
2000-10-02 * include/ras.h: New file.Corinna Vinschen
* lib/rasapi32.def: Add symbols for RasEnumDevicesA and RasEnumDevicesW.
2000-10-02 * include/ntdef.h: Add define for NTAPI.Corinna Vinschen
2000-10-02 * fhandler_mem.cc: Load ntdll functions via autoload method.Corinna Vinschen
(load_ntdll_funcs): Eliminated.
2000-10-02 * fhandler_mem.cc (load_ntdll_funcs): Add missing __stdcall qualifiers.Corinna Vinschen
2000-10-02* cygheap.cc (cygheap_init): Born again function.Christopher Faylor
(_cmalloc): Reorganize to accomodate muto locking. (_cfree): Use muto lock to avoid multi-thread problems. * cygheap.h (incygheap): Just use cygheap_max to find upper cygwin heap bounds. * dcrt0.cc (dll_crt0_1): Reinstitute cygheap_init call. * path.cc (getcwd): Just return cwdstuff::get result, allowing correct handling of negative length. (cwdstuff::get): Malloc a buffer if one is not available.
2000-10-02* Makefile.common: Extend VERBOSE default.Christopher Faylor
* Makefile.in: Don't clean the testsuite separately. It's already part of CLEAN_SUBDIRS.
2000-10-02 * include/ipexport.h: Add missing `extern "C"' directives.Corinna Vinschen
* include/iphlpapi.h: Ditto. * include/iprtrmib.h: Ditto. * include/iptypes.h: Ditto.
2000-10-02 * include/ipifcons.h: New header file.Corinna Vinschen
* include/iprtrmib.h: Move operational states to ipifcons.h. * include/iphlpapi.h: Add missing parameters to GetIfTable() declaration.
2000-10-01 * include/iprtrmib.h: Add missing MIB_IF_OPER_STATUS_xxx definitions.Corinna Vinschen
2000-10-01 * lib/iphlpapi.def: New stub for iphlpapi.dll.Corinna Vinschen
* include/iptypes.h: New header file. * include/ipexport.h: Ditto. * include/iphlpapi.h: Ditto. * include/iprtrmib.h: Ditto.
2000-10-01* Makefile.common: Default to VERBOSE when part of overall sourceChristopher Faylor
tree build.
2000-10-01 * Makefile.in: Add fhandler_mem.o to the dependencies.Corinna Vinschen
* dtable.cc (dtable::build_fhandler): Add case for FH_MEM. * fhandler.h: Add FH_MEM device type. Add class fhandler_dev_mem. * fhandler_mem.cc: New file. Implementation of class fhandler_dev_mem. * path.cc: Add /dev/mem to windows_device_names. (get_device_number): Add FH_MEM type.
2000-10-01* include/ntdef.h: New file.Corinna Vinschen
2000-09-30* ltconfig, ltmain.sh, libtool.m4: Updated from libtoolAlexandre Oliva
multi-language branch, to work around Solaris' /bin/sh bug. Rebuilt all affected `configure' scripts.
2000-09-30* cygheap.cc (init_cheap): Set aside space for heap walk pointer.Christopher Faylor
(_csbrk): Make logic for detecting when to alloc cognizant of initialization condition. (_cmalloc): Use a structure to hold bucket size and heap chain pointer. Store pointer to next freed block in bucket size location so that it will be easy to see if a block is allocated. (_cfree): Store pointer to next freed block in bucket size location. (_crealloc): Use macro to retrieve bucket size. (cygheap_init): Eliminate. (cygheap_fixup_in_child): Add second argument to determine if we were execed or not. In execed case, walk the heap, cleaning up any orphaned blocks. * cygheap.h: Add a "MAX" value to cygheap_types. Remove cygheap_init declaration. Accomodate new argument to cygheap_fixup_in child. * fork.cc (fork): Accomodate extra argument to cygheap_fixup_in_child. * dcrt0.cc (dll_crt0_1): Ditto. Remove call to cygheap_init.
2000-09-30* path.cc (symlink_info::check): Set executable bit for a file if the first twoChristopher Faylor
characters are 'MZ' to mirror spawn_guts check.
2000-09-30 * winsup.h: Add `winME' to os_type symbols.Corinna Vinschen
* dcrt0.cc (set_os_type): Identify Windows ME systems. * (host_dependent_constants::init): Care for winME. * uname.cc (uname): Ditto.
2000-09-30Added missing articleCorinna Vinschen
2000-09-30 * pathnames.sgml: Add documentation about raw block specialCorinna Vinschen
devices and tape devices to the "POSIX devices" chapter.
2000-09-29Correct date of checkinHans-Peter Nilsson
2000-09-29 * dis-asm.h: Declare cris_get_disassembler, not print_insn_cris.Hans-Peter Nilsson
Fix typo in comment.
2000-09-29 * cris.h (EF_CRIS_UNDERSCORE): New.Hans-Peter Nilsson
2000-09-29 Forgot to remove cygkeycheck.ccCorinna Vinschen
2000-09-29 * cygcheck.cc (keyeprint): New function.Corinna Vinschen
(check_keys): New function. Perform checking keycodes. (main): Add option `-k' for invoking check_keys. Change option processing to use long options and getopt_long. * cygkeycheck.cc: Removed. Functionality moved to `cygcheck.cc'. * Makefile.in: Remove cygkeycheck from the dependencies.
2000-09-28Add alloca-conf.h from libiberty.Alan Modra