OSDN Git Service

* cygmagic: Attempt to figure out if sum takes an option.
[pf3gnuchains/pf3gnuchains3x.git] / winsup / cygwin / ChangeLog
1 2002-01-21  Christopher Faylor  <cgf@redhat.com>
2
3         * cygmagic: Attempt to figure out if sum takes an option.
4
5 2002-01-21  DJ Delorie  <dj@redhat.com>
6
7         * Makefile.in (libpthread.a): Pass the assembler also.
8         (libm.a): Ditto.
9         (libc.a): Ditto.
10         * speclib: Specify the assembler to dlltool.
11
12 2002-01-21  Christopher Faylor  <cgf@redhat.com>
13
14         * include/cygwin/version.h: Bump DLL minor number.
15
16 2002-01-21  Corinna Vinschen  <corinna@vinschen.de>
17
18         * grp.cc (getgrgid): Don't return default gid entry when ntsec is on.
19         * syscalls.cc (setegid): Don't set primary group in process token.
20
21 2002-01-21  Christopher Faylor  <cgf@redhat.com>
22
23         * speclib: Don't use /dev/null as DLL name.  Just default to what's
24         already in .def file.
25
26 2002-01-21  Christopher Faylor  <cgf@redhat.com>
27
28         * exceptions.cc (sig_handle): Remove last vestiges of SA_NOCLDSTOP code
29         which caused SIGCHLD to be ignored.
30
31 2002-01-20  Christopher Faylor  <cgf@redhat.com>
32
33         * include/cygwin/version.h: Bump DLL minor number.
34
35 2002-01-20  Christopher Faylor  <cgf@redhat.com>
36
37         * syscalls.cc (regfree): Make dll_export.
38
39 2002-01-20  Christopher Faylor  <cgf@redhat.com>
40
41         * exceptions.cc (ctrl_c_handler): Convert windows pid to cygwin pid
42         when detecting if we should actually handle CTRL-C.
43
44 2002-01-19  Christopher Faylor  <cgf@redhat.com>
45
46         * Makefile.in (new-cygwin1.dll): Revert previous change.  libsupc++.a
47         is only available in libstdc++-v3.
48
49 2002-01-19  Christopher Faylor  <cgf@redhat.com>
50
51         * exceptions.cc (sig_handle_tty_stop): Don't send SIGCHLD if parent
52         doesn't want it.
53         (sig_handle): Don't check for SA_NOCLDSTOP here.  We don't have enough
54         information.
55
56 2002-01-19  Christopher Faylor  <cgf@redhat.com>
57
58         * include/cygwin/version.h: Bump DLL minor number.
59
60 2002-01-19  Christopher Faylor  <cgf@redhat.com>
61
62         * Makefile.in (new-cygwin1.dll): Just use -lsupc++ for link.
63         * sigproc.cc (proc_exists): Change existence criteria.
64         * sync.h (new_muto): Add volatile to definition to avoid gcc
65         optimization problems.
66
67 2002-01-19  Corinna Vinschen  <corinna@vinschen.de>
68
69         * include/cygwin/version.h: Bump API minor version to 51.
70
71 2002-01-19  Mark Bradshaw  <bradshaw@staff.crosswalk.com>
72
73         * cygwin.din: Add recvmsg and sendmsg.
74         * net.cc: Add cygwin_recvmsg and cygwin_sendmsg.
75         * /usr/include/sys/socket.h: Add recvmsg and sendmsg.
76
77 2002-01-19  Corinna Vinschen  <corinna@vinschen.de>
78
79         * security.cc (create_token): Close processes token handle as soon
80         as it's not used anymore.
81
82 2002-01-17  Corinna Vinschen  <corinna@vinschen.de>
83
84         * Makefile.in: Add fnmatch.o to DLL_OFILES.
85         * cygwin.din: Add fnmatch export symbol.
86         * fnmatch.c: New file.
87         * include/fnmatch.h: Ditto.
88         * include/cygwin/version.h: Bump API minor version to 50.
89
90 2002-01-15  Corinna Vinschen  <corinna@vinschen.de>
91
92         * path.cc (fchdir): Call chdir with full windows path.
93
94 2002-01-14  Corinna Vinschen  <corinna@vinschen.de>
95
96         * dir.cc: Use INVALID_FILE_ATTRIBUTES instead of "(DWORD) -1"
97         for file attributes throughout.
98         * fhandler.cc: Ditto.
99         * fhandler_disk_file.cc: Ditto.
100         * path.cc: Ditto.
101         * path.h: Ditto.
102         * syscalls.cc: Ditto.
103         * times.cc (utimes): Use path_conv::isdir() instead of explicit
104         GetFileAttributes() call.
105
106 2002-01-13  Christopher Faylor  <cgf@redhat.com>
107
108         * dcrt0.cc (multiple_cygwin_problem): Clarify logic and make
109         CYGWIN_MISMATCH_OK more powerful.
110
111 2002-01-10  Christopher Faylor  <cgf@redhat.com>
112
113         * exceptions.cc (sig_handle): Accept a second argument indicating
114         whether the signal came from this process or not.
115         * sigproc.h: Reflect sig_handle arg change.
116         * signal.cc (kill_pgrp): Add sigframe info.
117         (abort): New function.  Eliminates newlib function of same name.
118         * sigproc.cc (wait_sig): Pass "signal from this process" value as arg
119         2.
120
121 2002-01-10  Corinna Vinschen  <corinna@vinschen.de>
122
123         * syscalls.cc (pathconf): Guard _PC_PATH_MAX branch against invalid
124         file parameter.
125
126 2002-01-09  Christopher Faylor  <cgf@redhat.com>
127             Robert Collins  <rbtcollins@hotmail.com>
128
129         * exceptions.cc (early_stuff_init): Rename from misnamed
130         set_console_handler.
131         (ctrl_c_handler): Attempt to work around potential signal duplication
132         during process startup.
133         (sig_handle): Ignore SIGINT when we're just an "exec stub".
134         * spawn.cc (spawn_guts): Store pid of spawned process in global for use
135         by ctrl_c_handler.
136         * dcrt0.cc (dll_crt0_1): Call renamed initialization function.
137         * winsup.h: Reflect function name change.
138
139 2002-01-08  Corinna Vinschen  <corinna@vinschen.de>
140
141         * net.cc (cygwin_accept): Set sun_path for newly connected socket.
142
143 2002-01-07  Ralf Habacker  <Ralf.Habacker@freenet.de>
144
145         * Makefile.in: Add uninstall target.
146
147 2002-01-07  Christopher Faylor  <cgf@redhat.com>
148
149         * sigproc.cc (getsem): Clean up debugging output.
150
151 2002-01-07  Christopher Faylor  <cgf@redhat.com>
152
153         * sigproc.cc (getsem): Set errno when unable to create own semaphore.
154         Reorganize to make clearer that error should only come from initial
155         creation of process semaphore.
156
157 2002-01-06  Christopher Faylor  <cgf@redhat.com>
158
159         * dtable.cc (dtable::init_std_file_from_handle): Add some defensive
160         code to invalid handle case.
161
162 2002-01-06  Corinna Vinschen  <corinna@vinschen.de>
163
164         * ioctl.cc (ioctl): Make third argument optional.
165         * include/sys/ioctl.h: Ditto in declaration.
166         * dtable.cc (dtable::init_std_file_from_handle): Revert previous
167         bogus patch.
168         * window.cc (WndProc): Raise SIGURG instead of SIGIO in case of FD_OOB
169         message.
170
171 2002-01-05  Christopher Faylor  <cgf@redhat.com>
172
173         * dir.cc (opendir): Guarantee release of alloced fhandler structure on
174         error.
175
176 2002-01-05  Corinna Vinschen  <corinna@vinschen.de>
177
178         * exceptions.cc (sig_handle): Set default action for SIGURG to SIG_IGN.
179
180 2002-01-05  Corinna Vinschen  <corinna@vinschen.de>
181
182         * dtable.cc (dtable::init_std_file_from_handle): Don't treat NULL
183         handle as errorneous.
184
185 2002-01-04  Christopher Faylor  <cgf@redhat.com>
186
187         * cygmagic: Change logic for equality test.
188
189 2002-01-04  Christopher Faylor  <cgf@redhat.com>
190
191         * dir.cc (opendir): Don't attempt to call sub-opendir if ENOENT.
192
193 2002-01-04  Corinna Vinschen  <corinna@vinschen.de>
194
195         * net.cc: Replace usage of AF_UNIX by Posix compliant AF_LOCAL
196         throughout.
197         (socketpair): Explicitly allow SOCK_STREAM and SOCK_DGRAM socket types
198         in families AF_UNIX and AF_LOCAL.  Explicitly allow PF_UNSPEC, PF_LOCAL
199         and PF_INET protocols.  Return error otherwise.  Implement datagram
200         socketpairs.
201
202 2002-01-01  Christopher Faylor  <cgf@redhat.com>
203
204         * speclib: Remove temp files automatically.
205
206 2002-01-01  Corinna Vinschen  <corinna@vinschen.de>
207
208         * fhandler.h (fhandler_socket::sun_path): New private member.
209         (fhandler_socket::set_sun_path): New method.
210         (fhandler_socket::get_sun_path): Ditto.
211         * fhandler_socket.cc (fhandler_socket::fhandler_socket): Initialize
212         sun_path to NULL.
213         (fhandler_socket::~fhandler_socket): Free sun_path if needed.
214         (fhandler_socket::set_sun_path): New method.
215         * net.cc (cygwin_bind): Set sun_path to path of local socket file.
216         (cygwin_getsockname): Add code to return correct sockaddr for unix
217         domain sockets.