]> sourceware.org Git - newlib-cygwin.git/blame - winsup/cygwin/ChangeLog
* include/wchar.h: The 2001.01.18 Change was incorrect. The functions
[newlib-cygwin.git] / winsup / cygwin / ChangeLog
CommitLineData
ae6c8e4f
CF
1Sun Jan 28 01:25:33 2001 Christopher Faylor <cgf@cygnus.com>
2
3 * include/cygwin/version.h: Bump API version.
4
9a089f21
CF
5Sun Jan 28 01:18:22 2001 Christopher Faylor <cgf@cygnus.com>
6
7 * cygheap.cc (init_cheap): Move username initialization.
8 (cygheap_init): Here.
9 * shared_info.h (mount_info): Add a sys_mount_table_counter field.
10 (shared_info): Ditto.
11 * path.cc (mount_info::conv_to_win32_path): Check that our mount table
12 is in sync with the system mount table and reinitialize it if not.
13 (mount_info::add_reg_mount): Bump sys_mount_table counters if the
14 system mount table changes.
15 (mount_info::del_reg_mount): Ditto.
16 (mount_info::write_cygdrive_info_to_registry): Ditto.
17 (mount_info::remove_cygdrive_info_from_registry): Ditto.
18
2a6fc028
CF
19Sun Jan 28 00:28:30 2001 Christopher Faylor <cgf@cygnus.com>
20
21 Throughout, change 'cygwin_shared.mount' to 'mount_table'.
22 * child_info.h (child_info): Move shared_h, console_h to cygheap. Add
23 mount_h.
24 * cygheap.h (init_cygheap): Add shared_h, console_h.
25 * cygheap.cc (init_cheap): Initialize heap at a fixed location after
26 the shared memory regions. Initialize cygheap->user name here.
27 * dcrt0.cc (dll_crt0_1): Call getpagesize () to initialize constants.
28 Remove cygheap_init since it is done in shared_init now.
29 (_dll_crt0): Initialize mount_h, remove shared_h and console_h
30 initialization.
31 * fhandler_console.cc (console_shared_h): Eliminate.
32 (get_tty_stuff): Use cygheap->console_h rather than console_shared_h.
33 * heap.cc (heap_init): Use page size constant calculated earlier in initialization.
34 * shared.cc: Eliminate cygwin_shared_h. Add cygwin_mount_h.
35 (mount_table_init): New function for initializing a user mount table.
36 (open_shared_file_map): Use constant for shared memory region. Initialize cygheap and mount table here.
37 (open_shared): Improve debugging output.
38 (shared_info::initialize): Eliminate call to mount.init.
39 (shared_terminate): Use cygheap->shared_h. Close cygwin_mount_h.
40 (open_shared_file_map): Eliminate.
41 * shared_info.h (mount_info): Add a version field.
42 (shared_align_past): New macro for calculating location for shared memory regions.
43 * sigproc.cc (init_child_info): Eliminate shared_h, console_h.
44 * spawn.cc (spawn_guts): Pass on cygwin_mount_h iff not a different user.
45 * syscalls.cc (system_info): New global holding system memory defaults.
46 (getpagesize): Use system_info.
47 * uinfo.cc (internal_getlogin): Only fill in user name if nonexistent.
48 * winsup.h: Declare system_info.
49
50 * passwd.cc (read_etc_passwd): Use cygheap->user.name () rather than retrieving the name again.
51
bdfeca60
CF
52Sat Jan 27 10:18:02 2001 Christopher Faylor <cgf@cygnus.com>
53
54 * path.cc (path_conv::check): Detect when path has symlinks.
55 (symlink_info::check): Remove debugging stuff.
56 (chdir): Use posix'ized win32 path if cd'ed to a path using symlinks.
57
206a8d88
CF
58Fri Jan 26 21:20:28 2001 Christopher Faylor <cgf@cygnus.com>
59
60 * exceptions.cc (sigreturn): Call any pending signals prior to
61 resetting the signal mask so that stacked signals behave correctly.
62 (sigdelayed): Avoid a race where a signal could end up calling an
63 incorrect signal handler if two signals come in close together.
64
174f1a39
CV
65Tue Jan 23 21:56:00 2001 Corinna Vinschen <corinna@vinschen.de>
66
67 * mmap.cc (fhandler_disk_file::mmap): Call CreateFileMapping with
68 len != 0 only when performing an anonymous mapping.
69
4c7b8250
CF
70Mon Jan 22 15:35:28 2001 Christopher Faylor <cgf@cygnus.com>
71
72 * path.h: Add a new constant.
73 * syscalls.cc (_read): Oscillate errno check.
74
c65a3183
CF
75Mon Jan 22 15:27:12 2001 Christopher Faylor <cgf@cygnus.com>
76
77 * include/cygwin/version.h: Bump API to reflect setlogmask.
78
29c39fe3
CF
79Sun Jan 21 22:40:25 2001 Jason Tishler <jt@dothill.com>
80
81 * cygwin.din: Add export for setlogmask().
82 * syslog.cc (setlogmask): New function.
83
c807d355
CV
84Thu Jan 18 10:27:00 2001 Corinna Vinschen <corinna@vinschen.de>
85
86 * resource.cc (setrlimit): Support RLIMIT_NOFILE.
87
4e2a97b2
CF
88Wed Jan 17 23:23:12 2001 Christopher Faylor <cgf@cygnus.com>
89
90 * syscalls.cc (setdtablesize): Call with amount to increment not total
91 amount. Return success or failure error code.
92
a7cde2b9
CF
93Wed Jan 17 09:47:13 2001 Christopher Faylor <cgf@cygnus.com>
94
95 * autoload.cc (LoadDLLinitfunc): Remove debugging statement.
96
97 * exceptions.cc (sig_handle_tty_stop): Move setting of PID_STOPPED to
98 earlier in interrupt.
99 ((interrupt_setup): i.e., here.
100 (sig_handle): Don't queue multiple SIGSTOPS.
101 * fhandler.h (bg_check_types): Enumerate return value of bg_check for
102 clarity.
103 * signal.cc (kill_pgrp): Minor cleanup.
104 * fhandler_termios.cc (fhandler_termios::bg_check): Use enumerated type
105 for function return. Don't raise signal if a signal is already queued.
106 * fhandler_console.cc (fhandler_console::read): Use enumerated return
107 type for bg_check.
108 * select.cc: Ditto, throughout.
109 * read.cc: Ditto, throughout.
110 * termios.cc: Ditto, throughout.
111 (_read): YA interrupt detect simplification.
112 * wait.cc (wait4): Ditto.
113
cb503978
CV
114Wed Jan 17 10:56:00 2001 Corinna Vinschen <corinna@vinschen.de>
115
116 * cygheap.cc (cygheap_user::~cygheap_user): Temporarily
117 disable free'ing memory.
118
9fedfd57
CV
119Tue Jan 16 18:01:00 2001 Corinna Vinschen <corinna@vinschen.de>
120
121 * mmap.cc (mmap): Initialize fh to avoid compiler warnings.
122
9470a80c
CF
123Mon Jan 15 21:07:00 2001 Christopher Faylor <cgf@cygnus.com>
124
125 * wait.cc (wait4): Rename variable for consistency. Allow restartable
126 signal behavior.
127
9334c89c
CV
128Mon Jan 15 23:15:00 2001 Corinna Vinschen <corinna@vinschen.de>
129
130 * mmap.cc (mmap): Add more parameter checking. Change error output
131 in case of EINVAL. Treat mmapping /dev/zero like MAP_ANONYMOUS.
132
c6dd43f2
CV
133Mon Jan 15 20:34:00 2001 Corinna Vinschen <corinna@vinschen.de>
134
135 * mmap.cc: include <unistd.h>. Define some bit operations for
136 the new page map.
137 (mmap_record): Change type of base_address_ to caddr_t.
138 Add map_map_ member. Add several methods to manipulate map_map_.
139 (mmap_record::alloc_map): New method.
140 (mmap_record::free_map): Ditto.
141 (mmap_record::find_empty): Ditto.
142 (mmap_record::map_map): Ditto.
143 (mmap_record::unmap_map): Ditto.
144 (list::add_record): Change return type to `mmap_record *'.
145 Allocate page map.
146 (list::match): New method.
147 (mmap): Partly rewritten to take care for the new page map. Add some
148 parameter checking.
149 (munmap): Ditto.
150
66097f06
CV
151Mon Jan 15 13:50:00 2001 Corinna Vinschen <corinna@vinschen.de>
152
153 * heap.cc (heap_init): Fix extern declaration of getpagesize.
154 * syscalls.cc (getpagesize): Fix another typo.
155
dc3651b6
CV
156Mon Jan 15 12:48:00 2001 Corinna Vinschen <corinna@vinschen.de>
157
158 * syscalls.cc (getpagesize): Save pagesize in global variable to
159 avoid calling GetSystemInfo too often.
160 * heap.cc (getpagesize): Eliminate.
161 (heap_init): Use getpagesize function from syscalls.cc.
162
4cf2c0e0
CV
163Mon Jan 15 11:56:00 2001 Corinna Vinschen <corinna@vinschen.de>
164
165 * sysconf.cc (sysconf): return `getpagesize ()' on _SC_PAGESIZE
166 request to avoid implementing the same twice.
167
a3ec080b
CF
168Sun Jan 14 14:07:50 2001 Christopher Faylor <cgf@cygnus.com>
169
170 * syscalls.cc (_read): Use more lightweight method for determining if
171 read has been interrupted by a signal.
172
c3d62298
CF
173Fri Jan 12 00:35:15 2001 Christopher Faylor <cgf@cygnus.com>
174
175 * debug.h: Add regparm attributes to some functions.
176
177 * signal.cc (sigaction): Don't treat SIGCONT specially.
178
179 * exceptions.cc (interrupt_setup): Save sa_flags of interrupted signal for later use.
180 (sig_handler): Default any stopping signal to SIGSTOP.
181 (call_signal_handler): New function.
182 (sigdelayed0): New function.
183 * sigproc.cc (sigproc_init): Initialize SIGSTOP sigaction for special behavior.
184 * sigproc.h: Define call_signal_handler.
185 * syscalls.cc (_read): Allow restartable signal behavior.
186
c4efddf6
CV
187Thu Jan 11 13:17:00 2001 Corinna Vinschen <corinna@vinschen.de>
188
189 * fhandler.h (fhandler_base): New method `fixup_mmap_after_fork'.
190 (fhandler_disk_file: Ditto.
191 (fhandler_dev_mem): Ditto.
192 * fhandler_mem.cc (fhandler_dev_mem::open): Set OBJ_INHERIT attribute
193 for device\physicalmemory handle.
194 (fhandler_dev_mem::mmap): Ditto.
195 * fhandler_mem.cc (fhandler_dev_mem::fixup_mmap_after_fork): New method.
196 * mmap.cc (mmap_record): Add private `fdesc_' member. Change constructor
197 accordingly.
198 (get_fd): New method.
199 (mmap): Use new mmap_record constructor.
200 (fhandler_base::fixup_mmap_after_fork): New method.
201 (fhandler_disk_file::fixup_mmap_after_fork): Ditto.
202 (fixup_mmaps_after_fork): Call `fixup_mmap_after_fork' of appropriate
203 fhandler class.
204
7416e1d2
CF
205Wed Jan 10 22:08:30 2001 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
206
207 * sigproc.cc (wait_sig): Allow SIGCONT when stopped.
208
55ae1dff
CV
209Tue Jan 9 16:55:00 2001 Corinna Vinschen <corinna@vinschen.de>
210
211