| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
(fdsock): Return pointer to created fhandler_socket.
(cygwin_socket): Use pointer returned by fdsock. Return correct errno when fd
< 0.
|
|
|
|
|
| |
* sigproc.h (wait_sig): Fill in frame pointer, by default, prior to calling or
suffer confusion due to September 7 change below.
|
|
|
|
| |
* include/sys/cygwin.h: Move windows specific reference within conditional.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
`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.
|
|
|
|
|
|
|
|
| |
* 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.
|
| |
|
|
|
|
|
| |
* lib/rasapi32.def: Add symbols for RasEnumDevicesA and
RasEnumDevicesW.
|
| |
|
|
|
|
| |
(load_ntdll_funcs): Eliminated.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
(_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.
|
|
|
|
|
| |
* Makefile.in: Don't clean the testsuite separately. It's already part of
CLEAN_SUBDIRS.
|
|
|
|
|
|
| |
* include/iphlpapi.h: Ditto.
* include/iprtrmib.h: Ditto.
* include/iptypes.h: Ditto.
|
|
|
|
|
|
| |
* include/iprtrmib.h: Move operational states to ipifcons.h.
* include/iphlpapi.h: Add missing parameters to GetIfTable()
declaration.
|
| |
|
|
|
|
|
|
|
| |
* include/iptypes.h: New header file.
* include/ipexport.h: Ditto.
* include/iphlpapi.h: Ditto.
* include/iprtrmib.h: Ditto.
|
|
|
|
| |
tree build.
|
|
|
|
|
|
|
|
| |
* 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.
|
| |
|
|
|
|
|
| |
multi-language branch, to work around Solaris' /bin/sh bug. Rebuilt
all affected `configure' scripts.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(_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.
|
|
|
|
| |
characters are 'MZ' to mirror spawn_guts check.
|
|
|
|
|
|
| |
* dcrt0.cc (set_os_type): Identify Windows ME systems.
* (host_dependent_constants::init): Care for winME.
* uname.cc (uname): Ditto.
|
| |
|
|
|
|
| |
devices and tape devices to the "POSIX devices" chapter.
|
| |
|
|
|
|
| |
Fix typo in comment.
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
(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.
|
| |
|
|
|
|
| |
* Makefile.in: Add cygkeycheck to the dependencies.
|
|
|
|
|
|
|
| |
subfunctions instead.
(get_9x_ifconf): New function for 9X systems, called by get_ifconf.
(get_nt_ifconf): New function for NT systems, called by get_ifconf.
(get_2k_ifconf): New function for W2K systems, called by get_ifconf.
|
|
|
|
| |
import stub fix, extra DIR14F reloc to fix abort in tc_gen_reloc
|
|
|
|
| |
mechanism when dealing with '\' and '"'.
|
|
|
|
| |
(need ash)
|
|
|
|
| |
(never been updated to latest, no longer helpful)
|
|
|
|
|
|
|
|
|
| |
* fhandler.h (fhandler_socket::~fhandler_socket): Delete declaration.
* net.cc: Remove unnecessary "number_of_sockets" usage.
(fhandler_socket::fhandler_socket): Ditto.
(fhandler_socket::~fhandler_socket): Delete definition.
* spawn.cc (spawn_guts): Force first argument passed to CreateProcess as a
command line to be windows style.
|
|
|
|
| |
ltcf-c.sh.
|
|
|
|
|
|
|
|
|
| |
* environ.cc (environ_init): Remember to reparse CYGWIN if envp is
supplied.
* heap.cc (_sbrk): Remember frame for signal handling.
* syscalls.cc (read_handler): Eliminate.
(_read): Move read_handler code here. Reorganize for one path through
'ready_for_read'.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
gas/ChangeLog
* config/tc-ia64.c (dv_sem): Add "stop".
(specify_resource, case IA64_RS_PR): Only handles regs 1 to 15 now.
(specify_resource, case IA64_RS_PRr): New for regs 16 to 62.
(specify_resource, case IA64_RS_PR63): Reorder (note == 7) test to
match above.
(mark_resources): Check IA64_RS_PRr.
gas/testsuite/ChangeLog
* gas/ia64/dv-raw-err.s: Add new testcases for PR%, 16 - 62.
* gas/ia64/dv-waw-err.s: Likewise.
* gas/ia64/dv-imply.d: Regenerate.
* gas/ia64/dv-mutex.d, gas/ia64/dv-raw-err.l, gas/ia64/dv-safe.d,
gas/ia64/dv-srlz.d, gas/ia64/dv-war-err.l, gas/ia64/dv-waw-err.l,
gas/ia64/opc-f.d, gas/ia64/opc-i.d, gas/ia64/opc-m.d: Likewise.
include/opcode/ChangeLog
* ia64.h (enum ia64_dependency_semantics): Add IA64_DVS_STOP.
opcodes/ChangeLog
* ia64-dis.c (print_insn_ia64): Revert Aug 7 byte skip count change.
* ia64-gen.c (parse_semantics): Handle IA64_DVS_STOP.
(lookup_specifier): Handle "PR%, 1 to 15" and "PR%, 16 to 62".
* ia64-ic.tbl, ia64-raw.tbl, ia64-war.tbl, ia64-waw.tbl: Update.
* ia64-asmtab.c: Regnerate.
|
|
|
|
|
|
| |
case labels to be integral constant expressions, so
use an if/else tree instead.
(_raise_r): Likewise.
|
|
|
|
| |
originally suggested by Kazuhiro Fujieda <fujieda@jaist.ac.jp>.
|
|
|
|
|
|
|
| |
* path.cc (path::check): Detect trailing slash before converting to windows
path. Tell symlink_info::check to check for directory if one is found.
(symlink_info::check): Set errno when path is not a directory if pflags &
PATH_NEEDDIR.
|
|
|
|
| |
* utils.sgml: Document the new options.
|
|
|
|
| |
resetting of windows error to ERROR_IO_DEVICE to be ignored.
|
|
|
|
|
|
|
|
|
|
| |
points have the cygdrive prefix.
* (mount_info::add_reg_mount): Properly catch errors on registry operations.
* (mount_info::write_cygdrive_info_to_registry): Ditto.
* (mount_info::del_reg_mount): Cosmetic changes to be consistent with other
methods.
* (mount_info::add_item): Check arguments more precisely. Increment nmounts
only when registry operations succeed.
|
|
|
|
| |
memory.
|