summaryrefslogtreecommitdiffstats
path: root/winsup
Commit message (Collapse)AuthorAgeFilesLines
...
* * cygheap.cc (init_cheap): Set aside space for heap walk pointer.Christopher Faylor2000-09-305-39/+104
| | | | | | | | | | | | | | | | | (_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.
* * path.cc (symlink_info::check): Set executable bit for a file if the first twoChristopher Faylor2000-09-304-97/+58
| | | | characters are 'MZ' to mirror spawn_guts check.
* * winsup.h: Add `winME' to os_type symbols.Corinna Vinschen2000-09-304-2/+16
| | | | | | * dcrt0.cc (set_os_type): Identify Windows ME systems. * (host_dependent_constants::init): Care for winME. * uname.cc (uname): Ditto.
* Added missing articleCorinna Vinschen2000-09-291-1/+1
|
* * pathnames.sgml: Add documentation about raw block specialCorinna Vinschen2000-09-292-7/+58
| | | | devices and tape devices to the "POSIX devices" chapter.
* Forgot to remove cygkeycheck.ccCorinna Vinschen2000-09-291-105/+0
|
* * cygcheck.cc (keyeprint): New function.Corinna Vinschen2000-09-293-21/+149
| | | | | | | | (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.
* * cygkeycheck.cc: New file. Utility to retrieve keycodes.Corinna Vinschen2000-09-283-1/+111
| | | | * Makefile.in: Add cygkeycheck to the dependencies.
* * net.cc (get_ifconf): Code cleanup. Split. Call os dependentCorinna Vinschen2000-09-282-295/+427
| | | | | | | 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.
* * spawn.cc (spawn_guts): Attempt to accomodate archaic windows quotingChristopher Faylor2000-09-274-11/+31
| | | | mechanism when dealing with '\' and '"'.
* New entry "Why doesn't man work?"David Starks-Browning2000-09-261-0/+14
| | | | (need ash)
* Remove entry "How do I set /etc up?"David Starks-Browning2000-09-261-13/+0
| | | | (never been updated to latest, no longer helpful)
* * dcrt0.cc (quoted): Fix problem where ' quoted strings were skipped.Christopher Faylor2000-09-265-22/+15
| | | | | | | | | * 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.
* * spawn.cc (av::dup_maybe): Make function void rather than void *.Christopher Faylor2000-09-256-46/+50
| | | | | | | | | * 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'.
* * spawn.cc (spawn_guts): Use actual program argument passed in for argv[0] asChristopher Faylor2000-09-192-1/+7
| | | | originally suggested by Kazuhiro Fujieda <fujieda@jaist.ac.jp>.
* * path.h: Create new input path flag PATH_NEEDDIR.Christopher Faylor2000-09-193-3/+31
| | | | | | | * 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.
* * cygpath.cc: Add new options: -s and -i.Christopher Faylor2000-09-193-16/+136
| | | | * utils.sgml: Document the new options.
* * fhandler_tty.cc (fhandler_tty_slave::write): Correct typo which causedChristopher Faylor2000-09-182-1/+6
| | | | resetting of windows error to ERROR_IO_DEVICE to be ignored.
* * path.cc (mount_info::read_mounts): Don't delete mount entries of which mountChristopher Faylor2000-09-182-77/+58
| | | | | | | | | | 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.
* * exceptions.cc (interruptible): Return 0 if given an address in uncommittedChristopher Faylor2000-09-182-1/+6
| | | | memory.
* * signal.cc (sleep): If interrupted by signal, return theEgor Duda2000-09-162-8/+16
| | | | requested time minus the time actually slept.
* * exceptions.cc (handle_exceptions): Just "core dump" if SIGSEGV in signalChristopher Faylor2000-09-165-6/+12
| | | | | | | 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.
* Update entry "How can I find out which dlls are needed by an executable?"David Starks-Browning2000-09-141-3/+15
| | | | including information about cygcheck.
* New entry 'Why doesn't chmod work?'David Starks-Browning2000-09-141-0/+14
|
* New entry "My Windows logon name has a space in it, will this cause problems?"David Starks-Browning2000-09-141-0/+16
|
* Update (& alphabetize) contents of 'latest'.David Starks-Browning2000-09-141-13/+13
| | | | Other minor cosmetic.
* minor cosmeticDavid Starks-Browning2000-09-141-2/+2
|
* Commit change mentioned in ChangeLog.Christopher Faylor2000-09-131-0/+2
|
* * spawn.cc (av): Hide 'calloced' field and limit cstrduping to class methodsChristopher Faylor2000-09-134-15/+64
| | | | | | | | | | | | | 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>.
* New entry "Can I link with both MSVCRT*.DLL and cygwin1.dll?"David Starks-Browning2000-09-131-0/+4
|
* Contents split into how-*.texinfo. (Had gotten too big.)David Starks-Browning2000-09-131-1361/+4
|
* New files, contents of how.texinfo has been split into these.David Starks-Browning2000-09-134-0/+1361
|
* * kill.cc (main): Change behavior of -f so that it will force the killing of aChristopher Faylor2000-09-132-6/+24
| | | | | | 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.
* * external.cc (fillout_pinfo): Handle explicit pids correctly.Christopher Faylor2000-09-132-3/+7
|
* * path.cc (normalize_posix_path): Fix more slashdot madness.Christopher Faylor2000-09-122-6/+10
|
* * Makefile.in: Make clean target remove *.d.Christopher Faylor2000-09-122-1/+5
|
* New entry "dllwrap is broken".David Starks-Browning2000-09-121-0/+11
|
* New entry "Ctrl-S hangs rxvt and xterm".David Starks-Browning2000-09-121-0/+27
|
* Add some details about AV software.David Starks-Browning2000-09-121-3/+8
|
* Update "How do I rebuild the tools on my NT box?": add links to ancillary ↵David Starks-Browning2000-09-121-3/+10
| | | | doc tools.
* Remove obsolete B20.1 entries. Chapter now empty.David Starks-Browning2000-09-121-22/+1
|
* New section "Recent history of the project: What version *is* this, anyway?".David Starks-Browning2000-09-121-3/+71
| | | | | Rename section "A brief history of the project" to "Ancient history" and remove disclaimer about being out of date.
* Minor cosmetic change.David Starks-Browning2000-09-121-1/+1
|
* * path.cc (normalize_posix_path): Correctly deal with a "." parameter.Christopher Faylor2000-09-112-5/+12
|
* * cygheap.cc (init_cheap): Just use any old address for the cygwin heap.Christopher Faylor2000-09-114-20/+29
| | | | | | | * 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.
* * Makefile.in: Refine dumper.exe message.Christopher Faylor2000-09-102-4/+9
|
* * dcrt0.cc (dll_crt0_1): Initialize thread and debug stuff before handlingChristopher Faylor2000-09-104-10/+19
| | | | | | | 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.
* * path.cc (chdir): Use the full path for cwd_win32. Consider attempts to chdirChristopher Faylor2000-09-103-10/+38
| | | | | | 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.
* * lib/_cygwin_crt0_common.cc: Add missing header files.Christopher Faylor2000-09-082-0/+6
|
* * sigproc.h (sigframe::set): Eliminate second argument. Default bp to currentChristopher Faylor2000-09-085-18/+23
| | | | | | | | 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.