summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/ChangeLog
Commit message (Collapse)AuthorAgeFilesLines
...
* * cygwin.din: Add export for setlogmask().Christopher Faylor2001-01-221-0/+5
| | | | * syslog.cc (setlogmask): New function.
* * resource.cc (setrlimit): Support RLIMIT_NOFILE.Corinna Vinschen2001-01-181-0/+4
|
* * syscalls.cc (setdtablesize): Call with amount to increment not total amount.Christopher Faylor2001-01-181-0/+5
| | | | Return success or failure error code.
* * autoload.cc (LoadDLLinitfunc): Remove debugging statement.Christopher Faylor2001-01-171-0/+21
| | | | | | | | | | | | | | | | | | * exceptions.cc (sig_handle_tty_stop): Move setting of PID_STOPPED to earlier in interrupt. ((interrupt_setup): i.e., here. (sig_handle): Don't queue multiple SIGSTOPS. * fhandler.h (bg_check_types): Enumerate return value of bg_check for clarity. * signal.cc (kill_pgrp): Minor cleanup. * fhandler_termios.cc (fhandler_termios::bg_check): Use enumerated type for function return. Don't raise signal if a signal is already queued. * fhandler_console.cc (fhandler_console::read): Use enumerated return type for bg_check. * select.cc: Ditto, throughout. * read.cc: Ditto, throughout. * termios.cc: Ditto, throughout. (_read): YA interrupt detect simplification. * wait.cc (wait4): Ditto.
* * cygheap.cc (cygheap_user::~cygheap_user): TemporarilyCorinna Vinschen2001-01-171-0/+5
| | | | disable free'ing memory.
* * mmap.cc (mmap): Initialize fh to avoid compiler warnings.Corinna Vinschen2001-01-161-0/+4
|
* * wait.cc (wait4): Rename variable for consistency. Allow restartable signalChristopher Faylor2001-01-161-0/+5
| | | | behavior.
* * mmap.cc (mmap): Add more parameter checking. Change error outputCorinna Vinschen2001-01-151-0/+5
| | | | in case of EINVAL. Treat mmapping /dev/zero like MAP_ANONYMOUS.
* * mmap.cc: include <unistd.h>. Define some bit operations forCorinna Vinschen2001-01-151-0/+18
| | | | | | | | | | | | | | | | | the new page map. (mmap_record): Change type of base_address_ to caddr_t. Add map_map_ member. Add several methods to manipulate map_map_. (mmap_record::alloc_map): New method. (mmap_record::free_map): Ditto. (mmap_record::find_empty): Ditto. (mmap_record::map_map): Ditto. (mmap_record::unmap_map): Ditto. (list::add_record): Change return type to `mmap_record *'. Allocate page map. (list::match): New method. (mmap): Partly rewritten to take care for the new page map. Add some parameter checking. (munmap): Ditto.
* * heap.cc (heap_init): Fix extern declaration of getpagesize.Corinna Vinschen2001-01-151-0/+5
| | | | * syscalls.cc (getpagesize): Fix another typo.
* * syscalls.cc (getpagesize): Save pagesize in global variable toCorinna Vinschen2001-01-151-0/+7
| | | | | | avoid calling GetSystemInfo too often. * heap.cc (getpagesize): Eliminate. (heap_init): Use getpagesize function from syscalls.cc.
* * sysconf.cc (sysconf): return `getpagesize ()' on _SC_PAGESIZECorinna Vinschen2001-01-151-0/+5
| | | | request to avoid implementing the same twice.
* * syscalls.cc (_read): Use more lightweight method for determining if read hasChristopher Faylor2001-01-141-0/+5
| | | | been interrupted by a signal.
* * debug.h: Add regparm attributes to some functions.Christopher Faylor2001-01-121-0/+14
| | | | | | | | | | | | * signal.cc (sigaction): Don't treat SIGCONT specially. * exceptions.cc (interrupt_setup): Save sa_flags of interrupted signal for later use. (sig_handler): Default any stopping signal to SIGSTOP. (call_signal_handler): New function. (sigdelayed0): New function. * sigproc.cc (sigproc_init): Initialize SIGSTOP sigaction for special behavior. * sigproc.h: Define call_signal_handler. * syscalls.cc (_read): Allow restartable signal behavior.
* * fhandler.h (fhandler_base): New method `fixup_mmap_after_fork'.Corinna Vinschen2001-01-111-0/+18
| | | | | | | | | | | | | | | | | (fhandler_disk_file: Ditto. (fhandler_dev_mem): Ditto. * fhandler_mem.cc (fhandler_dev_mem::open): Set OBJ_INHERIT attribute for device\physicalmemory handle. (fhandler_dev_mem::mmap): Ditto. * fhandler_mem.cc (fhandler_dev_mem::fixup_mmap_after_fork): New method. * mmap.cc (mmap_record): Add private `fdesc_' member. Change constructor accordingly. (get_fd): New method. (mmap): Use new mmap_record constructor. (fhandler_base::fixup_mmap_after_fork): New method. (fhandler_disk_file::fixup_mmap_after_fork): Ditto. (fixup_mmaps_after_fork): Call `fixup_mmap_after_fork' of appropriate fhandler class.
* * sigproc.cc (wait_sig): Allow SIGCONT when stopped.Christopher Faylor2001-01-101-0/+4
|
* Patch suggested by Ren� M�ller Fonseca <fonseca@mip.sdu.dk>Corinna Vinschen2001-01-091-1/+7
| | | | | * include/sys/socket.h: Change prototype to have 2nd parameter `const'. * net.cc (cygwin_bind): Change 2nd parameter to `const'.
* * pinfo.cc (codepage_init): Move function.Christopher Faylor2001-01-081-0/+10
| | | | | | | | | * environ.cc (codepage_init): To here. * exceptoins.cc (SIG_NONMASKABLE): Remove SIGCONT from consideration since it is supposed to be maskable. * signal.cc (sigaction): Ditto. * sigproc.cc (wait_sig): Ditto. * winsup.h: Eliminate global declaration of codepage_init.
* * resource.cc (getrlimit): Set errno on EFAULT instead of returning it.Corinna Vinschen2001-01-051-0/+11
| | | | | | | | (setrlimit): Ditto. Patch by David Sainty <David.Sainty@optimation.co.nz>: * resource.cc (setrlimit): Prevent failing with an error when the operation would not have changed anything.
* * thread.cc: Need LONG_MAX definition.Christopher Faylor2001-01-041-0/+4
|
* * thread.cc (MTinterface::CreateSemaphore): Correctly set semaphore max.Christopher Faylor2001-01-031-0/+5
|
* * fhandler_console.cc (fhandler_console::read): Restore missing test for codeChristopher Faylor2001-01-031-0/+5
| | | | page before doing OemToCharBuff.
* Wed Jan 3 09:20:20 2001 Jason Tishler <jt@dothill.com>Christopher Faylor2001-01-031-4149/+3
| | | | | * include/cygwin/version.h: Fix typo in CYGWIN_VERSION_DLL_COMBINED macro.
* * cygwin.din: Add symbols for `getrlimit' and `setrlimit'.Corinna Vinschen2000-12-271-0/+13
| | | | | | | | | | | | * exceptions.cc (stackdump): Avoid creating stackdump when `rlim_core' is 0. * resource.cc: New global variable `rlim_core'. (getrlimit): New function. (setrlimit): Ditto. include/cygwin/version.h: Bump minor API version to 32 due to adding `getrlimit' and `setrlimit'. include/sys/resource.h: Add defines, types and prototypes for `getrlimit' and `setrlimit'.
* * autoload.h: Make DLL initializers global to avoid inlining.Christopher Faylor2000-12-261-0/+9
| | | | | | | | * exceptions.cc (interrupt_setup): Reorganize arguments to allow use of regparm. (interrupt_now): Ditto. (interrupt_on_return): Ditto. (call_handler): Ditto.
* * include/cygwin/version.h: Bump DLL minor version number to 8.Christopher Faylor2000-12-251-0/+4
|
* Fix syntax.Corinna Vinschen2000-12-201-1/+1
|
* * autoload.cc: Add load statemant for SetSecurityDescriptorControl.Corinna Vinschen2000-12-201-0/+6
| | | | | * security.cc (alloc_sd): Always set SE_DACL_PROTECTED flag on Win2K and higher.
* * exceptions.cc (reset_signal_arrived): Make global to avoid inlining.Christopher Faylor2000-12-201-0/+4
|
* * fhandler_serial.cc (fhandler_serial::raw_read): Always find number of bytesChristopher Faylor2000-12-201-0/+5
| | | | ready to be read whether overlapped_armed or not.
* * syscalls.cc (remove): New function, overriding the newlibCorinna Vinschen2000-12-191-0/+5
| | | | implementation.
* * environ.cc (struct parse_thing): Add entry for new CYGWIN optionCorinna Vinschen2000-12-191-0/+12
| | | | | | | | | | | `smbntsec'. * path.cc (path_conv::check): Check path for being a remote path. If so and `allow_smbntsec' is set to FALSE, set has_acls to FALSE. * security.cc: Add global definition for `allow_smbntsec'. * security.h: Add extern declaration for `allow_smbntsec'. * fhandler.cc (fhandler_disk_file::open): Eliminate extern declaration of `allow_ntsec'. * syscalls.cc: Ditto.
* * fhandler_console.cc (read): Add support for xterm-style mouse eventChristopher Faylor2000-12-161-0/+9
| | | | | | | | reporting. (fhandler_console::char_command): Honor mouse events. (fhandler_console::open): Enable mouse input events. (fhandler_console::input_tcsetattr): Ditto. * select.cc (peek_console): Add check for mouse events.
* * path.cc (normalize_posix_path): Calculate path name length overruns moreChristopher Faylor2000-12-151-0/+7
| | | | | | dynamically. (normalize_win32_path): Ditto. * Makefile.in: Avoid scanning the directory twice for *.d files.
* * fhandler.h (fhandler_console): Add additional argument to char_commandChristopher Faylor2000-12-151-0/+10
| | | | | | | | method. * fhandler_console.cc (fhandler_console::read): Revert previously misapplied patch. (fhandler_console::char_command): Add a second argument. (fhandler_console::write): Recognize when a '?' is found after a <esc>[.
* * net.cc (cygwin_rexec): Eliminate superfluous call toCorinna Vinschen2000-12-111-0/+6
| | | | | `set_socket_inheritance'. * include/sys/socket.h: Add SUS defines for option values to `shutdown'.
* * include/sysexits: New file.Christopher Faylor2000-12-101-0/+4
|
* * autoload.cc: Autoload CharToOemA.Christopher Faylor2000-12-101-0/+19
| | | | | | | | | | | | | | | | | * dcrt0.cc (dll_crt0_1): Translate command line to OEM if current codepage is OEM. * environ.cc: Add new option 'codepage' to CYGWIN environment variable. * fhandler_clipboard.cc (fhandler_clipboard::read): Read clipboard in OEM mode if current codepage is OEM. * fhandler_console.cc (fhandler_console::read): Only translate console input if current codepage is ANSI. * fhandler_console.cc (fhandler_console::write_normal): Translate output data if current codepage is ANSI. * pinfo.cc (codepage_init): New function. Setup current codepage from CYGWIN environment variable and set codepage for file APIs. * security.cc (read_sd): Translate file name to it if current codepage is OEM. * winsup.h: (sys_wcstombs,sys_mbstowcs): Use current codepage for translations between multibyte and widechar string and vice versa.
* * path.cc (normalize_win32_path): Check for explicit use of two slashes at theChristopher Faylor2000-12-091-0/+7
| | | | | | beginning of a path. These should be treated specially regardless of whether they are UNC paths or old-style //a paths. Avoid adding cwd to a path if the path already begins with '/'.
* * path.cc (normalize_win32_path): Reorganize logic to accomodate chroot.Christopher Faylor2000-12-091-0/+7
| | | | | | Always check for MAX_PATH overrun. Avoid adding one too many backslashes when src path begins with a slash. From Corinna Vinschen. * winsup.h: Force demangling for dll_crt0 for newer compilers.
* * cygwin.din: Declare strtok_r for the import lib. Already in the DLL.Corinna Vinschen2000-12-071-1/+5
|
* * winsup/cygwin/include/sys/uio.h: readv: Correct prototypeCorinna Vinschen2000-12-061-0/+5
| | | | writev: ditto.
* * include/sys/uio.h: Include <sys/cdefs.h>. Use __BEGIN_DECL andCorinna Vinschen2000-12-051-0/+6
| | | | | __END_DECL. Add declarations for `readv' and `writev'.
* * Makefile.in: Change `-nostartfiles' to `-nostdlib' to avoidCorinna Vinschen2000-12-041-0/+6
| | | | | automatic linking with default libraries when linking new-cygwin1.dll. Link with libgcc.a and libstdc++.a explicitly.
* * path.cc (normalize_win32_path): Handle UNC paths better.Christopher Faylor2000-12-031-0/+5
| | | | (slash_unc_prefix_p): Allow backslash UNC paths.
* * Makefile.in: Remove some extra cruft.Christopher Faylor2000-12-031-0/+4
|
* * Makefile.in: Use CXX to build the DLL.Christopher Faylor2000-12-031-0/+8
| | | | | | | | * configure.in: Find correct c++ compiler. * configure: Regenerate. * path.cc (normalize_posix_path): Put correct drive at beginning of \foo style paths. (chdir): Don't send non-posix path to cygcwd.set.
* * net.cc (get_inet_addr ): Close AF_UNIX socket file after reading.Corinna Vinschen2000-12-021-0/+4
|
* * cygheap.cc (chgheap_root::operator =): Check root dir properly.Corinna Vinschen2000-11-291-0/+4
|
* * net.cc (cygwin_inet_aton): Return nonzero if the addressCorinna Vinschen2000-11-291-0/+5
| | | | is valid, zero if not according to Linux man page.