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