summaryrefslogtreecommitdiffstats
path: root/winsup
Commit message (Collapse)AuthorAgeFilesLines
...
* * include/stdint.h: New file.Earnie Boyd2001-01-262-0/+188
|
* * lib/msvcp60.def: New fileEarnie Boyd2001-01-262-0/+77
|
* * include/winnt.h: Add PTOKEN_USER.Christopher Faylor2001-01-262-19/+22
|
* * mmap.cc (fhandler_disk_file::mmap): Call CreateFileMapping withCorinna Vinschen2001-01-242-2/+12
| | | | len != 0 only when performing an anonymous mapping.
* * path.h: Add a new constant.Christopher Faylor2001-01-222-34/+10
| | | | * syscalls.cc (_read): Oscillate errno check.
* * include/cygwin/version.h: Bump API to reflect setlogmask.Christopher Faylor2001-01-225-11/+45
|
* * cygwin.din: Add export for setlogmask().Christopher Faylor2001-01-223-3/+6
| | | | * syslog.cc (setlogmask): New function.
* * include/wchar.h: Protect prototypes only declared in the C++ STLEarnie Boyd2001-01-182-1/+9
| | | | from being declared unless __cplusplus is defined.
* * resource.cc (setrlimit): Support RLIMIT_NOFILE.Corinna Vinschen2001-01-182-0/+9
|
* * syscalls.cc (setdtablesize): Call with amount to increment not total amount.Christopher Faylor2001-01-182-3/+10
| | | | Return success or failure error code.
* * autoload.cc (LoadDLLinitfunc): Remove debugging statement.Christopher Faylor2001-01-1713-65/+109
| | | | | | | | | | | | | | | | | | * 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-172-0/+7
| | | | disable free'ing memory.
* * include/sqlucode.h: Apply Danny Smith patch 102443Earnie Boyd2001-01-162-0/+144
| | | | | 2000-11-20 Danny Smith <danny_r_smith_2001@yahoo.co.nz> New file.
* * lib/odbccp32.def: Apply Danny Smith patch 102442Earnie Boyd2001-01-162-0/+60
| | | | | 2000-11-20 Danny Smith <danny_r_smith_2001@yahoo.co.nz> New file.
* * include/odbcinst.h: Apply Danny Smith patch 102441Earnie Boyd2001-01-162-0/+152
| | | | | 2000-11-20 Danny Smith <danny_r_smith_2001@yahoo.co.nz> New file.
* * mmap.cc (mmap): Initialize fh to avoid compiler warnings.Corinna Vinschen2001-01-162-1/+5
|
* * include/stdlib.h: Apply Danny Smith patch 102730Earnie Boyd2001-01-162-2/+8
| | | | | 2000-12-09 Danny Smith <danny_r_smith_2001@yahoo.co.nz> (_wgetenv) Correction to return type.
* * include/locale.h: Apply Danny Smith patch 101834Earnie Boyd2001-01-162-0/+18
| | | | | | | 2000-11-23 Danny Smith <danny_r_smith_2001@yahoo.co.nz> (LC_MIN) Add definition. (LC_MAX) ditto. (_wsetlocale) Add prototype.
* * wait.cc (wait4): Rename variable for consistency. Allow restartable signalChristopher Faylor2001-01-162-14/+22
| | | | behavior.
* * mmap.cc (mmap): Add more parameter checking. Change error outputCorinna Vinschen2001-01-152-27/+47
| | | | in case of EINVAL. Treat mmapping /dev/zero like MAP_ANONYMOUS.
* * mmap.cc: include <unistd.h>. Define some bit operations forCorinna Vinschen2001-01-152-33/+265
| | | | | | | | | | | | | | | | | 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-153-4/+9
| | | | * syscalls.cc (getpagesize): Fix another typo.
* * syscalls.cc (getpagesize): Save pagesize in global variable toCorinna Vinschen2001-01-153-9/+18
| | | | | | 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-152-5/+6
| | | | request to avoid implementing the same twice.
* * syscalls.cc (_read): Use more lightweight method for determining if read hasChristopher Faylor2001-01-142-2/+6
| | | | been interrupted by a signal.
* * debug.h: Add regparm attributes to some functions.Christopher Faylor2001-01-128-8/+43
| | | | | | | | | | | | * 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-114-17/+109
| | | | | | | | | | | | | | | | | (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.
* * regtool.cc (cmd_list): Add new registry display options.Christopher Faylor2001-01-103-69/+107
| | | | | | (cmd_list): Add code to implement -p, -k, and -l options. * regtool.cc (Fail): Add call to LocalFree to free memory allocated by FormatMessage.
* more formatting changes.Christopher Faylor2001-01-101-2/+4
|
* * regtool.cc (translate): Ensure that 'c' is initialized.Christopher Faylor2001-01-103-574/+595
| | | | (cmd_set): Ditto for rv.
* * sigproc.cc (wait_sig): Allow SIGCONT when stopped.Christopher Faylor2001-01-102-1/+5
|
* Patch suggested by Ren� M�ller Fonseca <fonseca@mip.sdu.dk>Corinna Vinschen2001-01-093-4/+10
| | | | | * 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-0817-52/+60
| | | | | | | | | * 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-052-3/+33
| | | | | | | | (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-042-0/+5
|
* * thread.cc (MTinterface::CreateSemaphore): Correctly set semaphore max.Christopher Faylor2001-01-032-1/+6
|
* * fhandler_console.cc (fhandler_console::read): Restore missing test for codeChristopher Faylor2001-01-032-1/+6
| | | | page before doing OemToCharBuff.
* Wed Jan 3 09:20:20 2001 Jason Tishler <jt@dothill.com>Christopher Faylor2001-01-033-4151/+4155
| | | | | * include/cygwin/version.h: Fix typo in CYGWIN_VERSION_DLL_COMBINED macro.
* * cygwin.din: Add symbols for `getrlimit' and `setrlimit'.Corinna Vinschen2000-12-276-1/+102
| | | | | | | | | | | | * 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-264-14/+30
| | | | | | | | * 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-252-1/+5
|
* missed a spot.Christopher Faylor2000-12-251-1/+0
|
* * lib/Makefile.in: Don't make "links" to include/w32api directory.Christopher Faylor2000-12-252-1/+4
|
* * cygwinenv.sgml: Fix typo in <filename>. Add missing </para>.Corinna Vinschen2000-12-222-3/+7
|
* Fix syntax.Corinna Vinschen2000-12-201-1/+1
|
* * autoload.cc: Add load statemant for SetSecurityDescriptorControl.Corinna Vinschen2000-12-203-0/+22
| | | | | * security.cc (alloc_sd): Always set SE_DACL_PROTECTED flag on Win2K and higher.
* * include/winbase.h: Add prototype for SetSecurityDescriptorControl.Corinna Vinschen2000-12-202-0/+5
|
* * exceptions.cc (reset_signal_arrived): Make global to avoid inlining.Christopher Faylor2000-12-202-2/+5
|
* * fhandler_serial.cc (fhandler_serial::raw_read): Always find number of bytesChristopher Faylor2000-12-203-10/+16
| | | | ready to be read whether overlapped_armed or not.
* * syscalls.cc (remove): New function, overriding the newlibCorinna Vinschen2000-12-192-0/+24
| | | | implementation.