]>
Commit | Line | Data |
---|---|---|
52296b85 CV |
1 | 2002-02-09 Corinna Vinschen <corinna@vinschen.de> |
2 | ||
3 | * include/cygwin/grp.h: New file. | |
4 | * include/cygwin/stat.h: Ditto. | |
5 | * include/cygwin/types.h: Add definitions for __off32_t, | |
6 | __off64_t, off_t, __uid16_t, __uid32_t, uid_t, __gid16_t, | |
7 | __gid32_t and gid_t. | |
8 | * include/sys/cygwin.h: Use correct uid and gid types. | |
9 | ||
ff86860b CV |
10 | 2002-02-09 Corinna Vinschen <corinna@vinschen.de> |
11 | ||
12 | * dtable.cc (dtable::dup2): Revert previous patch. | |
13 | * fhandler.h: Ditto. | |
14 | (fhandler_socket::recv): Define new method. | |
15 | (fhandler_socket::send): Ditto. | |
16 | * fhandler_socket.cc (fhandler_socket::recv): New method. | |
17 | (fhandler_socket::send): Ditto. | |
18 | (fhandler_socket::read): Call fhandler_socket::recv() now. | |
19 | (fhandler_socket::write): Call fhandler_socket::send() now. | |
20 | * net.cc (class wsock_event): Move definition to wsock_event.h. | |
21 | (fdsock): Revert previous patch. | |
22 | (cygwin_recv): Move implementation to fhandler_socket::recv(). | |
23 | (cygwin_send): Move implementation to fhandler_socket::send(). | |
24 | * wsock_event.h: New file. | |
25 | ||
d0672acc CV |
26 | 2002-02-06 Alexander Gottwald <Alexander.Gottwald@s1999.tuchemnitz.de> |
27 | ||
28 | * net.cc (get_2k_ifconf): Create interface entries for tokenring cards. | |
29 | ||
fae28904 CV |
30 | 2002-02-08 Corinna Vinschen <corinna@vinschen.de> |
31 | ||
32 | * dtable.cc (dtable::dup2): Store fd for fhandler_socket. | |
33 | * fhandler.h (fhandler_base::set_fd): New virtual method. | |
34 | (fhandler_base::get_fd): Ditto. | |
35 | (fhandler_socket::set_fd): Ditto. | |
36 | (fhandler_socket::get_fd): Ditto. | |
37 | * fhandler_socket.cc (fhandler_socket::read): Call cygwin_recv instead | |
38 | of native Winsock recv. | |
39 | (fhandler_socket::write): Call cygwin_send instead of native Winsock | |
40 | send. | |
41 | * net.cc (fdsock): Store fd in fhandler_socket. | |
42 | ||
1f64102f CV |
43 | 2002-02-07 Corinna Vinschen <corinna@vinschen.de> |
44 | ||
45 | * net.cc (cygwin_getsockname): Fix handling of NULL sun_path. | |
46 | ||
562d9745 CV |
47 | 2002-01-29 Corinna Vinschen <corinna@vinschen.de> |
48 | ||
49 | * net.cc (getdomainname): Fix registry key for 9x systems, too. | |
50 | ||
94ee02fa CV |
51 | 2002-01-29 Corinna Vinschen <corinna@vinschen.de> |
52 | ||
53 | * net.cc (getdomainname): Fix registry key for NT systems. | |
54 | ||
494a66d9 CF |
55 | 2002-01-28 Christopher Faylor <cgf@redhat.com> |
56 | ||
57 | * external.cc (cygwin_internal): Initialize various internal settings | |
58 | if required to allow use of some things from user loaded DLL. | |
59 | (CW_STRACE_ON): Add new feature. | |
60 | (CW_CYGWIN_PID_TO_WINPID): Ditto. | |
61 | * pinfo.cc (set_myself): Call "strace.hello" to initiate possible | |
62 | strace session. | |
63 | (pinfo::init): Guard against dereferencing uninitialized myself. | |
64 | * sigproc.cc (wait_sig): Call strace.hello() when __SIGTRACE "signal" | |
65 | received. | |
66 | * strace.cc (strace::hello): New method. | |
67 | * wincap.cc (wincapc::init): Avoid initializing if already initialized. | |
68 | * wincap.h (wincapc::wincapc): New method. | |
69 | * include/sys/cygwin.h: Add new CW_ enums. Kludge typedefs of | |
70 | {g,u}id_t if required. | |
71 | * strace.h (strace::hello): Declare new method. | |
72 | ||
6616e6cf CF |
73 | 2002-01-28 Earnie Boyd <earnie@users.sf.net> |
74 | ||
75 | * include/sys/strace.h (_STRACE_ON): Define. | |
76 | (_STRACE_OFF): Ditto. | |
77 | ||
dfb4c347 CF |
78 | 2002-01-24 Christopher Faylor <cgf@redhat.com> |
79 | ||
80 | * speclib: Ensure that temporary def file is removed. | |
81 | ||
3c07fbeb CF |
82 | 2002-01-23 Christopher Faylor <cgf@redhat.com> |
83 | ||
84 | * speclib: Use rm -f to remove temp file just to quiet any potential | |
85 | warnings. | |
86 | ||
f6fc31e1 CV |
87 | 2002-01-23 Corinna Vinschen <corinna@vinschen.de> |
88 | ||
89 | * security.cc (create_token): Use sec_user() to create | |
be6d8567 CV |
90 | SECURITY_ATTRIBUTES structure for primary token. Use |
91 | MAXIMUM_ALLOWED access rights instead of TOKEN_ALL_ACCESS. | |
f6fc31e1 | 92 | |
adbd01af CV |
93 | 2002-01-23 Corinna Vinschen <corinna@vinschen.de> |
94 | ||
95 | * path.cc (symlink): Fix check for already existing file. | |
96 | ||
aed69a5b CF |
97 | 2002-01-21 Christopher Faylor <cgf@redhat.com> |
98 | ||
99 | * cygmagic: Suppress error output when figuring out if sum takes an | |
100 | option. | |
101 | ||
f3647dd7 CF |
102 | 2002-01-21 Christopher Faylor <cgf@redhat.com> |
103 | ||
104 | * cygmagic: Attempt to figure out if sum takes an option. | |
105 | ||
51076b73 CF |
106 | 2002-01-21 DJ Delorie <dj@redhat.com> |
107 | ||
108 | * Makefile.in (libpthread.a): Pass the assembler also. | |
109 | (libm.a): Ditto. | |
110 | (libc.a): Ditto. | |
111 | * speclib: Specify the assembler to dlltool. | |
112 | ||
0ac2abea CF |
113 | 2002-01-21 Christopher Faylor <cgf@redhat.com> |
114 | ||
115 | * include/cygwin/version.h: Bump DLL minor number. | |
116 | ||
ac11ec88 CV |
117 | 2002-01-21 Corinna Vinschen <corinna@vinschen.de> |
118 | ||
28982aa8 | 119 | * grp.cc (getgrgid): Don't return default gid entry when ntsec is on. |
ac11ec88 CV |
120 | * syscalls.cc (setegid): Don't set primary group in process token. |
121 | ||
8ef47135 CF |
122 | 2002-01-21 Christopher Faylor <cgf@redhat.com> |
123 | ||
124 | * speclib: Don't use /dev/null as DLL name. Just default to what's | |
125 | already in .def file. | |
126 | ||
127 | 2002-01-21 Christopher Faylor <cgf@redhat.com> | |
128 | ||
129 | * exceptions.cc (sig_handle): Remove last vestiges of SA_NOCLDSTOP code | |
130 | which caused SIGCHLD to be ignored. | |
131 | ||
07cc1f1f CF |
132 | 2002-01-20 Christopher Faylor <cgf@redhat.com> |
133 | ||
134 | * include/cygwin/version.h: Bump DLL minor number. | |
135 | ||
385437d4 CF |
136 | 2002-01-20 Christopher Faylor <cgf@redhat.com> |
137 | ||
138 | * syscalls.cc (regfree): Make dll_export. | |
139 | ||
d7c16d8d CF |
140 | 2002-01-20 Christopher Faylor <cgf@redhat.com> |
141 | ||
142 | * exceptions.cc (ctrl_c_handler): Convert windows pid to cygwin pid | |
143 | when detecting if we should actually handle CTRL-C. | |
144 | ||
216109a8 CF |
145 | 2002-01-19 Christopher Faylor <cgf@redhat.com> |
146 | ||
147 | * Makefile.in (new-cygwin1.dll): Revert previous change. libsupc++.a | |
148 | is only available in libstdc++-v3. | |
149 | ||
9e73b339 CF |
150 | 2002-01-19 Christopher Faylor <cgf@redhat.com> |
151 | ||
152 | * exceptions.cc (sig_handle_tty_stop): Don't send SIGCHLD if parent | |
153 | doesn't want it. | |
154 | (sig_handle): Don't check for SA_NOCLDSTOP here. We don't have enough | |
155 | information. | |
156 | ||
5946622e CF |
157 | 2002-01-19 Christopher Faylor <cgf@redhat.com> |
158 | ||
159 | * include/cygwin/version.h: Bump DLL minor number. | |
160 | ||
994fe87b CF |
161 | 2002-01-19 Christopher Faylor <cgf@redhat.com> |
162 | ||
163 | * Makefile.in (new-cygwin1.dll): Just use -lsupc++ for link. | |
164 | * sigproc.cc (proc_exists): Change existence criteria. | |
165 | * sync.h (new_muto): Add volatile to definition to avoid gcc | |
166 | optimization problems. | |
167 | ||
df3af773 CV |
168 | 2002-01-19 Corinna Vinschen <corinna@vinschen.de> |
169 | ||
170 | * include/cygwin/version.h: Bump API minor version to 51. | |
171 | ||
7d6be0d6 CV |
172 | 2002-01-19 Mark Bradshaw <bradshaw@staff.crosswalk.com> |
173 | ||
174 | * cygwin.din: Add recvmsg and sendmsg. | |
175 | * net.cc: Add cygwin_recvmsg and cygwin_sendmsg. | |
176 | * /usr/include/sys/socket.h: Add recvmsg and sendmsg. | |
177 | ||
2d3dab2e CV |
178 | 2002-01-19 Corinna Vinschen <corinna@vinschen.de> |
179 | ||
180 | * security.cc (create_token): Close processes token handle as soon | |
181 | as it's not used anymore. | |
182 | ||
104c3be6 CV |
183 | 2002-01-17 Corinna Vinschen <corinna@vinschen.de> |
184 | ||
185 | * Makefile.in: Add fnmatch.o to DLL_OFILES. | |
186 | * cygwin.din: Add fnmatch export symbol. | |
187 | * fnmatch.c: New file. | |
188 | * include/fnmatch.h: Ditto. | |
189 | * include/cygwin/version.h: Bump API minor version to 50. | |
190 | ||
9a7e1562 CV |
191 | 2002-01-15 Corinna Vinschen <corinna@vinschen.de> |
192 | ||
193 | * path.cc (fchdir): Call chdir with full windows path. | |
194 | ||
7eddac1b CV |
195 | 2002-01-14 Corinna Vinschen <corinna@vinschen.de> |
196 | ||
197 | * dir.cc: Use INVALID_FILE_ATTRIBUTES instead of "(DWORD) -1" | |
198 | for file attributes throughout. | |
199 | * fhandler.cc: Ditto. | |
200 | * fhandler_disk_file.cc: Ditto. | |
201 | * path.cc: Ditto. | |
202 | * path.h: Ditto. | |
203 | * syscalls.cc: Ditto. | |
204 | * times.cc (utimes): Use path_conv::isdir() instead of explicit | |
205 | GetFileAttributes() call. | |
206 | ||
5daa0835 CF |
207 | 2002-01-13 Christopher Faylor <cgf@redhat.com> |
208 | ||
209 | * dcrt0.cc (multiple_cygwin_problem): Clarify logic and make | |
210 | CYGWIN_MISMATCH_OK more powerful. | |
211 | ||
06486d9e CF |
212 | 2002-01-10 Christopher Faylor <cgf@redhat.com> |
213 | ||
214 | * exceptions.cc (sig_handle): Accept a second argument indicating | |
215 | whether the signal came from this process or not. | |
216 | * sigproc.h: Reflect sig_handle arg change. | |
217 | * signal.cc (kill_pgrp): Add sigframe info. | |
218 | (abort): New function. Eliminates newlib function of same name. | |
219 | * sigproc.cc (wait_sig): Pass "signal from this process" value as arg | |
220 | 2. | |
221 | ||
bb5225c2 CV |
222 | 2002-01-10 Corinna Vinschen <corinna@vinschen.de> |
223 | ||
224 | * syscalls.cc (pathconf): Guard _PC_PATH_MAX branch against invalid | |
225 | file parameter. | |
226 | ||
c0a8e8d0 CF |
227 | 2002-01-09 Christopher Faylor <cgf@redhat.com> |
228 | Robert Collins <rbtcollins@hotmail.com> | |
229 | ||
230 | * exceptions.cc (early_stuff_init): Rename from misnamed | |
231 | set_console_handler. | |
232 | (ctrl_c_handler): Attempt to work around potential signal duplication | |
233 | during process startup. | |
234 | (sig_handle): Ignore SIGINT when we're just an "exec stub". | |
235 | * spawn.cc (spawn_guts): Store pid of spawned process in global for use | |
236 | by ctrl_c_handler. | |
237 | * dcrt0.cc (dll_crt0_1): Call renamed initialization function. | |
238 | * winsup.h: Reflect function name change. | |
239 | ||
fe37dd79 CV |
240 | 2002-01-08 Corinna Vinschen <corinna@vinschen.de> |
241 | ||
242 | * net.cc (cygwin_accept): Set sun_path for newly connected socket. | |
243 | ||
cbf7a9eb CF |
244 | 2002-01-07 Ralf Habacker <Ralf.Habacker@freenet.de> |
245 | ||
246 | * Makefile.in: Add uninstall target. | |
247 | ||
a2e12d0c CF |
248 | 2002-01-07 Christopher Faylor <cgf@redhat.com> |
249 | ||
250 | * sigproc.cc (getsem): Clean up debugging output. | |
251 | ||
4a08cbfe CF |
252 | 2002-01-07 Christopher Faylor <cgf@redhat.com> |
253 | ||
254 | * sigproc.cc (getsem): Set errno when unable to create own semaphore. | |
255 | Reorganize to make clearer that error should only come from initial | |
256 | creation of process semaphore. | |
257 | ||
10dedaaa CF |
258 | 2002-01-06 Christopher Faylor <cgf@redhat.com> |
259 | ||
260 | * dtable.cc (dtable::init_std_file_from_handle): Add some defensive | |
261 | code to invalid handle case. | |
262 | ||
d6154fb7 CV |
263 | 2002-01-06 Corinna Vinschen <corinna@vinschen.de> |
264 | ||
265 | * ioctl.cc (ioctl): Make third argument optional. | |
266 | * include/sys/ioctl.h: Ditto in declaration. | |
267 | * dtable.cc (dtable::init_std_file_from_handle): Revert previous | |
268 | bogus patch. | |
269 | * window.cc (WndProc): Raise SIGURG instead of SIGIO in case of FD_OOB | |
270 | message. | |
271 | ||
9125cbd7 | 272 | 2002-01-05 Christopher Faylor <cgf@redhat.com> |
fcb76c5d | 273 | |
9125cbd7 CF |
274 | * dir.cc (opendir): Guarantee release of alloced fhandler structure on |
275 | error. | |
fcb76c5d | 276 | |
9125cbd7 CF |
277 | 2002-01-05 Corinna Vinschen <corinna@vinschen.de> |
278 | ||
279 | * exceptions.cc (sig_handle): Set default action for SIGURG to SIG_IGN. | |
280 | ||
281 | 2002-01-05 Corinna Vinschen <corinna@vinschen.de> | |
2edba236 CV |
282 | |
283 | * dtable.cc (dtable::init_std_file_from_handle): Don't treat NULL | |
284 | handle as errorneous. | |
285 | ||
acf05df7 CF |
286 | 2002-01-04 Christopher Faylor <cgf@redhat.com> |
287 | ||
288 | * cygmagic: Change logic for equality test. | |
289 | ||
7acba971 CF |
290 | 2002-01-04 Christopher Faylor <cgf@redhat.com> |
291 | ||
292 | * dir.cc (opendir): Don't attempt to call sub-opendir if ENOENT. | |
293 | ||
9125cbd7 | 294 | 2002-01-04 Corinna Vinschen <corinna@vinschen.de> |
dc63cea5 CV |
295 | |
296 | * net.cc: Replace usage of AF_UNIX by Posix compliant AF_LOCAL | |
297 | throughout. | |
298 | (socketpair): Explicitly allow SOCK_STREAM and SOCK_DGRAM socket types | |
299 | in families AF_UNIX and AF_LOCAL. Explicitly allow PF_UNSPEC, PF_LOCAL | |
300 | and PF_INET protocols. Return error otherwise. Implement datagram | |
301 | socketpairs. | |
302 | ||
3b789217 CF |
303 | 2002-01-01 Christopher Faylor <cgf@redhat.com> |
304 | ||
305 | * speclib: Remove temp files automatically. | |
306 | ||
2fe27909 CV |
307 | 2002-01-01 Corinna Vinschen <corinna@vinschen.de> |
308 | ||
309 | * fhandler.h (fhandler_socket::sun_path): New private member. | |
310 | (fhandler_socket::set_sun_path): New method. | |
311 | (fhandler_socket::get_sun_path): Ditto. | |
312 | * fhandler_socket.cc (fhandler_socket::fhandler_socket): Initialize | |
313 | sun_path to NULL. | |
314 | (fhandler_socket::~fhandler_socket): Free sun_path if needed. | |
315 | (fhandler_socket::set_sun_path): New method. | |
316 | * net.cc (cygwin_bind): Set sun_path to path of local socket file. | |
317 | (cygwin_getsockname): Add code to return correct sockaddr for unix | |
318 | domain sockets. |