| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(_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.
|
| |
|
|
|
|
|
|
|
|
| |
(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.
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
| |
* 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'.
|
|
|
|
| |
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.
|
|
|
|
| |
requested time minus the time actually slept.
|
|
|
|
|
|
|
| |
thread.
* external.cc (fillout_pinfo): Fix compiler warning.
* sigproc.h: Eliminate special asm naming for sig_dispatch_pending.
* sigproc.cc (sig_send): Remove debugging statements.
|
|
|
|
| |
including information about cygcheck.
|
| |
|
| |
|
|
|
|
| |
Other minor cosmetic.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
only.
(spawn_guts): Use methods for manipulating most newargv stuff.
* child_info.h (child_info_spawn::~child_info_spawn): Avoid memory leaks in
cygheap.
* spawn.cc (spawn_guts): Ditto.
* dcrt0.cc (quoted): Return next character after a quoted string when not doing
special quote processing. Also ensure that non-NULL is returned in all circumstances.
* spawn.cc (spawn_guts): Ensure that argv[0] is correctly set to the full path
when a script is detected. Suggested by Kazuhiro Fujieda
<fujieda@jaist.ac.jp>.
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
cygwin process after waiting 2 tenths of a second for it to terminate.
(forcekill): Add an extra argument determining whether to wait for the process
to exit.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
doc tools.
|
| |
|
|
|
|
|
| |
Rename section "A brief history of the project" to "Ancient history" and remove
disclaimer about being out of date.
|
| |
|
| |
|
|
|
|
|
|
|
| |
* exceptions.cc (signal_exit): Don't terminate the main thread. Just try to
exit in this thread really quickly.
* signal.cc (kill_pgrp): Fix typo which caused pinfo structure to be assigned
incorrectly.
|
| |
|
|
|
|
|
|
|
| |
exec/fork.
* dtable.cc (dtable::fixup_after_exec): Always clear out the read ahead buffer
whether closing or adjusting.
* path.cc (chdir): Avoid a compiler warning.
|
|
|
|
|
|
| |
to strings of dots > 2 to be an error. Pass 'dir' argument to cygcwd.set.
(cwdstuff::set): Need to treat arguments from chdir differently.
* path.h (cwdstuff): Add an argument to set.
|
| |
|
|
|
|
|
|
|
|
| |
frame pointer rather than using this within the function, which is unstable
when this method is not inlined.
* net.cc: Eliminate use of second argument to sigframe.set throughout.
* select.cc (cygwin_select): Ditto.
* sigproc.cc (sig_send): Ditto.
|