]> sourceware.org Git - newlib-cygwin.git/blame - winsup/cygwin/ChangeLog
* syscalls.cc (setdtablesize): Call with amount to increment not total amount.
[newlib-cygwin.git] / winsup / cygwin / ChangeLog
CommitLineData
4e2a97b2
CF
1Wed Jan 17 23:23:12 2001 Christopher Faylor <cgf@cygnus.com>
2
3 * syscalls.cc (setdtablesize): Call with amount to increment not total
4 amount. Return success or failure error code.
5
a7cde2b9
CF
6Wed Jan 17 09:47:13 2001 Christopher Faylor <cgf@cygnus.com>
7
8 * autoload.cc (LoadDLLinitfunc): Remove debugging statement.
9
10 * exceptions.cc (sig_handle_tty_stop): Move setting of PID_STOPPED to
11 earlier in interrupt.
12 ((interrupt_setup): i.e., here.
13 (sig_handle): Don't queue multiple SIGSTOPS.
14 * fhandler.h (bg_check_types): Enumerate return value of bg_check for
15 clarity.
16 * signal.cc (kill_pgrp): Minor cleanup.
17 * fhandler_termios.cc (fhandler_termios::bg_check): Use enumerated type
18 for function return. Don't raise signal if a signal is already queued.
19 * fhandler_console.cc (fhandler_console::read): Use enumerated return
20 type for bg_check.
21 * select.cc: Ditto, throughout.
22 * read.cc: Ditto, throughout.
23 * termios.cc: Ditto, throughout.
24 (_read): YA interrupt detect simplification.
25 * wait.cc (wait4): Ditto.
26
cb503978
CV
27Wed Jan 17 10:56:00 2001 Corinna Vinschen <corinna@vinschen.de>
28
29 * cygheap.cc (cygheap_user::~cygheap_user): Temporarily
30 disable free'ing memory.
31
9fedfd57
CV
32Tue Jan 16 18:01:00 2001 Corinna Vinschen <corinna@vinschen.de>
33
34 * mmap.cc (mmap): Initialize fh to avoid compiler warnings.
35
9470a80c
CF
36Mon Jan 15 21:07:00 2001 Christopher Faylor <cgf@cygnus.com>
37
38 * wait.cc (wait4): Rename variable for consistency. Allow restartable
39 signal behavior.
40
9334c89c
CV
41Mon Jan 15 23:15:00 2001 Corinna Vinschen <corinna@vinschen.de>
42
43 * mmap.cc (mmap): Add more parameter checking. Change error output
44 in case of EINVAL. Treat mmapping /dev/zero like MAP_ANONYMOUS.
45
c6dd43f2
CV
46Mon Jan 15 20:34:00 2001 Corinna Vinschen <corinna@vinschen.de>
47
48 * mmap.cc: include <unistd.h>. Define some bit operations for
49 the new page map.
50 (mmap_record): Change type of base_address_ to caddr_t.
51 Add map_map_ member. Add several methods to manipulate map_map_.
52 (mmap_record::alloc_map): New method.
53 (mmap_record::free_map): Ditto.
54 (mmap_record::find_empty): Ditto.
55 (mmap_record::map_map): Ditto.
56 (mmap_record::unmap_map): Ditto.
57 (list::add_record): Change return type to `mmap_record *'.
58 Allocate page map.
59 (list::match): New method.
60 (mmap): Partly rewritten to take care for the new page map. Add some
61 parameter checking.
62 (munmap): Ditto.
63
66097f06
CV
64Mon Jan 15 13:50:00 2001 Corinna Vinschen <corinna@vinschen.de>
65
66 * heap.cc (heap_init): Fix extern declaration of getpagesize.
67 * syscalls.cc (getpagesize): Fix another typo.
68
dc3651b6
CV
69Mon Jan 15 12:48:00 2001 Corinna Vinschen <corinna@vinschen.de>
70
71 * syscalls.cc (getpagesize): Save pagesize in global variable to
72 avoid calling GetSystemInfo too often.
73 * heap.cc (getpagesize): Eliminate.
74 (heap_init): Use getpagesize function from syscalls.cc.
75
4cf2c0e0
CV
76Mon Jan 15 11:56:00 2001 Corinna Vinschen <corinna@vinschen.de>
77
78 * sysconf.cc (sysconf): return `getpagesize ()' on _SC_PAGESIZE
79 request to avoid implementing the same twice.
80
a3ec080b
CF
81Sun Jan 14 14:07:50 2001 Christopher Faylor <cgf@cygnus.com>
82
83 * syscalls.cc (_read): Use more lightweight method for determining if
84 read has been interrupted by a signal.
85
c3d62298
CF
86Fri Jan 12 00:35:15 2001 Christopher Faylor <cgf@cygnus.com>
87
88 * debug.h: Add regparm attributes to some functions.
89
90 * signal.cc (sigaction): Don't treat SIGCONT specially.
91
92 * exceptions.cc (interrupt_setup): Save sa_flags of interrupted signal for later use.
93 (sig_handler): Default any stopping signal to SIGSTOP.
94 (call_signal_handler): New function.
95 (sigdelayed0): New function.
96 * sigproc.cc (sigproc_init): Initialize SIGSTOP sigaction for special behavior.
97 * sigproc.h: Define call_signal_handler.
98 * syscalls.cc (_read): Allow restartable signal behavior.
99
c4efddf6
CV
100Thu Jan 11 13:17:00 2001 Corinna Vinschen <corinna@vinschen.de>
101
102 * fhandler.h (fhandler_base): New method `fixup_mmap_after_fork'.
103 (fhandler_disk_file: Ditto.
104 (fhandler_dev_mem): Ditto.
105 * fhandler_mem.cc (fhandler_dev_mem::open): Set OBJ_INHERIT attribute
106 for device\physicalmemory handle.
107 (fhandler_dev_mem::mmap): Ditto.
108 * fhandler_mem.cc (fhandler_dev_mem::fixup_mmap_after_fork): New method.
109 * mmap.cc (mmap_record): Add private `fdesc_' member. Change constructor
110 accordingly.
111 (get_fd): New method.
112 (mmap): Use new mmap_record constructor.
113 (fhandler_base::fixup_mmap_after_fork): New method.
114 (fhandler_disk_file::fixup_mmap_after_fork): Ditto.
115 (fixup_mmaps_after_fork): Call `fixup_mmap_after_fork' of appropriate
116 fhandler class.
117
7416e1d2
CF
118Wed Jan 10 22:08:30 2001 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
119
120 * sigproc.cc (wait_sig): Allow SIGCONT when stopped.
121
55ae1dff
CV
122Tue Jan 9 16:55:00 2001 Corinna Vinschen <corinna@vinschen.de>
123
124