]> sourceware.org Git - newlib-cygwin.git/blame - winsup/cygwin/ChangeLog
* include/winnt.h (THREAD_*, EVENT_*, MUTANT_*,
[newlib-cygwin.git] / winsup / cygwin / ChangeLog
CommitLineData
fee93846
CF
1Wed May 1 16:06:02 2002 Jason Tishler <jason@tishler.net>
2
3 * include/cygwin/types.h: Include <sys/sysmacros.h>.
4
9b15f5fa
CV
5Wed Apr 17 11:27:04 2002 Jason Tishler <jason@tishler.net>
6
7 * security.cc (get_lsa_srv_inf): Prevent extraneous backslashes for
8 the NT Domain case.
9
4deace13
CV
102002-04-12 Corinna Vinschen <corinna@vinschen.de>
11
12 * net.cc (cygwin_accept): Set socket type for accepted socket.
13 (socketpair): Set socket type for both sockets.
14
152002-04-12 Egor Duda <deo@logos-m.ru>
16
17 * fhandler.h (class fhandler_socket): New member to store socket type.
18 (fhandler_socket::get_socket_type): Access it.
19 (fhandler_socket::set_socket_type): Ditto.
20 * net.cc (cygwin_socket): Store socket type.
21 (cygwin_connect): Disable security checks for connectionless sockets.
22 (cygwin_accept): Ditto.
23
dbe67a81
CF
242002-04-09 Mark Bradshaw <bradshaw@staff.crosswalk.com>
25
26 * cygwin.din: Add strptime.
27 * include/cygwin/version.h: Increment API version number.
28
464b3e80
CV
292002-04-09 Corinna Vinschen <corinna@vinschen.de>
30
31 * fork.cc (fork_child): Call fixup_mmaps_after_fork() somewhat earlier.
32
d78bda7b
CV
332002-04-09 Corinna Vinschen <corinna@vinschen.de>
34
35 * fhandler.cc (fhandler_base::open): Set read-only bit in
36 file_attributes when adequate.
37
8996623b
CF
382002-03-28 Christopher Faylor <cgf@redhat.com>
39
40 * times.cc (gettimeofday): Fix typo in previous patch.
41
7d7524e5
CF
422002-03-27 Wu Yongwei <adah@netstd.com>
43
44 * times.cc (gettimeofday): Revert to setting timezone info if tz !=
45 NULL.
46
2f3126f6
CF
472002-03-21 Christopher Faylor <cgf@redhat.com>
48
49 * fhandler_disk_file.cc (fhandler_disk_file::fstat_helper): Always set
50 st_[ug]id to value derived from get_file_attributes.
51
45d2ea8a
CF
522002-03-21 Christopher Faylor <cgf@redhat.com>
53
54 * spawn.cc (find_exec): Return input if file not found.
55
99dbafac
CV
562002-03-19 Boris Schaeling <boriss@web.de>
57
58 * poll.cc (poll): Add support for invalid descriptors.
59
b0359971
RC
602002-03-15 Robert Collins <rbtcollins@hotmail.com>
61
62 * fhandler.h (fhandler_termios::lseek): Override lseek.
63 * fhandler_termios.cc (fhandler_termios::lseek): Implement this.
64
59a2339f
CF
652002-03-15 Christopher Faylor <cgf@redhat.com>
66
67 * cygserver.cc: Include stdlib.h for exit declaration.
68 * threaded_queue.cc: Ditto.
69
ca175377
CF
702002-03-15 Christopher Faylor <cgf@redhat.com>
71
72 * pinfo.cc (pinfo::init): Use PID_ALLPIDS flag to control when a
73 redirected block should be marked as nonexistent.
74 (winpids::add): Use PID_ALLPIDS when looking for all pids.
75 * cygwin.h (PID_ALLPIDS): New enum element.
76
d78bda7b 772002-03-15 Corinna Vinschen <corinna@vinschen.de>
2f263187
CV
78
79 * glob.c (stat32_to_STAT): New function.
80 (g_lstat): Call user space functions always with 32 bit struct stat
81 as a workaround.
82 (g_stat): Ditto.
83 * include/glob.h (struct glob): Don't prototype function pointers
84 when compiling Cygwin.
85
4af6d4a9
CF
862002-03-14 Christopher Faylor <cgf@redhat.com>
87
88 * pinfo.cc (pinfo::init): Properly handle execed process stub when
89 PID_NOREDIR is specified.
90
6ea9c716
CV
912002-03-13 Boris Schaeling <boriss@web.de>
92
e10c087b
CF
93 * poll.cc (poll): Remove variable open_fds. Rearrange and add code to
94 fix settings of revents.
6ea9c716 95
d78bda7b 962002-03-13 Corinna Vinschen <corinna@vinschen.de>
bbe09139
CV
97
98 * mmap.cc (mmap_record::map_map): Return -1 if VirtualProtect fails.
99 (list::erase): New method with no argument. Erase latest record
100 added.
101 (mmap64): Fail if map_map() fails.
102
d78bda7b 1032002-03-12 Corinna Vinschen <corinna@vinschen.de>
cb4589f4
CV
104
105 * sysconf.cc (sysconf): Fix condition.
106
d78bda7b 1072002-03-11 Corinna Vinschen <corinna@vinschen.de>
2817e0dc
CV
108
109 * mmap.cc (msync): Check area given by addr and len for being a
110 contigeous mmap'd region.
111
d78bda7b 1122002-03-11 Corinna Vinschen <corinna@vinschen.de>
713fb38b
CV
113
114 * fork.cc (fork_child): Call fixup_mmaps_after_fork() before
115 closing parent process handle. Call fixup_mmaps_after_fork()
116 with parent process handle as parameter.
117 * mmap.cc (mmap_record::access): New method.
118 (fixup_mmaps_after_fork): Take process handle as parameter.
119 In case of FILE_MAP_COPY access, copy valid memory regions to child.
120 * pinfo.h (fixup_mmaps_after_fork): Change prototype accordingly.
121
d78bda7b 1222002-03-07 Corinna Vinschen <corinna@vinschen.de>
c8c3824d
CV
123
124 * autoload.cc (NetGetDCName): Add symbol.
125 (NetServerEnum): Remove symbol.
126 * security.cc (get_lsa_srv_inf): Call NetGetDCName() instead of
127 NetServerEnum() since it's faster. Don't call it at all if machine
128 is not a domain member.
129
9420d2b8
CF
1302002-03-06 Christopher Faylor <cgf@redhat.com>
131
132 * path.cc (normalize_posix_path): Avoid runs of '.'s > 2.
133
07a21bce
CF
1342002-03-05 Christopher Faylor <cgf@redhat.com>
135
136 * errno.cc: Change EPERM associated text to "Operation not permitted"
137 throughout.
138
eeac69d8
CF
1392002-03-05 Christopher Faylor <cgf@redhat.com>
140
141 * fhandler_socket.cc (fhandler_socket::close): Respond to signals while
142 looping, waiting for socket to close. Superstitiously clear last error
143 when WSAEWOULDBLOCK.
144
241a7c5a
RC
1452002-03-05 Robert Collins <rbtcollins@hotmail.com>
146
147 * cygserver_transport_pipes.cc (transport_layer_pipes::transport_layer_pipes):
148 Always init - until static members work correctly.
149 * shm.cc (shmget): Initialize the security descriptor - thanks Corinna!
150 * include/sys/ipc.h: Make the ipc control constants partitioned off from the sem
151 control constants.
152
ad2864f4
CV
1532002-03-04 Christian Lestrade <christian.lestrade@free.fr>
154
155 * include/sys/termios.h: Define _POSIX_VDISABLE. Define CCEQ macro.
156 * fhandler_termios.cc: Include <sys/termios.h>.
157 (line_edit): Recognize disabled c_cc[] chars. Ignore VDISCARD when
158 not in ICANON mode.
159
59149930
CV
1602002-03-04 Dmitry Timoshkov <dmitry@baikal.ru>
161
162 * syscalls.cc (truncate64): Use ftruncate64 directly to not lose
163 upper 32 bits.
164
7c3617cc
RC
1652002-03-04 Robert Collins <rbtcollins@hotmail.com>
166
167 * cygserver_shm.cc (delete_shmnode): New function.
168 (client_request_shm::serve): Use it.
169
038c71f1
RC
1702002-03-04 Robert Collins <rbtcollins@hotmail.com>
171
172 * cygserver_shm.cc (client_request_shm::serve): Implement SHM_DETACH.
173 * shm.cc (shmdt): Implement.
174
67be0adb
RC
1752002-03-04 Robert Collins <rbtcollins@hotmail.com>
176
177 * cygserver_shm.cc: Run indent.
178 (deleted_head): New global for storing shm id's pending deletion.
179 (client_request_shm::serve): Return ENOSYS for invalid request types.
180 Implement SHM_DEL - delete a shm id.
181 * cygserver_shm.h (SHM_DEL): New type value.
182 * shm.cc (delete_inprocess_shmds): New function, does what it's name implies.
183 (shmctl): Implement shm_rmid control type.
184
74c3173a
RC
1852002-03-04 Robert Collins <rbtcollins@hotmail.com>
186
187 * Makefile.in (install): Remove install-bin to allow make install to work.
188
009314a4
RC
1892002-03-03 Robert Collins <rbtcollins@hotmail.com>
190
191 * shm.cc (shmat): Prevent a compile error.
192 (shmdt): Set errno as this function is incomplete.
193
e7729287
CF
1942002-02-28 Christopher Faylor <cgf@redhat.com>
195
196 * times.cc: Remove if 0'd code. Clean up slightly.
197
f449bfef
RC
1982002-02-28 Robert Collins <rbtcollins@hotmail.com>
199
200 * Merged cygwin_daemon into head minus the new shm and ipc exports.
201
2022002-02-28 Robert Collins <rbtcollins@hotmail.com>
203
204 * fhandler_tty.cc (fhandler_tty_slave::open): More debugging.
205 (fhandler_tty_slave::read): Fix printf type for the handle.
206 * tty.cc (tty::common_init): Add a FIXME for security.
207
2082002-01-29 Robert Collins <rbtcollins@hotmail.com>
209
210 * Makefile.in (OBJS): Remove duplicate localtime.o.
211
2122002-01-17 Robert Collins <rbtcollins@hotmail.com>
213
214 * cygserver.cc (check_and_dup_handle): Consolidate the two variants for
215 simplicity.
216 Add Some basic debug output.
217 (client_request_attach_tty::serve): Use the new debug_printf for clarity.
218 Mark the duplicated handles as inheritable - fixup_after_fork() doesn't reopen
219 tty's.
220
2212002-01-16 Robert Collins <rbtcollins@hotmail.com>
222
223 * cygserver.cc (transport): Correct scope.
224 (client_request_attach_tty::serve): Add more debug information.
225 Fix erroneous use of transport instead of conn.
226 * cygserver_transport_pipes.cc (transport_layer_pipes::close): More debug.
227 (transport_layer_pipes::read): Ditto.
228 (transport_layer_pipes::write): Ditto.
229 (transport_layer_pipes::impersonate_client): Ditto.
230
231Mon Oct 8 7:41:00 2001 Robert Collins <rbtcollins@hotmail.com>
232
233 * cygserver.cc (server_request::process): Rename client_request_shm_get to
234 client_request_shm.
235 * cygserver_process.cc (process_cache::add): Rename to add_task.
236 Use process_cleanup instead of process_request.
237 (process_cache::remove_process): New method.
238 (process::process): Initialize new members.
239 (process::~process): New member.
240 (process::cleanup): New method.
241 (process::add_cleanup_routine): New method.
242 (process_request::process): Rename to process_cleanup.
243 Call the process object's cleanup method and then delete it.
244 (process_process_param::request_loop): Remove the signalling process.
245 * cygserver_shm.cc: Globally rename client_request_shm_get to client_request_shm.
246 (client_request_shm_get::serve): Handle attach request counting.
247 * cygserver_shm.h: Globally rename client_request_shm_get to client_request_shm.
248 (class shm_cleanup): New class.
249 * shm.cc: Globally rename client_request_shm_get to client_request_shm.
250 (client_request_shm::client_request_shm): New constructor for attach requests.
251 (shmat): Use it.
252 * include/cygwin/cygserver_process.h (class process_request): Rename to
253 process_cleanup.
254 (class cleanup_routine): New class.
255 (class process): New members and methods to allow calling back when the process
256 terminates.
257
258Thu Oct 4 14:12:00 2001 Robert Collins <rbtcollins@hotmail.com>
259 * cygserver.cc (request_loop): Make static.
260 (main): Use new cache constructor syntax.
261 Start cache worker threads.
262 Cleanup the cache at shutdown.
263 * cygserver_process.cc: Run indent.
264 (process_cache::process_cache): Add a trigger to use when adding a process.
265 (process_cache::process): Move process_entry to process.
266 Insert at the end of the list.
267 Trigger the request loop when new process's inserted.
268 (process_cache::process_requests): Do it.
269 (process_cache::add): New method.
270 (process_cache::handle_snapshot): New method.
271 (process::process): Merge in the process_entry fields.
272 (process::handle): Make a stub function.
273 (process::exit_code): New method.
274 (process_request::process): New method.
275 (process_process_param::request_loop): New method.
276 * cygserver_shm.cc: New header dependency - threaded_queue.h.
277 * threaded_queue.cc (threaded_queue::cleanup): Clearer messages.
278 (queue_process_param::stop): Short spinlock on interruptible threads.
279 * threaded_queue.h (class threaded_queue): New constructor.
280 * include/cygwin/cygserver_process.h (process_request): New class.
281 (process_entry): Remove.
282 (process): Merge in process_entry.
283 (process_cache): Inherit from threaded_queue.
284
285Tue Oct 2 23:24:00 2001 Robert Collins <rbtcollins@hotmail.com>
286
287 * cygserver.cc (class server_process_param): Use new constructor syntax.
288 * cygserver_process.cc (process_cache::~process_cache): New function.
289 * threaded_queue.cc: Define condition debug_printf.
290 Run indent.
291 (threaded_queue::cleanup): Move queue_process_param guts to a method.
292 (threaded_queue::process_requests): Ditto.
293 (queue_process_param::queue_process_param): New method.
294 (queue_process_param::~queue_process_param): Ditto.
295 (queue_process_param::start): Ditto.
296 (queue_process_param::stop): Ditto.
297 * threaded_queue.h (class queue_process_param): Add support for
298 interruptible request loops.
299 * cygwin/include/cygwin/cygserver_process.h (class process_cache): Add
300 destructor.
301
302Tue Oct 2 23:24:00 2001 Robert Collins <rbtcollins@hotmail.com>
303
304 * cygserver_client.cc: New flag allow_daemon to disable the daemon completely.
305 (cygserver_request): Check it.
306 (cygserver_init): Ditto.
307 * environ.cc (parse_thing): Add (no)daemon option.
308
309Tue Oct 2 23:00:00 2001 Robert Collins <rbtcollins@hotmail.com>
310
311 * shm.cc: Update to handle include changes from HEAD.
312
313Tue Oct 2 16:06:00 2001 Robert Collins <rbtcollins@hotmail.com>
314
315 * Makefile.in: Remove cygserver_shm.o from cygwin1.dll.
316 Rename cygserver_shm_outside.o to cygserver_shm.o.
317 * cygserver.cc (server_request::process): Use the new client_request
318 constructor.
319 * cygserver_client.cc: Remove the #ifdef's stubs for the server method
320 within cygwin.
321 (client_request_attach_tty::client_request_attach_tty): Use the new
322 client_request constructor.
323 (client_request_shutdown::client_request_shutdown): Ditto.
324 (client_request::client_request): Ditto.
325 * cygserver_shm.cc (client_request_shm_get::serve): Remove the
326 #ifdef'd stub for in-cygwin builds.
327 (client_request_shm_get::client_request_shm_get): Use the new
328 client_request constructor, and remove the in-cygwin variants.
329 * cygserver_shm.h (class client_request_shm_get): #ifndef test the
330 serve method - it's only used in cygserver.
331 * shm.cc (client_request_shm_get::client_request_shm_get): New function.
332 * include/cygwin/cygserver.h (request_header): New constructor.
333 (class client_request): Use it.
334 New constructor accepting the header size.
335 #ifndef test the server method - it's only used within cygserver.
336 (client_request_get_version): #ifdef test the server method.
337 (client_request_shutdown): Ditto.
338 (client_request_attach_tty): Ditto.
339
340Tue Oct 2 9:57:00 2001 Robert Collins <rbtcollins@hotmail.com>
341
342 * Makefile.in: add threaded_queue.o to cygserver.exe.
343 * cygserver.cc: Include threaded_queue.h
344 (class server_request): Inherit from queue_request.
345 (class server_process_param): Inherit from queue_process_param.
346 (class server_request_queue): Inherit from threaded_queue.
347 (request_loop): Adjust for new types.
348 (server_request_queue::process_requests): Remove guts to
349 threaded_queue::process_requests.
350 (server_request::server_request): Adjust for new types.
351 (worker_function): Delete.
352 (server_request_queue::create_workers): Delete.
353 (server_request_queue::cleanup): Delete.
354 (server_request_queue::add): Move guts to threaded_queue::add.
355 * threaded_queue.cc: New file.
356 * threaded_queue.h: New file.
357
358Mon Oct 1 12:38:00 2001 Robert Collins <rbtcollins@hotmail.com>
359
360 * cygserver.cc (client_request::serve): New function.
361 * cygserver_process.cc: Inlude <pthread.h> for pthread_once.
362 (process_cache::process_cache): Initialise a crtiical section for write access.
363 (process_cache::process): Use the critical section. Also add missing entries to
364 the cache.
365 (do_process_init): New function to initalise class process static variables.
366 (process::process): Ensure that the process access critical section is
367 initialised.
368 (process::handle): Close the handle of old process's when they have terminated
369 and we are returning the handle for a process with the same pid.
370 * cygserver_shm.cc: Run indent.
371 Include cygserver_process.h to allow process cache functionality.
372 (client_request_shm_get::serve): New parameter for process cache support.
373 Use the process cache, not OpenProcess to get a handle to the originating process.
374 Fix a handle leak with token_handle.
375 * cygserver_shm.h (class client_request_shm_get): Update ::serve for process
376 cache support.
377 * cygserver_transport_pipes.cc: Redefine debug_printf to be conditional on DEBUG.
378 * include/cygwin/cygserver.h: Do not implement client_request::serve in the
379 header.
380 * include/cygwin/cygserver_process.h (class process_cache): Add a write access
381 critical section to prevent races when requests from a multithreaded
382 application arrive.
383
384Sun Sep 30 23:41:00 2001 Robert Collins <rbtcollins@hotmail.com>
385
386 * Makefile.in: Add cygserver_process.o to cygserver.exe.
387 * cygserver.cc: Include signal.h and cygwin_version.h.
388 Define debug_printf as a macro.
389 Define DEBUG to a value.
390 (client_request_attach_tty::serve): Add beginning of process cache support.
391 Change from #ifdef DEBUG to work with new DEBUG style.
392 (client_request_get_version::serve): Add beginning of process cache support.
393 (class server_request): New prototype for support of process cache.
394 (class queue_process_param): New class to allow request loop threading.
395 (class server_request_queue): Add beginning of process cache support.
396 Allow request loop threading.
397 (request_loop): Thread function for request loops.
398 (server_request_queue::process_requests): Initiator for threaded request loops.
399 (client_request_shutdown::serve): Add beginning of process cache support.
400 (server_request::server_request): Ditto.
401 (server_request::process): Use debug_printf. Add beginning of process cache
402 support.
403 (server_request_queue::cleanup): Kill off any request loop threads.
404 (server_request_queue::add): Add beginning of process cache support.
405 (handle_signal): Trigger a shutdown.
406 (main): Print out some useful info at startup - version, date time.
407 Add process cache support.
408 Spawn a separate thread for the transport request loop, thus allowing concurrent
409 support for multiple transports.
410 * cygserver_client.cc (client_request_get_version::serve): Add process cache
411 support.
412 (client_request_attach_tty::serve): Add process cache support.
413 (client_request_shutdown::serve): Add process cache support.
414 * cygsserver_process.cc: New file with the process cache support.
415 * cygserver_shm.cc: Redefine debug_printf to allow conditional output.
416 * cygwin.din: Export shmdt().
417 * shm.cc: Run indent.
418 Update FIXME's.
419 (shmdt): New function.
420 * include/cygwin/cygserver.h (class client_request): Add process cache support.
421 (class client_request_get_version): Ditto.
422 (class client_request_shutdown): Ditto.
423 (class client_request_attach_tty): Ditto.
424 * include/cygwin/cygserver_process.h: New header for process cache support.
425
426Sun Sep 30 8:52:00 2001 Robert Collins <rbtcollins@hotmail.com>
427
428 * include/cygwin/cygserver_transport.h: Add copyright header.
429 * include/cygwin/cygserver_transport_pipes.h: Ditto.
430 * include/cygwin/cygserver_transport_sockets.h: Ditto.
431
432Sat Sep 29 20:40:00 2001 Robert Collins <rbtcollins@hotmail.com>
433
434 * Makefile.in: Add cygserver_transport_sockets.o to DLL_OFILES.
435 Add cygserver_transport_sockets_outside.o to cygserver.exe.
436 * cygserver.cc: Include new include files.
437 * cygserver_client.cc: Ditto.
438 * cygserver_shm.h: No need to include <sys/socket.h> now.
439 * cygerver_transport.cc: Include new include files.
440 (transport_layer_base::transport_layer_base): Strip back to a stub.
441 (transport_layer_base::listen): Ditto.
442 (transport_layer_base::accept): Ditto.
443 (transport_layer_base::close): Ditto.
444 (transport_layer_base::read): Ditto.
445 (transport_layer_base::write): Ditto.
446 (transport_layer_base::connect): Ditto.
447 * cygserver_transport_pipes.cc: Include new header
448 "cygwin/cygserver_transport_pipes.h".
449 * cygserver_transport_sockets.cc: New file.
450 * dcrt0.cc: No need to include <sys/socket.h> now.
451 * fhandler_tty.cc: Ditto.
452 * tty.cc: Ditto.
453 * include/cygwin/cygserver_transport.h: Strip the base class to a stub.
454 Remove the cygserver_transport_pipes class.
455 * include/cygwin/cygserver_transport_pipes.h: New file.
456 * include/cygwin/cygserver_transport_sockets.h: New file.
457
458Tue Sep 25 16:22:00 2001 Robert Collins <rbtcollins@hotmail.com>
459
460 * autoload.cc: Add dynamic load statement for 'ImpersonateNamedPipeClient'.
461 * Makefile.in: Add new object files, and build instructions for cygserver.exe.
462 * cygwin.din: Export ftok, shmat, shmctl and shmget.
463 * dcrt0.cc: Additional includes for cygserver support.
464 (dll_crt0_1): Initialise the cygserver client.
465 * fhandler.h (fhandler_tty): New method cygserver_attach_tty.
466 * fhandler_tty.cc: Additional includes for cygserver support.
467 (fhandler_tty_slave::open): Attempt to use the cygserver when obtaining
468 handles from the parent process. On failure or 9x use the current method.
469 (fhandler_tty_slave::cygserver_attach_tty): New function.
470 * fork.cc (fork_child): Fixup shm memory mapped areas.
471 * pinfo.h: Declare fixup_shms_after_fork().
472 * security.h: Declare alloc_sd().
473 * tty.cc: Additonal includes to support cygserver.
474 (tty::common_init): Don't allow others to open us if the cygserver is running.
475 * winsup.h: Declare cygserver_running.
476 * cygserver.cc: New file.
477 * cygserver_client.cc: New file.
478 * cygserver_shm.cc: New file.
479 * cygserver_shm.h: New file.
480 * cygserver_transport.cc: New file.
481 * cygserver_transport_pipes.cc: New file.
482 * ipc.cc: New file.
483 * shm.cc: New file.
484 * include/cygwin/cygserver.h: New file.
485 * include/cygwin/cygserver_transport.h: New file.
486 * include/sys/ipc.h: New file.
487 * include/sys/shm.h: New file.
488
062401c9
RC
4892002-02-28 Robert Collins <rbtcollins@hotmail.com>
490
491 * thread.cc (semaphore::TryWait): Set errno as required by posix 1003.1.
492 (__sem_wait): Ditto.
493 (__sem_trywait): Ditto.
494
d1f50ae5
CF
4952002-02-27 Christopher Faylor <cgf@redhat.com>
496
497 * include/cygwin/version.h: Bump DLL minor number.
498
acb56175
CV
4992002-02-23 Corinna Vinschen <corinna@vinschen.de>
500
501 * cygwin.din (fstat64): New symbol.
502 (ftruncate64): Ditto.
503 (lseek64): Ditto.
504 (lstat64): Ditto.
505 (mmap64): Ditto.
506 (seekdir64): Ditto.
507 (stat64): Ditto.
508 (telldir64): Ditto.
509 (truncate64): Ditto.
510 * dir.cc (telldir64): New function.
511 (telldir): Call telldir64().
512 (seekdir64): New function.
513 (seekdir): Call seekdir64().
514 * fhandler.h: Redefine all methods using __off32_t to use __off64_t.
515 * fhandler.cc: Use __off64_t and struct __stat64 throughout.
516 * fhandler_clipboard.cc: Ditto.
517 * fhandler_disk_file.cc: Ditto.
518 * fhandler_dsp.cc: Ditto.
519 * fhandler_floppy.cc: Ditto.
520 * fhandler_mem.cc: Ditto.
521 * fhandler_random.cc: Ditto.
522 * fhandler_socket.cc: Ditto.
523 * fhandler_tape.cc: Ditto.
524 * fhandler_zero.cc: Ditto.
525 * pipe.cc: Ditto.
526 * glob.c: Ditto, call lstat64 and stat64 in Cygwin.
527 * mmap.cc: Use __off64_t throughout.
528 (mmap64): New function.
529 * sec_acl.cc (acl_worker): Use struct __stat64, call stat64 and lstat64.
530 * syscalls.cc (lseek64): New function.
531 (stat64_to_stat32): Ditto.
532 (fstat64): Ditto.
533 (stat64): Ditto.
534 (lstat64): Ditto.
535 (ftruncate64): Ditto.
536 (truncate64): Ditto.
537 (_fstat): Call fstat64.
538 (_stat): Call stat64.
539 (cygwin_lstat): Rename to avoid declaration problem. Call lstat64.
540 (stat_worker): Use struct __stat64.
541 (access): Ditto.
542 (ftruncate): Call ftruncate64.
543 (truncate): Call truncate64.
544 * wincap.cc: Set flag has_64bit_file_access appropriately.
545 * wincap.h: Add flag has_64bit_file_access.
546 * winsup.h (ILLEGAL_SEEK): Define as __off64_t.
547 (stat_dev): Declare using struct __stat64.
548 (stat_worker): Ditto.
549 * include/cygwin/stat.h (struct __stat32): Define if compiling Cygwin.
550 (struct __stat64): Ditto.
551 (struct stat): Revert definition with explicitly sized datatypes.
552 Eliminate sized field names.
553 * include/cygwin/types.h (blksize_t): New type.
554 (__blkcnt32_t): Ditto.
555 (__blkcnt64_t): Ditto.
556 (blkcnt_t): Ditto.
557
083abe54
CF
5582002-02-22 Christopher Faylor <cgf@redhat.com>
559
560 * sync.h (new_muto): Just accept an argument which denotes the name of
561 the muto. Use this argument to construct static storage.
562 * cygheap.cc (cygheap_init): Reflect above change.
563 * exceptions.cc (events_init): Ditto.
564 * malloc.cc (malloc_init): Ditto.
565 * path.cc (cwdstuff::init): Ditto.
566 * cygheap.h (cwdstuff): Change name of lock element to make it less
567 generic.
568 * path.cc (cwdstuff::get_hash): Ditto.
569 (cwdstuff::get_initial): Ditto.
570 (cwdstuff::set): Ditto.
571 (cwdstuff::get): Ditto.
572 * sigproc.cc (proc_subproc): Ditto.
573
574 * debug.cc (lock_debug): Change to method. Use method rather than
575 macro throughout.
576
577 * tty.h (tty_min::kill_pgrp): Declare new method.
578 * fhandler_termios.cc (tty_min::kill_pgrp): New method.
579 (fhandler_termios::line_edit): Use new method for killing process.
580 * dcrt0.cc (do_exit): Ditto.
581
582 * dtable.cc (dtable::get_debugger_info): New method for inheriting
583 dtable info from a debugger.
584 * tty.cc (tty_init): Attempt to grab file handle info from parent
585 debugger, if appropriate.
586
587 # dtable.cc (dtable::stdio_init): Make this a method.
588 (dtable::init_std_file_from_handle): Don't set fd unless it's not open.
589 (dtable::build_fhandler_from_name): Move name setting to
590 dtable::build_fhandler.
591 (dtable::build_fhandler): Add win32 name parameter.
592 * dcrt0.cc (dll_crt0_1): Change to use dtable stdio_init.
593 * dtable.h (dtable): Reflect build_fhandler parameter change.
594 * mmap.cc (mmap_record::alloc_fh): Don't set name parameter in
595 build_fhandler.
596 * net.cc (fdsock): Remove set_name call since it is now handled by
597 build_fhandler.
598
599 * sigproc.cc (proc_subproc): Release muto as early as possible.
600
a6790c5f
CV
6012001-02-22 Corinna Vinschen <corinna@vinschen.de>
602
603 * smallprint.c (rn): Allow long long values.
604 (__small_vsprintf): Add 'D', 'U' and 'X' formats for long long
605 parameters.
606
aa6df8d7
CF
6072002-02-19 Christopher Faylor <cgf@redhat.com>
608
609 * fhandler.cc (fhandler_base::puts_readahead): Remove default parameter
610 setting. Newer gcc's complain about this.
611 (fhandler_base::set_readahead_valid): Ditto.
612 * fhandler_dsp.cc (Audio::open): Ditto.
613 (fhandler_dev_dsp::open): Ditto.
614
cecb74ae
CF
6152002-02-19 Christopher Faylor <cgf@redhat.com>
616
617 * fork.cc (fork_parent): Use sec_user_nih to control process/thread
618 inheritance/permission.
619 * spawn.cc (spawn_guts): Ditto.
620 * security.cc (create_token): Initialize token so that it is not tested
621 for bogus value later. Use sec_user to control process/thread
622 creation.
623 * security.h (__sec_user): Rename declaration from sec_user.
624 (sec_user_nih): Declare here as inline function wrapper for __sec_user.
625 (sec_user): Ditto.
626 * sigproc.cc (czombies): Allocate a character array for zombies to
627 avoid constructor overhead
628 (extremely hackish, I know).
629 (cpchildren): Ditto.
630 (pchildren): New define.
631 (zombies): Ditto.
632 (getsem): Use sec_user_nih to control semaphore inheritance/permission.
633
2bd22312
CF
6342002-02-16 Christopher Faylor <cgf@redhat.com>
635
636 * times.cc (hires::prime): Restore thread priority on failure
637 condition.
638
639 * uinfo.cc (uinfo_init): Use more robust method for determining if
640 process was invoked from a non-cygwin process.
641
642 * sync.h (muto::init): Eliminate "inheritance" parameter.
643 (new_muto): Reflect removal of parameter.
644 * sync.cc (muto::init): Ditto.
645 * cygheap.cc (cygheap_init): Ditto.
646 * debug.cc (threadname_init): Ditto.
647 * exceptions.cc (events_init): Ditto.
648 * malloc.cc (malloc_init): Ditto.
649 * path.cc (cwdstuff::init): Ditto.
650 * sigproc.cc (sigproc_init): Ditto.
651
4c761646
CF
652 * grp.cc (group_lock): Use different method for locking with static
653 member.
2bd22312 654 (read_etc_group): REALLY ensure that read lock mutex is released.
4c761646
CF
655 * passwd.cc (passwd_lock): Use different method for locking with static
656 member.
657 (read_etc_passwd): REALLY ensure that read lock mutex is released.
2bd22312
CF
658
659 * shared.cc (sec_user): Correct reversed inheritance test.
660
60b68f0d
CF
6612002-02-15 Christopher Faylor <cgf@redhat.com>
662
663 * hires.h (hires::usecs): Rename from utime. Accept an argument.
664 * strace.cc (strace::microseconds): Use hires class for calculating
665 times.
666 * sync.h (new_muto): Use NO_COPY explicitly in declaration.
667 * times.cc (gettimeofday): Reflect change in usecs argument.
668 (hires::usecs): Ditto. Changed name from utime.
669 * winsup.h (NO_COPY): Add nocommon attribute to force setting aside
670 space for variable.
671 * regcomp.c (REQUIRE): Add a void cast to bypass a warning.
672
dce87b21
CF
6732002-02-15 Christopher Faylor <cgf@redhat.com>
674
675 * hires.h: New file.
676 * times.cc (gettimeofday): Use hires class for calculating current time.
677 (hires::prime): New method.
678 (hires::utime): Ditto.
679
3d456520
CF
6802002-02-14 Christopher Faylor <cgf@redhat.com>
681
682 * include/sys/cygwin.h (cygwin_getinfo_types): New CW_STRACE_ACTIVE.
683 * external.cc (cygwin_internal): Handle CW_STRACE_ACTIVE.
684
907dc7d0
CF
6852002-02-14 Christopher Faylor <cgf@redhat.com>
686
687 * exceptions.cc (unused_sig_wrapper): Eliminate unused parameter to
688 asm.
689 * external.cc (cygwin_internal): Change CW_STRACE_ON to
690 CW_STRACE_TOGGLE.
691 * strace.cc (strace::hello): Toggle strace on and off.
692 * sync.cc (muto::init): Renamed from constructor.
693 * sync.h (muto::new): Delete.
694 (muto::delete): Ditto.
695 (new_muto): Simplify. Use muto.init for nearly everything.
696 * uinfo.cc (uinfo_init): Avoid closing a NULL handle.
697 * include/sys/cygwin.h (cygwin_getinfo_types): Rename CW_STRACE_OFF to
698 CW_STRACE_TOGGLE. Delete CW_STRACE_OFF.
699 * include/sys/strace.h (strace): Add "inited" field.
700
4753a17b
CV
7012001-02-12 Corinna Vinschen <corinna@vinschen.de>
702
703 * include/cygwin/acl.h: Fix definition of aclent_t.
704
909acaf6
CF
7052002-02-10 Christopher Faylor <cgf@redhat.com>
706
707 * Makefile.in (DLL_OFILES): Consolidate object files.
708
de4e0d30
CV
7092002-02-10 Corinna Vinschen <corinna@vinschen.de>
710
b31c68c4
CV
711 * child_info.h, cygheap.h, fhandler_clipboard.cc, fhandler_dsp.cc,
712 fhandler_floppy.cc, fhandler_mem.cc, fhandler_random.cc,
713 fhandler_tape.cc, fhandler_zero.cc, grp.cc, mmap.cc, passwd.cc,
714 pinfo.cc, pinfo.h, pipe.cc, sec_acl.cc, sec_helper.cc, security.cc,
715 security.h, thread.h, uinfo.cc, include/cygwin/acl.h: Fix copyright.
716
7172002-02-10 Corinna Vinschen <corinna@vinschen.de>
718
719 * child_info.h, cygheap.h, dcrt0.cc, dir.cc, fhandler.cc, fhandler.h,
de4e0d30
CV
720 fhandler_clipboard.cc, fhandler_disk_file.cc, fhandler_dsp.cc,
721 fhandler_floppy.cc, fhandler_mem.cc, fhandler_random.cc,
722 fhandler_tape.cc, fhandler_zero.cc, grp.cc, mmap.cc, passwd.cc,
723 pinfo.cc, pinfo.h, pipe.cc, sec_acl.cc, sec_helper.cc, security.cc,
b31c68c4 724 security.h, spawn.cc, syscalls.cc, thread.h, uinfo.cc, winsup.h:
de4e0d30
CV
725 Change usage of uid_t to __uid16_t, gid_t to __gid16_t and
726 off_t to __off32_t throughout. Use INVALID_UID, INVALID_GID and
727 INVALID_SEEK instead casting -1 to the appropriate type.
728 * winsup.h: Define INVALID_UID, INVALID_GID and INVALID_SEEK.
729 * include/cygwin/acl.h: Define internal __aclent16_t and __aclent32_t
730 types. Don't declare acl functions when compiling Cygwin.
731 * include/cygwin/grp.h: Declare getgrgid() and getgrnam() with
732 correct types for internal usage.
733
39b553b8
CV
7342002-02-10 Corinna Vinschen <corinna@vinschen.de>
735
736 Patch suggested by Pierre A. Humblet <Pierre.Humblet@ieee.org>:
737 * uinfo.cc (internal_getlogin): Try evaluating user by SID even if
738 ntsec is off.
739 (uinfo_init): Set primary group even if ntsec is off.
740
52296b85
CV
7412002-02-09 Corinna Vinschen <corinna@vinschen.de>
742
743 * include/cygwin/grp.h: New file.
744 * include/cygwin/stat.h: Ditto.
745 * include/cygwin/types.h: Add definitions for __off32_t,
746 __off64_t, off_t, __uid16_t, __uid32_t, uid_t, __gid16_t,
747 __gid32_t and gid_t.
748 * include/sys/cygwin.h: Use correct uid and gid types.
749
ff86860b
CV
7502002-02-09 Corinna Vinschen <corinna@vinschen.de>
751
752 * dtable.cc (dtable::dup2): Revert previous patch.
753 * fhandler.h: Ditto.
754 (fhandler_socket::recv): Define new method.
755 (fhandler_socket::send): Ditto.
756 * fhandler_socket.cc (fhandler_socket::recv): New method.
757 (fhandler_socket::send): Ditto.
758 (fhandler_socket::read): Call fhandler_socket::recv() now.
759 (fhandler_socket::write): Call fhandler_socket::send() now.
760 * net.cc (class wsock_event): Move definition to wsock_event.h.
761 (fdsock): Revert previous patch.
762 (cygwin_recv): Move implementation to fhandler_socket::recv().
763 (cygwin_send): Move implementation to fhandler_socket::send().
764 * wsock_event.h: New file.
765
d0672acc
CV
7662002-02-06 Alexander Gottwald <Alexander.Gottwald@s1999.tuchemnitz.de>
767
768 * net.cc (get_2k_ifconf): Create interface entries for tokenring cards.
769
fae28904
CV
7702002-02-08 Corinna Vinschen <corinna@vinschen.de>
771
772 * dtable.cc (dtable::dup2): Store fd for fhandler_socket.
773 * fhandler.h (fhandler_base::set_fd): New virtual method.
774 (fhandler_base::get_fd): Ditto.
775 (fhandler_socket::set_fd): Ditto.
776 (fhandler_socket::get_fd): Ditto.
777 * fhandler_socket.cc (fhandler_socket::read): Call cygwin_recv instead
778 of native Winsock recv.
779 (fhandler_socket::write): Call cygwin_send instead of native Winsock
780 send.
781 * net.cc (fdsock): Store fd in fhandler_socket.
782
1f64102f
CV
7832002-02-07 Corinna Vinschen <corinna@vinschen.de>
784
785 * net.cc (cygwin_getsockname): Fix handling of NULL sun_path.
786
562d9745
CV
7872002-01-29 Corinna Vinschen <corinna@vinschen.de>
788
789 * net.cc (getdomainname): Fix registry key for 9x systems, too.
790
94ee02fa
CV
7912002-01-29 Corinna Vinschen <corinna@vinschen.de>
792
793 * net.cc (getdomainname): Fix registry key for NT systems.
794
494a66d9
CF
7952002-01-28 Christopher Faylor <cgf@redhat.com>
796
797 * external.cc (cygwin_internal): Initialize various internal settings
798 if required to allow use of some things from user loaded DLL.
799 (CW_STRACE_ON): Add new feature.
800 (CW_CYGWIN_PID_TO_WINPID): Ditto.
801 * pinfo.cc (set_myself): Call "strace.hello" to initiate possible
802 strace session.
803 (pinfo::init): Guard against dereferencing uninitialized myself.
804 * sigproc.cc (wait_sig): Call strace.hello() when __SIGTRACE "signal"
805 received.
806 * strace.cc (strace::hello): New method.
807 * wincap.cc (wincapc::init): Avoid initializing if already initialized.
808 * wincap.h (wincapc::wincapc): New method.
809 * include/sys/cygwin.h: Add new CW_ enums. Kludge typedefs of
810 {g,u}id_t if required.
811 * strace.h (strace::hello): Declare new method.
812
6616e6cf
CF
8132002-01-28 Earnie Boyd <earnie@users.sf.net>
814
815 * include/sys/strace.h (_STRACE_ON): Define.
816 (_STRACE_OFF): Ditto.
817
dfb4c347
CF
8182002-01-24 Christopher Faylor <cgf@redhat.com>
819
820 * speclib: Ensure that temporary def file is removed.
821
3c07fbeb
CF
8222002-01-23 Christopher Faylor <cgf@redhat.com>
823
824 * speclib: Use rm -f to remove temp file just to quiet any potential
825 warnings.
826
f6fc31e1
CV
8272002-01-23 Corinna Vinschen <corinna@vinschen.de>
828
829 * security.cc (create_token): Use sec_user() to create
be6d8567
CV
830 SECURITY_ATTRIBUTES structure for primary token. Use
831 MAXIMUM_ALLOWED access rights instead of TOKEN_ALL_ACCESS.
f6fc31e1 832
adbd01af
CV
8332002-01-23 Corinna Vinschen <corinna@vinschen.de>
834
835 * path.cc (symlink): Fix check for already existing file.
836
aed69a5b
CF
8372002-01-21 Christopher Faylor <cgf@redhat.com>
838
839 * cygmagic: Suppress error output when figuring out if sum takes an
840 option.
841
f3647dd7
CF
8422002-01-21 Christopher Faylor <cgf@redhat.com>
843
844 * cygmagic: Attempt to figure out if sum takes an option.
845
51076b73
CF
8462002-01-21 DJ Delorie <dj@redhat.com>
847
848 * Makefile.in (libpthread.a): Pass the assembler also.
849 (libm.a): Ditto.
850 (libc.a): Ditto.
851 * speclib: Specify the assembler to dlltool.
852
0ac2abea
CF
8532002-01-21 Christopher Faylor <cgf@redhat.com>
854
855 * include/cygwin/version.h: Bump DLL minor number.
856
ac11ec88
CV
8572002-01-21 Corinna Vinschen <corinna@vinschen.de>
858
28982aa8 859 * grp.cc (getgrgid): Don't return default gid entry when ntsec is on.
ac11ec88
CV
860 * syscalls.cc (setegid): Don't set primary group in process token.
861
8ef47135
CF
8622002-01-21 Christopher Faylor <cgf@redhat.com>
863
864 * speclib: Don't use /dev/null as DLL name. Just default to what's
865 already in .def file.
866
8672002-01-21 Christopher Faylor <cgf@redhat.com>
868
869 * exceptions.cc (sig_handle): Remove last vestiges of SA_NOCLDSTOP code
870 which caused SIGCHLD to be ignored.
871
07cc1f1f
CF
8722002-01-20 Christopher Faylor <cgf@redhat.com>
873
874 * include/cygwin/version.h: Bump DLL minor number.
875
385437d4
CF
8762002-01-20 Christopher Faylor <cgf@redhat.com>
877
878 * syscalls.cc (regfree): Make dll_export.
879
d7c16d8d
CF
8802002-01-20 Christopher Faylor <cgf@redhat.com>
881
882 * exceptions.cc (ctrl_c_handler): Convert windows pid to cygwin pid
883 when detecting if we should actually handle CTRL-C.
884
216109a8
CF
8852002-01-19 Christopher Faylor <cgf@redhat.com>
886
887 * Makefile.in (new-cygwin1.dll): Revert previous change. libsupc++.a
888 is only available in libstdc++-v3.
889
9e73b339
CF
8902002-01-19 Christopher Faylor <cgf@redhat.com>
891
892 * exceptions.cc (sig_handle_tty_stop): Don't send SIGCHLD if parent
893 doesn't want it.
894 (sig_handle): Don't check for SA_NOCLDSTOP here. We don't have enough
895 information.
896
5946622e
CF
8972002-01-19 Christopher Faylor <cgf@redhat.com>
898
899 * include/cygwin/version.h: Bump DLL minor number.
900
994fe87b
CF
9012002-01-19 Christopher Faylor <cgf@redhat.com>
902
903 * Makefile.in (new-cygwin1.dll): Just use -lsupc++ for link.
904 * sigproc.cc (proc_exists): Change existence criteria.
905 * sync.h (new_muto): Add volatile to definition to avoid gcc
906 optimization problems.
907
df3af773
CV
9082002-01-19 Corinna Vinschen <corinna@vinschen.de>
909
910 * include/cygwin/version.h: Bump API minor version to 51.
911
7d6be0d6
CV
9122002-01-19 Mark Bradshaw <bradshaw@staff.crosswalk.com>
913
914 * cygwin.din: Add recvmsg and sendmsg.
915 * net.cc: Add cygwin_recvmsg and cygwin_sendmsg.
916 * /usr/include/sys/socket.h: Add recvmsg and sendmsg.
917
2d3dab2e
CV
9182002-01-19 Corinna Vinschen <corinna@vinschen.de>
919
920 * security.cc (create_token): Close processes token handle as soon
921 as it's not used anymore.
922
104c3be6
CV
9232002-01-17 Corinna Vinschen <corinna@vinschen.de>
924
925 * Makefile.in: Add fnmatch.o to DLL_OFILES.
926 * cygwin.din: Add fnmatch export symbol.
927 * fnmatch.c: New file.
928 * include/fnmatch.h: Ditto.
929 * include/cygwin/version.h: Bump API minor version to 50.
930
9a7e1562
CV
9312002-01-15 Corinna Vinschen <corinna@vinschen.de>
932
933 * path.cc (fchdir): Call chdir with full windows path.
934
7eddac1b
CV
9352002-01-14 Corinna Vinschen <corinna@vinschen.de>
936
937 * dir.cc: Use INVALID_FILE_ATTRIBUTES instead of "(DWORD) -1"
938 for file attributes throughout.
939 * fhandler.cc: Ditto.
940 * fhandler_disk_file.cc: Ditto.
941 * path.cc: Ditto.
942 * path.h: Ditto.
943 * syscalls.cc: Ditto.
944 * times.cc (utimes): Use path_conv::isdir() instead of explicit
945 GetFileAttributes() call.
946
5daa0835
CF
9472002-01-13 Christopher Faylor <cgf@redhat.com>
948
949 * dcrt0.cc (multiple_cygwin_problem): Clarify logic and make
950 CYGWIN_MISMATCH_OK more powerful.
951
06486d9e
CF
9522002-01-10 Christopher Faylor <cgf@redhat.com>
953
954 * exceptions.cc (sig_handle): Accept a second argument indicating
955 whether the signal came from this process or not.
956 * sigproc.h: Reflect sig_handle arg change.
957 * signal.cc (kill_pgrp): Add sigframe info.
958 (abort): New function. Eliminates newlib function of same name.
959 * sigproc.cc (wait_sig): Pass "signal from this process" value as arg
960 2.
961
bb5225c2
CV
9622002-01-10 Corinna Vinschen <corinna@vinschen.de>
963
964 * syscalls.cc (pathconf): Guard _PC_PATH_MAX branch against invalid
965 file parameter.
966
c0a8e8d0
CF
9672002-01-09 Christopher Faylor <cgf@redhat.com>
968 Robert Collins <rbtcollins@hotmail.com>
969
970 * exceptions.cc (early_stuff_init): Rename from misnamed
971 set_console_handler.
972 (ctrl_c_handler): Attempt to work around potential signal duplication
973 during process startup.
974 (sig_handle): Ignore SIGINT when we're just an "exec stub".
975 * spawn.cc (spawn_guts): Store pid of spawned process in global for use
976 by ctrl_c_handler.
977 * dcrt0.cc (dll_crt0_1): Call renamed initialization function.
978 * winsup.h: Reflect function name change.
979
fe37dd79
CV
9802002-01-08 Corinna Vinschen <corinna@vinschen.de>
981
982 * net.cc (cygwin_accept): Set sun_path for newly connected socket.
983
cbf7a9eb
CF
9842002-01-07 Ralf Habacker <Ralf.Habacker@freenet.de>
985
986 * Makefile.in: Add uninstall target.
987
a2e12d0c
CF
9882002-01-07 Christopher Faylor <cgf@redhat.com>
989
990 * sigproc.cc (getsem): Clean up debugging output.
991
4a08cbfe
CF
9922002-01-07 Christopher Faylor <cgf@redhat.com>
993
994 * sigproc.cc (getsem): Set errno when unable to create own semaphore.
995 Reorganize to make clearer that error should only come from initial
996 creation of process semaphore.
997
10dedaaa
CF
9982002-01-06 Christopher Faylor <cgf@redhat.com>
999
1000 * dtable.cc (dtable::init_std_file_from_handle): Add some defensive
1001 code to invalid handle case.
1002
d6154fb7
CV
10032002-01-06 Corinna Vinschen <corinna@vinschen.de>
1004
1005 * ioctl.cc (ioctl): Make third argument optional.
1006 * include/sys/ioctl.h: Ditto in declaration.
1007 * dtable.cc (dtable::init_std_file_from_handle): Revert previous
1008 bogus patch.
1009 * window.cc (WndProc): Raise SIGURG instead of SIGIO in case of FD_OOB
1010 message.
1011
9125cbd7 10122002-01-05 Christopher Faylor <cgf@redhat.com>
fcb76c5d 1013
9125cbd7
CF
1014 * dir.cc (opendir): Guarantee release of alloced fhandler structure on
1015 error.
fcb76c5d 1016
9125cbd7
CF
10172002-01-05 Corinna Vinschen <corinna@vinschen.de>
1018
1019 * exceptions.cc (sig_handle): Set default action for SIGURG to SIG_IGN.
1020
10212002-01-05 Corinna Vinschen <corinna@vinschen.de>
2edba236
CV
1022
1023 * dtable.cc (dtable::init_std_file_from_handle): Don't treat NULL
1024 handle as errorneous.
1025
acf05df7
CF
10262002-01-04 Christopher Faylor <cgf@redhat.com>
1027
1028 * cygmagic: Change logic for equality test.
1029
7acba971
CF
10302002-01-04 Christopher Faylor <cgf@redhat.com>
1031
1032 * dir.cc (opendir): Don't attempt to call sub-opendir if ENOENT.
1033
9125cbd7 10342002-01-04 Corinna Vinschen <corinna@vinschen.de>
dc63cea5
CV
1035
1036 * net.cc: Replace usage of AF_UNIX by Posix compliant AF_LOCAL
1037 throughout.
1038 (socketpair): Explicitly allow SOCK_STREAM and SOCK_DGRAM socket types
1039 in families AF_UNIX and AF_LOCAL. Explicitly allow PF_UNSPEC, PF_LOCAL
1040 and PF_INET protocols. Return error otherwise. Implement datagram
1041 socketpairs.
1042
3b789217
CF
10432002-01-01 Christopher Faylor <cgf@redhat.com>
1044
f449bfef 1045 * speclib: Remove temp files automatically.
3b789217 1046
2fe27909 10472002-01-01 Corinna Vinschen <corinna@vinschen.de>
2fe27909
CV
1048 * fhandler.h (fhandler_socket::sun_path): New private member.
1049 (fhandler_socket::set_sun_path): New method.
1050 (fhandler_socket::get_sun_path): Ditto.
1051 * fhandler_socket.cc (fhandler_socket::fhandler_socket): Initialize
1052 sun_path to NULL.
1053 (fhandler_socket::~fhandler_socket): Free sun_path if needed.
1054 (fhandler_socket::set_sun_path): New method.
1055 * net.cc (cygwin_bind): Set sun_path to path of local socket file.
1056 (cygwin_getsockname): Add code to return correct sockaddr for unix
1057 domain sockets.
This page took 0.148575 seconds and 5 git commands to generate.