summaryrefslogtreecommitdiffstats
path: root/winsup
Commit message (Collapse)AuthorAgeFilesLines
* * select.cc (thread_pipe): Add paranoid check to ensure thread termination.Christopher Faylor2000-05-186-26/+88
| | | | | | | | | * external.cc: Eliminate obsolete include. * getopt.c (getopt_long): Fix compiler warning. * shared.h: Moved PID_ definitions to include/sys/cygwin so that they can be used by external programs. * include/sys/cygwin.h: Move external definitions here. Include sys/resource.h to avoid having to do this everywhere.
* * include/winnt.h: Add some missing TAPE_DRIVE_* defines.Corinna Vinschen2000-05-182-0/+7
|
* * sigproc.h (sigframe): Don't set frame info unless tid matches this thread id.Christopher Faylor2000-05-182-1/+6
|
* * dcrt0.cc (dll_crt0_1): Initialize mainthread stuff here before anything needsChristopher Faylor2000-05-185-6/+22
| | | | | | | | it. * sigproc.cc (sigproc_init): Move mainthread initialization out of here. * sigproc.h (sigthread): Add init() method. (sigframe): Don't try to initialize muto. * sync.cc: Undef WaitForSingleObject to avoid recursion.
* * testsuite/winsup.api/crlf.c: NewDJ Delorie2000-05-175-0/+1289
| | | | * testsuite/winsup.api/iospeed.c: New
* * path.cc (mount_info::cygdrive_posix_path): Don't add trailing slash ifChristopher Faylor2000-05-1715-69/+182
| | | | | | | | | | | | | | | | | | | | | | | | | referring to something like c:\. * dcrt0.cc (dll_crt0_1): Move uinfo initialization prior to sig_send initialization to give signal thread a chance to finish. * debug.cc (WFSO): Move to sigproc.cc (WFMO): Ditto. * exceptions.cc (interruptible): Allocate slightly more space for directory just for paranoia's sake. (call_handler): Eliminate nonmain argument. Determine if main thread has set a frame pointer and use it if so. (sig_handle): Eliminate nonmain argument. * net.cc: Record frame information in appropriate routines throughout. * select.cc (select): Ditto. * sigproc.cc: Use sigthread structure to record mainthread id throughout. (sig_send): Record frame information for signal handler. (wait_sig): Reflect argument change in sig_handle. (WFSO): Move here and record frame information for signal handler. (WFMO): Ditto. * sigproc.h: Implement new "sigthread" class. Implement "sigframe" class for manipulating signal frame info. * thread.cc (__pthread_kill): Use standard _kill() function rather than calling sig_send directly. * winsup.h: Eliminate ebp element from signal_dispatch class.
* * fhandler_tape.cc (fhandler_dev_tape::ioctl): CheckCorinna Vinschen2000-05-162-1/+12
| | | | for filemark feature on MTWEOF operation.
* * include/cygwin/in.h (AF_INET6): Use correct in6_addr struct.Christopher Faylor2000-05-162-1/+5
|
* manually updated some sites (txt version badly formatted, dont know why)David Starks-Browning2000-05-161-10/+17
|
* update README to latest net release, if only in nameDavid Starks-Browning2000-05-161-1/+7
|
* fix dependencies for readme.txtDavid Starks-Browning2000-05-161-1/+1
|
* remove doc/readme exclusion for starksb@ebi.ac.ukDavid Starks-Browning2000-05-161-1/+1
|
* * include/cygwin/version.h: Bump DLL minor version number to 2.Christopher Faylor2000-05-152-5/+5
|
* * shared.h: Bump PROC_MAGIC.Christopher Faylor2000-05-153-2/+9
| | | | * include/cygwin/version.h: Bump API minor to accomodate two recent exports.
* 2000-05-13 Mumit Khan <khan@xraylith.wisc.edu>Mumit Khan2000-05-142-1/+5
| | | | * include/cygwin/socket.h (AF_INET6): Use same value as winsock2.
* 2000-05-12 Mumit Khan <khan@xraylith.wisc.edu>Mumit Khan2000-05-133-2/+10
| | | | | | * include/cygwin/in.h (struct in6_addr): Fix spelling. * include/cygwin/socket.h (AF_INET6, PF_INET6): Define macros. (AF_MAX, PF_MAX): Bump to 32 to leave room for future expansion.
* * dcrt0.cc (build_argv): Remove unneeded variable.Christopher Faylor2000-05-133-4/+37
| | | | | | | | * select.cc (peek_pipe): Don't check for "ready" if it's already set. (peek_console): Ditto. (peek_serial): Ditto. (peek_socket): Ditto. (peek_windows): Ditto.
* * fhandler_raw.cc (write_file, read_file): New wrapper functionsCorinna Vinschen2000-05-122-22/+59
| | | | | | | for WriteFile and ReadFile to get rid of ERROR_MEDIA_CHANGED and ERROR_BUS_RESET in case of first access to tape. (fhandler_dev_raw::raw_write): Use write_file instead of WriteFile. (fhandler_dev_raw::raw_read): Use read_file instead of ReadFile.
* * Makefile.in (DLL_OFILES): Sort.Christopher Faylor2000-05-124-35/+47
| | | | | * fhandler_tty.cc (fhandler_tty_slave::send_ioctl_request): Eliminate. (fhandler_tty_slave::ioctl): Rewrite to avoid races.
* * mmap.cc (list::erase): Increment loop counter.DJ Delorie2000-05-112-2/+7
| | | | (map::erase): Likewise.
* Preliminary update to FAQ to reflect latest net release.David Starks-Browning2000-05-119-36/+344
| | | | | (So far, just a new title, some minor updates, and a disclaimer in each section that has to be updated for the net release, or at least looked at.)
* * cygwin.din: insure that regsub() is included inDJ Delorie2000-05-112-0/+7
| | | | cygwin1.dll
* * Makefile.in: Use appropriate VARIABLE to refer to cygwin.def in load line.Christopher Faylor2000-05-092-2/+7
|
* * fhandler.cc (fhandler_base::puts_readahead): ChangeCorinna Vinschen2000-05-092-2/+7
| | | | while condition to disallow wild runs.
* * window.cc (setitimer): Check for overflow conditionCorinna Vinschen2000-05-092-0/+13
| | | | in tv_sec.
* * errno.cc: Change mapping of ERROR_BAD_PATHNAME to ENOENT.Corinna Vinschen2000-05-092-1/+6
|
* * path.cc (symlink::info): Treat non readable filesCorinna Vinschen2000-05-082-1/+6
| | | | as normal non symlink files.
* * include/pthread.h (pthread_detach): Add missing prototype.Christopher Faylor2000-05-082-4/+9
| | | | (pthread_join): same.
* * fhandler.cc (lock): use signed math to allow checking rangesDJ Delorie2000-05-082-8/+14
| | | | properly.
* New maintainer for FAQ (doc/*.texinfo except readme), fix DJ's email address.David Starks-Browning2000-05-081-2/+3
|
* * dcrt0.cc (insert_file): Eliminate unused parameter.Christopher Faylor2000-05-074-51/+67
| | | | | | | | | | (build_argv): Ditto. * exceptions.cc (stack): Eliminate unused parameters. (stackdump): Ditto. (cygwin_stackdump): Reflect above changes. (sig_handle): Ditto. * fhandler.cc (fhandler_base::set_inheritance): Use kludge to avoid unused parameter warning.
* 2000-05-06 Mumit Khan <khan@xraylith.wisc.edu>Mumit Khan2000-05-063-5/+10
| | | | | * include/wchar.h (wcscmp, wcslen): Fix prototypes. * syscalls.cc (wcslen, wcscmp): Adjust.
* * errno.cc (errmap): Correct DIRECTORY mapping to ENOTDIR.Christopher Faylor2000-05-064-3/+7
|
* 2000-05-04 Mumit Khan <khan@xraylith.wisc.edu>Mumit Khan2000-05-042-1/+7
| | | | * Makefile.in (install): Install profile startup and library.
* * configure.in: Use -gstabs+ as compile debug option. This seems to promoteChristopher Faylor2000-05-044-25/+42
| | | | | | | | | | | better handling of symbols. * configure: Regenerate. * delqueue.cc (delqueue_list::process_queue): Allow ERROR_ACCESS_DENIED to indicate that a file is being shared under Windows 95. * syscalls.cc (_unlink): Use full path name. Take special action for Windows 95. Assume that an ERROR_ACCESS_DENIED indicates a sharing violation unless it's on a remote drive. Punt if there is an ERROR_ACCESS_DENIED on a remote drive.
* * errno.cc (errmap): Map ERROR_BAD_NETPATH to new errno ENOSHARE.Corinna Vinschen2000-05-033-3/+15
| | | | | | (_sys_errlist): Add entry for ENOSHARE. (strerror): Add case for ENOSHARE. * syscalls.cc (stat_worker): Check for errno ENOSHARE.
* * Makefile.in: Add dependencies for fhandler_random.oCorinna Vinschen2000-05-037-3/+144
| | | | | | | | | | | | | | * fhandler.h: Add device type FH_RANDOM. Add class fhandler_dev_random. * fhandler_random.cc: New file. Implementation of fhandler_dev_random. * hinfo.cc (build_fhandler): Add case for FH_RANDOM. * path.cc: Add device names for random devices to windows_device_names. (get_device_number): Add if branch for random devices. (win32_device_name): Add device name generation for random devices. winsup.h: Include <wincrypt.h>.
* * ntsec.sgml: Revisited description of `ntsec' according toCorinna Vinschen2000-05-024-65/+277
| | | | | | the changes in release 1.1. * setup.sgml: Include ntsec. * setup-net.sgml: Ditto.
* * path.cc (mount_info::conv_to_win32_path): Previous patchDJ Delorie2000-05-022-1/+6
| | | | failed to set flags on a win32 path.
* * security.cc (read_sd): Return 1 on success because weCorinna Vinschen2000-05-022-8/+18
| | | | can't rely on the returned SD size from GetFileSecurity.
* * dcrt0.cc: Add dynamic load code for `OemToCharA' from user32.dll.Corinna Vinschen2000-05-023-1/+11
| | | | | * security.cc (read_sd): Call `OemToCharA' to make `GetFileSecurity' happy on filenames with umlauts.
* add reference to Makefile.common (srcdir)DJ Delorie2000-04-301-1/+1
|
* Correct contributor email address.Christopher Faylor2000-04-301-1/+1
|
* * mount.cc (main): Add "-X" option to specify a "Cygwin executable".Christopher Faylor2000-04-272-43/+49
|
* * path.cc (normalize_win32_path): Don't add a trailing slash when one alreadyChristopher Faylor2000-04-272-48/+33
| | | | | | exists. (mount_info::conv_to_win32_path): Use existing code for dealing with relative path names when input is already a win32 path.
* * Makefile.in (install): install regexp.hDJ Delorie2000-04-262-1/+6
|
* * syscalls.cc (stat_worker): Previous patch could succeedCorinna Vinschen2000-04-262-5/+11
| | | | in stating a non-existant file.
* Add another INTERNET_OPTION.Christopher Faylor2000-04-262-0/+5
|
* * exceptions.cc (interruptible): Allocate slightly more space for directoryChristopher Faylor2000-04-2612-64/+110
| | | | | | | | | | | | | | | | | | | | | | | | | | name check. Windows 95 seems to null-terminate the directory otherwise. (interrupt_on_return): Issue a fatal error if we can't find the caller's stack. * spawn.cc (find_exec): Accept a path_conv argument rather than a buffer so that the caller can find things out about a translated path. (perhaps_suffix): Ditto. (spawn_guts): Allocate path_conv stuff here so that we can find out stuff about the translated path (this is work in progress). * environ.cc (environ_init): Accept an as-yet unused argument indicating whether we were invoked from a cygwin parent or not. (winenv): Ditto. (posify): Accept an argument indicating whether the path has already been translated. * dlfcn.cc (check_access): Provide a path_conv buffer to find_exec. * exec.cc (sexecvpe): Ditto. * path.cc (path_conv::check): Rename from path_conv::path_conv. (mount_item::getmntent): Recognize "Cygwin executable" bit. (symlink_info::check): Remove debugging statements. * path.h (class path_conv): Add iscygexec method. Rewrite constructor to call "check" method to allow multiple operations on a path_conv variable. * pinfo.cc (pinfo_init): Pass argument to environ_init. * shared.h: Bump PROC_MAGIC. * winsup.h: Reflect above changes to function arguments. * include/sys/mount.h: Add MOUNT_CYGWIN_EXEC type.
* * syscalls.cc (stat_worker): Previous patch failed to statCorinna Vinschen2000-04-252-17/+18
| | | | each drives root dir on 9X.