]>
Commit | Line | Data |
---|---|---|
acb56175 CV |
1 | 2002-02-23 Corinna Vinschen <corinna@vinschen.de> |
2 | ||
3 | * cygwin.din (fstat64): New symbol. | |
4 | (ftruncate64): Ditto. | |
5 | (lseek64): Ditto. | |
6 | (lstat64): Ditto. | |
7 | (mmap64): Ditto. | |
8 | (seekdir64): Ditto. | |
9 | (stat64): Ditto. | |
10 | (telldir64): Ditto. | |
11 | (truncate64): Ditto. | |
12 | * dir.cc (telldir64): New function. | |
13 | (telldir): Call telldir64(). | |
14 | (seekdir64): New function. | |
15 | (seekdir): Call seekdir64(). | |
16 | * fhandler.h: Redefine all methods using __off32_t to use __off64_t. | |
17 | * fhandler.cc: Use __off64_t and struct __stat64 throughout. | |
18 | * fhandler_clipboard.cc: Ditto. | |
19 | * fhandler_disk_file.cc: Ditto. | |
20 | * fhandler_dsp.cc: Ditto. | |
21 | * fhandler_floppy.cc: Ditto. | |
22 | * fhandler_mem.cc: Ditto. | |
23 | * fhandler_random.cc: Ditto. | |
24 | * fhandler_socket.cc: Ditto. | |
25 | * fhandler_tape.cc: Ditto. | |
26 | * fhandler_zero.cc: Ditto. | |
27 | * pipe.cc: Ditto. | |
28 | * glob.c: Ditto, call lstat64 and stat64 in Cygwin. | |
29 | * mmap.cc: Use __off64_t throughout. | |
30 | (mmap64): New function. | |
31 | * sec_acl.cc (acl_worker): Use struct __stat64, call stat64 and lstat64. | |
32 | * syscalls.cc (lseek64): New function. | |
33 | (stat64_to_stat32): Ditto. | |
34 | (fstat64): Ditto. | |
35 | (stat64): Ditto. | |
36 | (lstat64): Ditto. | |
37 | (ftruncate64): Ditto. | |
38 | (truncate64): Ditto. | |
39 | (_fstat): Call fstat64. | |
40 | (_stat): Call stat64. | |
41 | (cygwin_lstat): Rename to avoid declaration problem. Call lstat64. | |
42 | (stat_worker): Use struct __stat64. | |
43 | (access): Ditto. | |
44 | (ftruncate): Call ftruncate64. | |
45 | (truncate): Call truncate64. | |
46 | * wincap.cc: Set flag has_64bit_file_access appropriately. | |
47 | * wincap.h: Add flag has_64bit_file_access. | |
48 | * winsup.h (ILLEGAL_SEEK): Define as __off64_t. | |
49 | (stat_dev): Declare using struct __stat64. | |
50 | (stat_worker): Ditto. | |
51 | * include/cygwin/stat.h (struct __stat32): Define if compiling Cygwin. | |
52 | (struct __stat64): Ditto. | |
53 | (struct stat): Revert definition with explicitly sized datatypes. | |
54 | Eliminate sized field names. | |
55 | * include/cygwin/types.h (blksize_t): New type. | |
56 | (__blkcnt32_t): Ditto. | |
57 | (__blkcnt64_t): Ditto. | |
58 | (blkcnt_t): Ditto. | |
59 | ||
083abe54 CF |
60 | 2002-02-22 Christopher Faylor <cgf@redhat.com> |
61 | ||
62 | * sync.h (new_muto): Just accept an argument which denotes the name of | |
63 | the muto. Use this argument to construct static storage. | |
64 | * cygheap.cc (cygheap_init): Reflect above change. | |
65 | * exceptions.cc (events_init): Ditto. | |
66 | * malloc.cc (malloc_init): Ditto. | |
67 | * path.cc (cwdstuff::init): Ditto. | |
68 | * cygheap.h (cwdstuff): Change name of lock element to make it less | |
69 | generic. | |
70 | * path.cc (cwdstuff::get_hash): Ditto. | |
71 | (cwdstuff::get_initial): Ditto. | |
72 | (cwdstuff::set): Ditto. | |
73 | (cwdstuff::get): Ditto. | |
74 | * sigproc.cc (proc_subproc): Ditto. | |
75 | ||
76 | * debug.cc (lock_debug): Change to method. Use method rather than | |
77 | macro throughout. | |
78 | ||
79 | * tty.h (tty_min::kill_pgrp): Declare new method. | |
80 | * fhandler_termios.cc (tty_min::kill_pgrp): New method. | |
81 | (fhandler_termios::line_edit): Use new method for killing process. | |
82 | * dcrt0.cc (do_exit): Ditto. | |
83 | ||
84 | * dtable.cc (dtable::get_debugger_info): New method for inheriting | |
85 | dtable info from a debugger. | |
86 | * tty.cc (tty_init): Attempt to grab file handle info from parent | |
87 | debugger, if appropriate. | |
88 | ||
89 | # dtable.cc (dtable::stdio_init): Make this a method. | |
90 | (dtable::init_std_file_from_handle): Don't set fd unless it's not open. | |
91 | (dtable::build_fhandler_from_name): Move name setting to | |
92 | dtable::build_fhandler. | |
93 | (dtable::build_fhandler): Add win32 name parameter. | |
94 | * dcrt0.cc (dll_crt0_1): Change to use dtable stdio_init. | |
95 | * dtable.h (dtable): Reflect build_fhandler parameter change. | |
96 | * mmap.cc (mmap_record::alloc_fh): Don't set name parameter in | |
97 | build_fhandler. | |
98 | * net.cc (fdsock): Remove set_name call since it is now handled by | |
99 | build_fhandler. | |
100 | ||
101 | * sigproc.cc (proc_subproc): Release muto as early as possible. | |
102 | ||
a6790c5f CV |
103 | 2001-02-22 Corinna Vinschen <corinna@vinschen.de> |
104 | ||
105 | * smallprint.c (rn): Allow long long values. | |
106 | (__small_vsprintf): Add 'D', 'U' and 'X' formats for long long | |
107 | parameters. | |
108 | ||
aa6df8d7 CF |
109 | 2002-02-19 Christopher Faylor <cgf@redhat.com> |
110 | ||
111 | * fhandler.cc (fhandler_base::puts_readahead): Remove default parameter | |
112 | setting. Newer gcc's complain about this. | |
113 | (fhandler_base::set_readahead_valid): Ditto. | |
114 | * fhandler_dsp.cc (Audio::open): Ditto. | |
115 | (fhandler_dev_dsp::open): Ditto. | |
116 | ||
cecb74ae CF |
117 | 2002-02-19 Christopher Faylor <cgf@redhat.com> |
118 | ||
119 | * fork.cc (fork_parent): Use sec_user_nih to control process/thread | |
120 | inheritance/permission. | |
121 | * spawn.cc (spawn_guts): Ditto. | |
122 | * security.cc (create_token): Initialize token so that it is not tested | |
123 | for bogus value later. Use sec_user to control process/thread | |
124 | creation. | |
125 | * security.h (__sec_user): Rename declaration from sec_user. | |
126 | (sec_user_nih): Declare here as inline function wrapper for __sec_user. | |
127 | (sec_user): Ditto. | |
128 | * sigproc.cc (czombies): Allocate a character array for zombies to | |
129 | avoid constructor overhead | |
130 | (extremely hackish, I know). | |
131 | (cpchildren): Ditto. | |
132 | (pchildren): New define. | |
133 | (zombies): Ditto. | |
134 | (getsem): Use sec_user_nih to control semaphore inheritance/permission. | |
135 | ||
2bd22312 CF |
136 | 2002-02-16 Christopher Faylor <cgf@redhat.com> |
137 | ||
138 | * times.cc (hires::prime): Restore thread priority on failure | |
139 | condition. | |
140 | ||
141 | * uinfo.cc (uinfo_init): Use more robust method for determining if | |
142 | process was invoked from a non-cygwin process. | |
143 | ||
144 | * sync.h (muto::init): Eliminate "inheritance" parameter. | |
145 | (new_muto): Reflect removal of parameter. | |
146 | * sync.cc (muto::init): Ditto. | |
147 | * cygheap.cc (cygheap_init): Ditto. | |
148 | * debug.cc (threadname_init): Ditto. | |
149 | * exceptions.cc (events_init): Ditto. | |
150 | * malloc.cc (malloc_init): Ditto. | |
151 | * path.cc (cwdstuff::init): Ditto. | |
152 | * sigproc.cc (sigproc_init): Ditto. | |
153 | ||
4c761646 CF |
154 | * grp.cc (group_lock): Use different method for locking with static |
155 | member. | |
2bd22312 | 156 | (read_etc_group): REALLY ensure that read lock mutex is released. |
4c761646 CF |
157 | * passwd.cc (passwd_lock): Use different method for locking with static |
158 | member. | |
159 | (read_etc_passwd): REALLY ensure that read lock mutex is released. | |
2bd22312 CF |
160 | |
161 | * shared.cc (sec_user): Correct reversed inheritance test. | |
162 | ||
60b68f0d CF |
163 | 2002-02-15 Christopher Faylor <cgf@redhat.com> |
164 | ||
165 | * hires.h (hires::usecs): Rename from utime. Accept an argument. | |
166 | * strace.cc (strace::microseconds): Use hires class for calculating | |
167 | times. | |
168 | * sync.h (new_muto): Use NO_COPY explicitly in declaration. | |
169 | * times.cc (gettimeofday): Reflect change in usecs argument. | |
170 | (hires::usecs): Ditto. Changed name from utime. | |
171 | * winsup.h (NO_COPY): Add nocommon attribute to force setting aside | |
172 | space for variable. | |
173 | * regcomp.c (REQUIRE): Add a void cast to bypass a warning. | |
174 | ||
dce87b21 CF |
175 | 2002-02-15 Christopher Faylor <cgf@redhat.com> |
176 | ||
177 | * hires.h: New file. | |
178 | * times.cc (gettimeofday): Use hires class for calculating current time. | |
179 | (hires::prime): New method. | |
180 | (hires::utime): Ditto. | |
181 | ||
3d456520 CF |
182 | 2002-02-14 Christopher Faylor <cgf@redhat.com> |
183 | ||
184 | * include/sys/cygwin.h (cygwin_getinfo_types): New CW_STRACE_ACTIVE. | |
185 | * external.cc (cygwin_internal): Handle CW_STRACE_ACTIVE. | |
186 | ||
907dc7d0 CF |
187 | 2002-02-14 Christopher Faylor <cgf@redhat.com> |
188 | ||
189 | * exceptions.cc (unused_sig_wrapper): Eliminate unused parameter to | |
190 | asm. | |
191 | * external.cc (cygwin_internal): Change CW_STRACE_ON to | |
192 | CW_STRACE_TOGGLE. | |
193 | * strace.cc (strace::hello): Toggle strace on and off. | |
194 | * sync.cc (muto::init): Renamed from constructor. | |
195 | * sync.h (muto::new): Delete. | |
196 | (muto::delete): Ditto. | |
197 | (new_muto): Simplify. Use muto.init for nearly everything. | |
198 | * uinfo.cc (uinfo_init): Avoid closing a NULL handle. | |
199 | * include/sys/cygwin.h (cygwin_getinfo_types): Rename CW_STRACE_OFF to | |
200 | CW_STRACE_TOGGLE. Delete CW_STRACE_OFF. | |
201 | * include/sys/strace.h (strace): Add "inited" field. | |
202 | ||
4753a17b CV |
203 | 2001-02-12 Corinna Vinschen <corinna@vinschen.de> |
204 | ||
205 | * include/cygwin/acl.h: Fix definition of aclent_t. | |
206 | ||
909acaf6 CF |
207 | 2002-02-10 Christopher Faylor <cgf@redhat.com> |
208 | ||
209 | * Makefile.in (DLL_OFILES): Consolidate object files. | |
210 | ||
de4e0d30 CV |
211 | 2002-02-10 Corinna Vinschen <corinna@vinschen.de> |
212 | ||
b31c68c4 CV |
213 | * child_info.h, cygheap.h, fhandler_clipboard.cc, fhandler_dsp.cc, |
214 | fhandler_floppy.cc, fhandler_mem.cc, fhandler_random.cc, | |
215 | fhandler_tape.cc, fhandler_zero.cc, grp.cc, mmap.cc, passwd.cc, | |
216 | pinfo.cc, pinfo.h, pipe.cc, sec_acl.cc, sec_helper.cc, security.cc, | |
217 | security.h, thread.h, uinfo.cc, include/cygwin/acl.h: Fix copyright. | |
218 | ||
219 | 2002-02-10 Corinna Vinschen <corinna@vinschen.de> | |
220 | ||
221 | * child_info.h, cygheap.h, dcrt0.cc, dir.cc, fhandler.cc, fhandler.h, | |
de4e0d30 CV |
222 | fhandler_clipboard.cc, fhandler_disk_file.cc, fhandler_dsp.cc, |
223 | fhandler_floppy.cc, fhandler_mem.cc, fhandler_random.cc, | |
224 | fhandler_tape.cc, fhandler_zero.cc, grp.cc, mmap.cc, passwd.cc, | |
225 | pinfo.cc, pinfo.h, pipe.cc, sec_acl.cc, sec_helper.cc, security.cc, | |
b31c68c4 | 226 | security.h, spawn.cc, syscalls.cc, thread.h, uinfo.cc, winsup.h: |
de4e0d30 CV |
227 | Change usage of uid_t to __uid16_t, gid_t to __gid16_t and |
228 | off_t to __off32_t throughout. Use INVALID_UID, INVALID_GID and | |
229 | INVALID_SEEK instead casting -1 to the appropriate type. | |
230 | * winsup.h: Define INVALID_UID, INVALID_GID and INVALID_SEEK. | |
231 | * include/cygwin/acl.h: Define internal __aclent16_t and __aclent32_t | |
232 | types. Don't declare acl functions when compiling Cygwin. | |
233 | * include/cygwin/grp.h: Declare getgrgid() and getgrnam() with | |
234 | correct types for internal usage. | |
235 | ||
39b553b8 CV |
236 | 2002-02-10 Corinna Vinschen <corinna@vinschen.de> |
237 | ||
238 | Patch suggested by Pierre A. Humblet <Pierre.Humblet@ieee.org>: | |
239 | * uinfo.cc (internal_getlogin): Try evaluating user by SID even if | |
240 | ntsec is off. | |
241 | (uinfo_init): Set primary group even if ntsec is off. | |
242 | ||
52296b85 CV |
243 | 2002-02-09 Corinna Vinschen <corinna@vinschen.de> |
244 | ||
245 | * include/cygwin/grp.h: New file. | |
246 | * include/cygwin/stat.h: Ditto. | |
247 | * include/cygwin/types.h: Add definitions for __off32_t, | |
248 | __off64_t, off_t, __uid16_t, __uid32_t, uid_t, __gid16_t, | |
249 | __gid32_t and gid_t. | |
250 | * include/sys/cygwin.h: Use correct uid and gid types. | |
251 | ||
ff86860b CV |
252 | 2002-02-09 Corinna Vinschen <corinna@vinschen.de> |
253 | ||
254 | * dtable.cc (dtable::dup2): Revert previous patch. | |
255 | * fhandler.h: Ditto. | |
256 | (fhandler_socket::recv): Define new method. | |
257 | (fhandler_socket::send): Ditto. | |
258 | * fhandler_socket.cc (fhandler_socket::recv): New method. | |
259 | (fhandler_socket::send): Ditto. | |
260 | (fhandler_socket::read): Call fhandler_socket::recv() now. | |
261 | (fhandler_socket::write): Call fhandler_socket::send() now. | |
262 | * net.cc (class wsock_event): Move definition to wsock_event.h. | |
263 | (fdsock): Revert previous patch. | |
264 | (cygwin_recv): Move implementation to fhandler_socket::recv(). | |
265 | (cygwin_send): Move implementation to fhandler_socket::send(). | |
266 | * wsock_event.h: New file. | |
267 | ||
d0672acc CV |
268 | 2002-02-06 Alexander Gottwald <Alexander.Gottwald@s1999.tuchemnitz.de> |
269 | ||
270 | * net.cc (get_2k_ifconf): Create interface entries for tokenring cards. | |
271 | ||
fae28904 CV |
272 | 2002-02-08 Corinna Vinschen <corinna@vinschen.de> |
273 | ||
274 | * dtable.cc (dtable::dup2): Store fd for fhandler_socket. | |
275 | * fhandler.h (fhandler_base::set_fd): New virtual method. | |
276 | (fhandler_base::get_fd): Ditto. | |
277 | (fhandler_socket::set_fd): Ditto. | |
278 | (fhandler_socket::get_fd): Ditto. | |
279 | * fhandler_socket.cc (fhandler_socket::read): Call cygwin_recv instead | |
280 | of native Winsock recv. | |
281 | (fhandler_socket::write): Call cygwin_send instead of native Winsock | |
282 | send. | |
283 | * net.cc (fdsock): Store fd in fhandler_socket. | |
284 | ||
1f64102f CV |
285 | 2002-02-07 Corinna Vinschen <corinna@vinschen.de> |
286 | ||
287 | * net.cc (cygwin_getsockname): Fix handling of NULL sun_path. | |
288 | ||
562d9745 CV |
289 | 2002-01-29 Corinna Vinschen <corinna@vinschen.de> |
290 | ||
291 | * net.cc (getdomainname): Fix registry key for 9x systems, too. | |
292 | ||
94ee02fa CV |
293 | 2002-01-29 Corinna Vinschen <corinna@vinschen.de> |
294 | ||
295 | * net.cc (getdomainname): Fix registry key for NT systems. | |
296 | ||
494a66d9 CF |
297 | 2002-01-28 Christopher Faylor <cgf@redhat.com> |
298 | ||
299 | * external.cc (cygwin_internal): Initialize various internal settings | |
300 | if required to allow use of some things from user loaded DLL. | |
301 | (CW_STRACE_ON): Add new feature. | |
302 | (CW_CYGWIN_PID_TO_WINPID): Ditto. | |
303 | * pinfo.cc (set_myself): Call "strace.hello" to initiate possible | |
304 | strace session. | |
305 | (pinfo::init): Guard against dereferencing uninitialized myself. | |
306 | * sigproc.cc (wait_sig): Call strace.hello() when __SIGTRACE "signal" | |
307 | received. | |
308 | * strace.cc (strace::hello): New method. | |
309 | * wincap.cc (wincapc::init): Avoid initializing if already initialized. | |
310 | * wincap.h (wincapc::wincapc): New method. | |
311 | * include/sys/cygwin.h: Add new CW_ enums. Kludge typedefs of | |
312 | {g,u}id_t if required. | |
313 | * strace.h (strace::hello): Declare new method. | |
314 | ||
6616e6cf CF |
315 | 2002-01-28 Earnie Boyd <earnie@users.sf.net> |
316 | ||
317 | * include/sys/strace.h (_STRACE_ON): Define. | |
318 | (_STRACE_OFF): Ditto. | |
319 | ||
dfb4c347 CF |
320 | 2002-01-24 Christopher Faylor <cgf@redhat.com> |
321 | ||
322 | * speclib: Ensure that temporary def file is removed. | |
323 | ||
3c07fbeb CF |
324 | 2002-01-23 Christopher Faylor <cgf@redhat.com> |
325 | ||
326 | * speclib: Use rm -f to remove temp file just to quiet any potential | |
327 | warnings. | |
328 | ||
f6fc31e1 CV |
329 | 2002-01-23 Corinna Vinschen <corinna@vinschen.de> |
330 | ||
331 | * security.cc (create_token): Use sec_user() to create | |
be6d8567 CV |
332 | SECURITY_ATTRIBUTES structure for primary token. Use |
333 | MAXIMUM_ALLOWED access rights instead of TOKEN_ALL_ACCESS. | |
f6fc31e1 | 334 | |
adbd01af CV |
335 | 2002-01-23 Corinna Vinschen <corinna@vinschen.de> |
336 | ||
337 | * path.cc (symlink): Fix check for already existing file. | |
338 | ||
aed69a5b CF |
339 | 2002-01-21 Christopher Faylor <cgf@redhat.com> |
340 | ||
341 | * cygmagic: Suppress error output when figuring out if sum takes an | |
342 | option. | |
343 | ||
f3647dd7 CF |
344 | 2002-01-21 Christopher Faylor <cgf@redhat.com> |
345 | ||
346 | * cygmagic: Attempt to figure out if sum takes an option. | |
347 | ||
51076b73 CF |
348 | 2002-01-21 DJ Delorie <dj@redhat.com> |
349 | ||
350 | * Makefile.in (libpthread.a): Pass the assembler also. | |
351 | (libm.a): Ditto. | |
352 | (libc.a): Ditto. | |
353 | * speclib: Specify the assembler to dlltool. | |
354 | ||
0ac2abea CF |
355 | 2002-01-21 Christopher Faylor <cgf@redhat.com> |
356 | ||
357 | * include/cygwin/version.h: Bump DLL minor number. | |
358 | ||
ac11ec88 CV |
359 | 2002-01-21 Corinna Vinschen <corinna@vinschen.de> |
360 | ||
28982aa8 | 361 | * grp.cc (getgrgid): Don't return default gid entry when ntsec is on. |
ac11ec88 CV |
362 | * syscalls.cc (setegid): Don't set primary group in process token. |
363 | ||
8ef47135 CF |
364 | 2002-01-21 Christopher Faylor <cgf@redhat.com> |
365 | ||
366 | * speclib: Don't use /dev/null as DLL name. Just default to what's | |
367 | already in .def file. | |
368 | ||
369 | 2002-01-21 Christopher Faylor <cgf@redhat.com> | |
370 | ||
371 | * exceptions.cc (sig_handle): Remove last vestiges of SA_NOCLDSTOP code | |
372 | which caused SIGCHLD to be ignored. | |
373 | ||
07cc1f1f CF |
374 | 2002-01-20 Christopher Faylor <cgf@redhat.com> |
375 | ||
376 | * include/cygwin/version.h: Bump DLL minor number. | |
377 | ||
385437d4 CF |
378 | 2002-01-20 Christopher Faylor <cgf@redhat.com> |
379 | ||
380 | * syscalls.cc (regfree): Make dll_export. | |
381 | ||
d7c16d8d CF |
382 | 2002-01-20 Christopher Faylor <cgf@redhat.com> |
383 | ||
384 | * exceptions.cc (ctrl_c_handler): Convert windows pid to cygwin pid | |
385 | when detecting if we should actually handle CTRL-C. | |
386 | ||
216109a8 CF |
387 | 2002-01-19 Christopher Faylor <cgf@redhat.com> |
388 | ||
389 | * Makefile.in (new-cygwin1.dll): Revert previous change. libsupc++.a | |
390 | is only available in libstdc++-v3. | |
391 | ||
9e73b339 CF |
392 | 2002-01-19 Christopher Faylor <cgf@redhat.com> |
393 | ||
394 | * exceptions.cc (sig_handle_tty_stop): Don't send SIGCHLD if parent | |
395 | doesn't want it. | |
396 | (sig_handle): Don't check for SA_NOCLDSTOP here. We don't have enough | |
397 | information. | |
398 | ||
5946622e CF |
399 | 2002-01-19 Christopher Faylor <cgf@redhat.com> |
400 | ||
401 | * include/cygwin/version.h: Bump DLL minor number. | |
402 | ||
994fe87b CF |
403 | 2002-01-19 Christopher Faylor <cgf@redhat.com> |
404 | ||
405 | * Makefile.in (new-cygwin1.dll): Just use -lsupc++ for link. | |
406 | * sigproc.cc (proc_exists): Change existence criteria. | |
407 | * sync.h (new_muto): Add volatile to definition to avoid gcc | |
408 | optimization problems. | |
409 | ||
df3af773 CV |
410 | 2002-01-19 Corinna Vinschen <corinna@vinschen.de> |
411 | ||
412 | * include/cygwin/version.h: Bump API minor version to 51. | |
413 | ||
7d6be0d6 CV |
414 | 2002-01-19 Mark Bradshaw <bradshaw@staff.crosswalk.com> |
415 | ||
416 | * cygwin.din: Add recvmsg and sendmsg. | |
417 | * net.cc: Add cygwin_recvmsg and cygwin_sendmsg. | |
418 | * /usr/include/sys/socket.h: Add recvmsg and sendmsg. | |
419 | ||
2d3dab2e CV |
420 | 2002-01-19 Corinna Vinschen <corinna@vinschen.de> |
421 | ||
422 | * security.cc (create_token): Close processes token handle as soon | |
423 | as it's not used anymore. | |
424 | ||
104c3be6 CV |
425 | 2002-01-17 Corinna Vinschen <corinna@vinschen.de> |
426 | ||
427 | * Makefile.in: Add fnmatch.o to DLL_OFILES. | |
428 | * cygwin.din: Add fnmatch export symbol. | |
429 | * fnmatch.c: New file. | |
430 | * include/fnmatch.h: Ditto. | |
431 | * include/cygwin/version.h: Bump API minor version to 50. | |
432 | ||
9a7e1562 CV |
433 | 2002-01-15 Corinna Vinschen <corinna@vinschen.de> |
434 | ||
435 | * path.cc (fchdir): Call chdir with full windows path. | |
436 | ||
7eddac1b CV |
437 | 2002-01-14 Corinna Vinschen <corinna@vinschen.de> |
438 | ||
439 | * dir.cc: Use INVALID_FILE_ATTRIBUTES instead of "(DWORD) -1" | |
440 | for file attributes throughout. | |
441 | * fhandler.cc: Ditto. | |
442 | * fhandler_disk_file.cc: Ditto. | |
443 | * path.cc: Ditto. | |
444 | * path.h: Ditto. | |
445 | * syscalls.cc: Ditto. | |
446 | * times.cc (utimes): Use path_conv::isdir() instead of explicit | |
447 | GetFileAttributes() call. | |
448 | ||
5daa0835 CF |
449 | 2002-01-13 Christopher Faylor <cgf@redhat.com> |
450 | ||
451 | * dcrt0.cc (multiple_cygwin_problem): Clarify logic and make | |
452 | CYGWIN_MISMATCH_OK more powerful. | |
453 | ||
06486d9e CF |
454 | 2002-01-10 Christopher Faylor <cgf@redhat.com> |
455 | ||
456 | * exceptions.cc (sig_handle): Accept a second argument indicating | |
457 | whether the signal came from this process or not. | |
458 | * sigproc.h: Reflect sig_handle arg change. | |
459 | * signal.cc (kill_pgrp): Add sigframe info. | |
460 | (abort): New function. Eliminates newlib function of same name. | |
461 | * sigproc.cc (wait_sig): Pass "signal from this process" value as arg | |
462 | 2. | |
463 | ||
bb5225c2 CV |
464 | 2002-01-10 Corinna Vinschen <corinna@vinschen.de> |
465 | ||
466 | * syscalls.cc (pathconf): Guard _PC_PATH_MAX branch against invalid | |
467 | file parameter. | |
468 | ||
c0a8e8d0 CF |
469 | 2002-01-09 Christopher Faylor <cgf@redhat.com> |
470 | Robert Collins <rbtcollins@hotmail.com> | |
471 | ||
472 | * exceptions.cc (early_stuff_init): Rename from misnamed | |
473 | set_console_handler. | |
474 | (ctrl_c_handler): Attempt to work around potential signal duplication | |
475 | during process startup. | |
476 | (sig_handle): Ignore SIGINT when we're just an "exec stub". | |
477 | * spawn.cc (spawn_guts): Store pid of spawned process in global for use | |
478 | by ctrl_c_handler. | |
479 | * dcrt0.cc (dll_crt0_1): Call renamed initialization function. | |
480 | * winsup.h: Reflect function name change. | |
481 | ||
fe37dd79 CV |
482 | 2002-01-08 Corinna Vinschen <corinna@vinschen.de> |
483 | ||
484 | * net.cc (cygwin_accept): Set sun_path for newly connected socket. | |
485 | ||
cbf7a9eb CF |
486 | 2002-01-07 Ralf Habacker <Ralf.Habacker@freenet.de> |
487 | ||
488 | * Makefile.in: Add uninstall target. | |
489 | ||
a2e12d0c CF |
490 | 2002-01-07 Christopher Faylor <cgf@redhat.com> |
491 | ||
492 | * sigproc.cc (getsem): Clean up debugging output. | |
493 | ||
4a08cbfe CF |
494 | 2002-01-07 Christopher Faylor <cgf@redhat.com> |
495 | ||
496 | * sigproc.cc (getsem): Set errno when unable to create own semaphore. | |
497 | Reorganize to make clearer that error should only come from initial | |
498 | creation of process semaphore. | |
499 | ||
10dedaaa CF |
500 | 2002-01-06 Christopher Faylor <cgf@redhat.com> |
501 | ||
502 | * dtable.cc (dtable::init_std_file_from_handle): Add some defensive | |
503 | code to invalid handle case. | |
504 | ||
d6154fb7 CV |
505 | 2002-01-06 Corinna Vinschen <corinna@vinschen.de> |
506 | ||
507 | * ioctl.cc (ioctl): Make third argument optional. | |
508 | * include/sys/ioctl.h: Ditto in declaration. | |
509 | * dtable.cc (dtable::init_std_file_from_handle): Revert previous | |
510 | bogus patch. | |
511 | * window.cc (WndProc): Raise SIGURG instead of SIGIO in case of FD_OOB | |
512 | message. | |
513 | ||
9125cbd7 | 514 | 2002-01-05 Christopher Faylor <cgf@redhat.com> |
fcb76c5d | 515 | |
9125cbd7 CF |
516 | * dir.cc (opendir): Guarantee release of alloced fhandler structure on |
517 | error. | |
fcb76c5d | 518 | |
9125cbd7 CF |
519 | 2002-01-05 Corinna Vinschen <corinna@vinschen.de> |
520 | ||
521 | * exceptions.cc (sig_handle): Set default action for SIGURG to SIG_IGN. | |
522 | ||
523 | 2002-01-05 Corinna Vinschen <corinna@vinschen.de> | |
2edba236 CV |
524 | |
525 | * dtable.cc (dtable::init_std_file_from_handle): Don't treat NULL | |
526 | handle as errorneous. | |
527 | ||
acf05df7 CF |
528 | 2002-01-04 Christopher Faylor <cgf@redhat.com> |
529 | ||
530 | * cygmagic: Change logic for equality test. | |
531 | ||
7acba971 CF |
532 | 2002-01-04 Christopher Faylor <cgf@redhat.com> |
533 | ||
534 | * dir.cc (opendir): Don't attempt to call sub-opendir if ENOENT. | |
535 | ||
9125cbd7 | 536 | 2002-01-04 Corinna Vinschen <corinna@vinschen.de> |
dc63cea5 CV |
537 | |
538 | * net.cc: Replace usage of AF_UNIX by Posix compliant AF_LOCAL | |
539 | throughout. | |
540 | (socketpair): Explicitly allow SOCK_STREAM and SOCK_DGRAM socket types | |
541 | in families AF_UNIX and AF_LOCAL. Explicitly allow PF_UNSPEC, PF_LOCAL | |
542 | and PF_INET protocols. Return error otherwise. Implement datagram | |
543 | socketpairs. | |
544 | ||
3b789217 CF |
545 | 2002-01-01 Christopher Faylor <cgf@redhat.com> |
546 | ||
547 | * speclib: Remove temp files automatically. | |
548 | ||
2fe27909 CV |
549 | 2002-01-01 Corinna Vinschen <corinna@vinschen.de> |
550 | ||
551 | * fhandler.h (fhandler_socket::sun_path): New private member. | |
552 | (fhandler_socket::set_sun_path): New method. | |
553 | (fhandler_socket::get_sun_path): Ditto. | |
554 | * fhandler_socket.cc (fhandler_socket::fhandler_socket): Initialize | |
555 | sun_path to NULL. | |
556 | (fhandler_socket::~fhandler_socket): Free sun_path if needed. | |
557 | (fhandler_socket::set_sun_path): New method. | |
558 | * net.cc (cygwin_bind): Set sun_path to path of local socket file. | |
559 | (cygwin_getsockname): Add code to return correct sockaddr for unix | |
560 | domain sockets. |