]> sourceware.org Git - newlib-cygwin.git/blob - winsup/cygwin/ChangeLog
* fhandler_socket.cc (fhandler_socket::accept): On successful execution
[newlib-cygwin.git] / winsup / cygwin / ChangeLog
1 2003-01-28 Corinna Vinschen <corinna@vinschen.de>
2
3 * fhandler_socket.cc (fhandler_socket::accept): On successful execution
4 set connection state of returned socket to CONNECTED.
5
6 2003-01-27 Christopher Faylor <cgf@redhat.com>
7
8 * passwd.cc (pwdgrp::parse_passwd): Be more unforgiving about
9 non-numeric fields.
10
11 2003-01-26 Christopher Faylor <cgf@redhat.com>
12
13 * uinfo.cc (pwdgrp::next_num): Remove check for NULL since it is no
14 longer a valid return from next_str.
15 (pwdgrp::add_line): Duh. Revert to use strchr.
16
17 2003-01-26 Christopher Faylor <cgf@redhat.com>
18
19 * string.h (strechr): New function.
20 * uinfo.cc (pwdgrp::next_str): Search only for input char in string.
21 Return EOS on failure. Don't check for NULL since it shouldn't be
22 possible.
23 (pwdgrp::add_line): Revert to replacing '\n' in input line with '\0'.
24 (pwdgrp::next_num): Pass explicit separator character to next_str.
25 * grp.cc (pwdgrp::parse_group): Ditto.
26 * passwd.cc (pwdgrp::parse_passwd): Ditto. Revamp test for garbage
27 input.
28 * pwdgrp.h (pwdgrp::next_str): Don't use default parameter.
29
30 2003-01-26 Christopher Faylor <cgf@redhat.com>
31
32 * uinfo.cc (pwdgrp::load): Regularize strace output. Add warning for
33 CreateFile failure.
34
35 2003-01-26 Christopher Faylor <cgf@redhat.com>
36
37 * passwd.cc (pwdgrp::parse_passwd): Eliminate use of memset. The
38 structure should always be completely filled out.
39 * grp.cc (pwdgrp::parse_group): Ditto.
40
41 2003-01-26 Christopher Faylor <cgf@redhat.com>
42
43 * grp.cc (pwdgrp::parse_group): Fix off-by-one problem in allocating
44 gr_mem.
45
46 2003-01-26 Christopher Faylor <cgf@redhat.com>
47
48 * include/sys/strace.h (paranoid_printf): Define as not being part of
49 "all" output.
50
51 2003-01-25 Christopher Faylor <cgf@redhat.com>
52
53 * pwdgrp.h (pwdgrp::next_num): Rename from next_int. Returns
54 true/false if parse operation succeeded.
55 (pwdgrp::reparse): Remove.
56 (pwdgrp::raw_ptr): New function. Returns pointer in line.
57 (pwdgrp::next_num): New functions for parsing other than unsigned long.
58 * grp.cc (pwdgrp::parse_group): Reinstate previous parsing behavior.
59 Don't fill in fields with NULL and assign empty gr_mem to known pointer
60 rather than doing a pointless calloc. Streamline gr_mem parsing.
61 Don't increment curr_lines here.
62 * passwd.cc (pwdgrp::parse_passwd): Use new behavior of next_num.
63 Don't increment curr_lines here.
64 * uinfo.cc (pwdgrp::next_str): Keep returning EOL if out of data.
65 (pwdgrp::reparse): Remove.
66 (pwdgrp::next_num): Rename from next_int. Return bool indicating
67 success of parse, argument returns value parsed.
68 (pwdgrp::add_line): Increment curr_lines here on successful parse.
69 (pwdgrp::load): (from Pierre Humblet) Don't return status. Just report
70 it here.
71
72 2003-01-25 Christopher Faylor <cgf@redhat.com>
73
74 * pwdgrp.cc (pwdgrp::reparse): Declare.
75 * uinfo.cc (pwdgrp::reparse): Define.
76 * grp.cc (pwdgrp::parse_group): Use reparse.
77
78 2003-01-25 Pierre Humblet <pierre.humblet@ieee.org>
79
80 * syscalls.cc (seteuid32): On Win95 get the pw entry. If it exists
81 update the euid and call cygheap->user.set_name. Remove special
82 handling of ILLEGAL_UID.
83 (setgid32): Add a debug_printf. On Win95, always set the egid.
84 Remove special handling of ILLEGAL_GID. Do not compare gid and gr_gid.
85 * child_info.h (class cygheap_exec_info): Remove uid.
86 * spawn.cc (spawn_guts): Do not set ciresrv.moreinfo->uid.
87 * dcrto.cc (dll_crt0_1): Always call uinfo_init.
88 * uinfo.cc (uinfo_init): Reorganize and close handle if needed.
89 (cygheap_user::ontherange): Do not call internal_getpwnam if pw is NULL.
90
91 2003-01-24 Christopher Faylor <cgf@redhat.com>
92
93 * fhandler_console.cc (fhandler_console::send_winch_maybe): Reset
94 scroll region if size changes.
95
96 2003-01-24 Pierre Humblet <pierre.humblet@ieee.org>
97 Jason Tishler <jason@tishler.net>
98
99 * cygwin.din: Export setreuid32, setreuid, setregid32, setregid.
100 * syscalls.cc (setreuid32): New function.
101 (setreuid): Ditto.
102 (setregid32): Ditto.
103 (setregid): Ditto.
104 * include/cygwin/version.h: Bump API minor number.
105
106 2003-01-23 Christopher Faylor <cgf@redhat.com>
107
108 * pwdrp.h (pwdgrp::refresh): Lock entire test prior to reading.
109
110 2003-01-23 Christopher Faylor <cgf@redhat.com>
111
112 * grp.cc (pwdgrp::parse_group): Eliminate arg and use class member
113 instead. Use next_str and next_int to parse arguments.
114 * passwd.cc (pwdgrp::parse_passwd): Ditto.
115 (grab_string): Eliminate.
116 (grab_int): Ditto.
117 * pwdgrp.h (pwdgrp::parse): Eliminate input arg.
118 (pwdgrp::parse_passwd): Reflect above change.
119 (pwdgrp::parse_group): Reflect above change.
120 (pwdgrp::next_str): New function.
121 (pwdgrp::next_int): Ditto.
122 (pwdgrp::gets): Eliminate.
123 * uinfo.cc (pwdgrp::next_str): New function.
124 (pwdgrp::next_int): Ditto.
125 (pwdgrp::add_line): Subsume gets.
126 (pwdgrp::gets): Eliminate.
127 (pwdgrp::load): Just call add_line to parse input buffer.
128
129 2003-01-22 Thomas Pfaff <tpfaff@gmx.net>
130
131 * include/pthread.h (PTHREAD_MUTEX_RECURSIVE): Revert changes from
132 2003-01-09 mutex patch.
133 (PTHREAD_MUTEX_ERRORCHECK): Ditto.
134
135 2003-01-22 Corinna Vinschen <corinna@vinschen.de>
136
137 * cygrun.c: Move from here to ../testsuite.
138 * Makefile.in: Remove cygrun.exe dependencies.
139
140 2003-01-21 Jason Tishler <jason@tishler.net>
141
142 * cygwin.din: Export nanosleep().
143 * signal.cc (nanosleep): New function.
144 (sleep): Move old functionality to nanosleep(). Call nanosleep().
145 (usleep): Remove old functionality. Call nanosleep().
146 * include/cygwin/version.h: Bump API minor number.
147
148 2003-01-21 Christopher Faylor <cgf@redhat.com>
149
150 * grp.cc: Call gr.refresh() rather than doing isunitialized tests
151 throughout.
152 (gr): Use constructor (sigh).
153 (pwdgrp::parse_group): Rename from parse_grp.
154 (pwdgrp::read_group): Rename from read_etc_group. Just call gr.load
155 with a single argument.
156 * passwd.cc: Call pr.refresh() rather than doing isunitialized tests
157 throughout.
158 (pr): Use constructor (sigh).
159 (pwdgrp::parse_passwd): Rename from "parse_pwd".
160 (pwdgrp::read_passwd): Rename from read_etc_passwd. Just call pr.load
161 with a single argument.
162 * pwdgrp.h (pwdgrp_state): Eliminate.
163 (pwdgrp): Reflect above renamings.
164 (pwdgrp::etc_ix): Rename from pwd_ix.
165 (pwdgrp::read): New element.
166 (pwdgrp::lock): New element.
167 (pwdgrp::refresh): New function.
168 (pwdgrp::load): Eliminate variations which take buffer arguments.
169 (pwdgrp::pwdgrp): New constructors. Initialize mutex here.
170 * uinfo.cc (pwdgrp::load): Accommodate pwd_ix -> etc_ix renaming.
171 (pwdgrp::load): Set initialized state to true rather than setting state
172 to loaded.
173
174 2003-01-21 Christopher Faylor <cgf@redhat.com>
175
176 * include/cygwin/version.h: Bump DLL minor number.
177
178 2003-01-21 Pierre Humblet <pierre.humblet@ieee.org>
179
180 * path.h (etc::change_possible): Revert the type to bool.
181 (etc::set_last_modified): Remove obsolete function.
182 * path.cc (etc::change_possible): Revert type to bool.
183 (etc::test_file_change): Do not test for negative values of
184 change_possible and do not set it to -res.
185 (etc::dir_changed): When the handle is NULL, call memset instead of
186 test_file_changed. When the handle is invalid, return true. Detect
187 filename change in /etc.
188 (etc::file_changed): Remove unneeded check for !fn[n].
189 * uinfo.cc (pwdgrp::load): Eliminate spurious setting of fh to NULL.
190 * pwdgrp.h (pwdgrp::operator =): Eliminate.
191
192 2003-01-19 Christopher Faylor <cgf@redhat.com>
193
194 * pwdgrp.h (etc): Move to path.h.
195 (pwdgrp::max_lines): New field.
196 (pwdgrp::curr_lines): New field.
197 (pwdgrp::pwdgrp_buf): Ditto.
198 (pwdgrp_buf_elem_size): Ditto.
199 (pwdgrp_parse): Ditto.
200 (pwdgrp::gets): Just declare here.
201 (pwdgrp::load): Ditto. Just take one argument.
202 (pwdgrp::load): Define overloaded function accepting passwd buf.
203 (pwdgrp::load): Define overloaded function accepting group buf.
204 * grp.cc: Use pwdgrp elements rather than standalone static variables
205 throughout.
206 (curr_lines): Eliminate.
207 (max_lines): Ditto.
208 (add_grp_line): Ditto.
209 (parse_grp): Define as returning boolean. Accept void * arg and line
210 count. Coerce first argument into __group32 buf reference. Increment
211 curr_line as appropriate.
212 (read_etc_group): Pass pwdgrp buffer to gr.load.
213 * passwd.cc: Use pwdgrp elements rather than standalone static variables
214 throughout.
215 (curr_lines): Eliminate.
216 (max_lines): Ditto.
217 (add_grp_line): Ditto.
218 (parse_passwd): Define as returning boolean. Accept void * arg and line
219 count. Coerce first argument into passwd buf reference. Increment
220 curr_line as appropriate.
221 (read_etc_group): Pass pwdgrp buffer to pr.load.
222 * path.cc (etc::fn): Extend buffer size to allow index by 1 rather than
223 zero.
224 (etc::last_modified): Ditto.
225 (etc::change_possible): Ditto. Renamed from sawchange. Change to
226 signed char since elements are now tri-state.
227 (etc::init): Assume "handle" is 1 based rather than 0.
228 (etc::test_file_change): New function. Sets change_possible based on
229 file date comparison.
230 (etc::dir_changed): Check file states immediately after changed_h is
231 initialized to avoid a race.
232 (etc::file_changed): Use test_file_change to detect if file needs to be
233 updated.
234 * path.h (etc): Move class here from pwdgrp.h.
235 * uinfo.cc: Move etc:: functions to path.cc. Move pwdgrp functions
236 here.
237 (pwdgrp::gets): Eliminate buf checks. Just check eptr and set lptr.
238 (pwdgrp::add_line): New function.
239 (pwdgrp::load): Call generic add_line function which will call correct
240 parser.
241
242 2003-01-17 Christopher Faylor <cgf@redhat.com>
243
244 * cygheap.cc: Change most 'int's to 'unsigned's.
245 (_cmalloc): Only check for size of malloced region when calculating
246 bucket. Add overhead when performing the sbrk. Previous change broke
247 _crealloc.
248
249 2003-01-17 Christopher Faylor <cgf@redhat.com>
250
251 * dcrt0.cc (initialize_env): Use colon for CYGWIN_DEBUG separator.
252 * grp.cc: Change most statics to NO_COPY throughout.
253 * passwd.cc: Ditto.
254
255 2003-01-17 Christopher Faylor <cgf@redhat.com>
256
257 * pwdgrp.h: Change some BOOLs to bools.
258 (pwdgrp::pwdgrp): Remove unneeded constructor.
259 * passwd.cc: Change BOOL to bool throughout.
260
261 2003-01-17 Corinna Vinschen <corinna@vinschen.de>
262
263 * cygwin.din: Add strerror_r.
264 * include/cygwin/version.h: Bump API minor number.
265
266 2003-01-17 Christopher Faylor <cgf@redhat.com>
267
268 * uinfo.cc (etc::dir_changed): Don't print a warning if can't open
269 /etc, unless debugging.
270
271 2003-01-17 Pierre Humblet <pierre.humblet@ieee.org>
272
273 * grp.cc (read_etc_group): On NT, add a line for gid = -1. Change name
274 "unknown" to "mkgroup".
275 (internal_getgrgid): Do not return default in nontsec case.
276 (internal_getgroups): Add argument srchsid and look for it in groups if
277 not NULL.
278 * passwd.cc (read_etc_passwd): On NT, add a line for uid = -1. Use
279 same default uid for Win95 and NT. Call cygheap_user::ontherange to
280 initialize HOME.
281
282 2003-01-16 Christopher Faylor <cgf@redhat.com>
283
284 * cygheap.cc (init_cygheap::etc_changed): Move to uinfo.cc.
285 * cygheap.h (init_cygheap::etc_changed_h): Remove.
286 (init_cygheap::etc_changed): Ditto.
287 * grp.cc (group_state): Remove. Use gr instead throughout.
288 (gr): Define as class pwdgrp.
289 (read_etc_group): Remove gr definition. Remove calls to
290 set_last_modified and close. Pass add_grp to gr.load to load file.
291 * passwd.cc (passwd_state): Remove. Use pr instead, throughout.
292 (pr): Define as class pwdgrp.
293 (read_etc_passwd): Remove pr definition. Remove calls to
294 set_last_modified and close. Pass add_pwd_line to pr.load to load
295 file.
296 * pwdgrp.h (etc): New helper class for pwdgrp.
297 (pwdgrp): Combine pwdgrp_check and pwdgrp_read into one class. Remove
298 file_w32 and last_modified fields.
299 (pwdgrp::set_last_modified): Remove.
300 (pwdgrp::isinitializing): Remove FindFirstFile stuff. Move to
301 etc::file_changed.
302 (pwdgrp::load): Rename from 'open'. Call etc::init to initialize etc
303 scanning. Close file handle after reading buffer into memory. Parse
304 buffer by calling second argument.
305 (pwdgrp::gets): Reorganize slightly to rely on eptr starting at
306 beginning of buffer.
307 (pwdgrp::close): Remove.
308 * uinfo.cc (etc::dir_changed): New function.
309 (etc::init): Ditto.
310 (etc::file_changed): Ditto.
311 (etc::set_last_modified): Ditto.
312
313 2003-01-16 Jason Tishler <jason@tishler.net>
314
315 * mmap.cc (fixup_mmaps_after_fork): Add ERROR_NOACCESS to the list of
316 ReadProcessMemory() error codes that trigger a retry with temporary
317 PAGE_READONLY access. Note that this can occur on NT 4.0.
318
319 2003-01-15 Christopher Faylor <cgf@redhat.com>
320
321 * path.cc (normalize_posix_path): Convert win32 path separators to
322 slashes when full path is specified.
323
324 2003-01-15 Pierre Humblet <pierre.humblet@ieee.org>
325
326 * cmalloc.cc (_cmalloc): Fix memory leak.
327
328 2003-01-15 Corinna Vinschen <corinna@vinschen.de>
329
330 * autoload.cc: Fix copyright date.
331 * fhandler_dsp.cc: Ditto.
332 * mmap.cc: Ditto.
333 * net.cc: Ditto.
334 * ntdll.h: Ditto.
335 * signal.cc: Ditto.
336 * syscalls.cc: Ditto.
337 * uname.cc: Ditto.
338 * wait.cc: Ditto.
339
340 2003-01-14 Corinna Vinschen <corinna@vinschen.de>
341
342 * mmap.cc (fixup_mmaps_after_fork): Copy protection to child process.
343 Change ambiguous debug output.
344
345 2003-01-14 Corinna Vinschen <corinna@vinschen.de>
346
347 * mmap.cc (mmap_record::access): Change argument type to caddr_t
348 for strictness.
349 (mprotect): Protect against calling VirtualProtect() for shared
350 pages on 9x/Me.
351 (fixup_mmaps_after_fork): If ReadProcessMemory() fails, try to
352 change protection of parent page to PAGE_READONLY, then try again.
353 Revert protection afterwards.
354
355 2003-01-14 Thomas Pfaff <tpfaff@gmx.net>
356
357 * syscalls.cc (system): Add pthread_testcancel call.
358 * thread.cc: Update list of cancellation points.
359
360 2003-01-14 Thomas Pfaff <tpfaff@gmx.net>
361
362 * wait.cc: Include thread.h
363 (wait4): Add pthread_testcancel call.
364 Wait for child process and cancellation event.
365 * thread.cc: Update list of cancellation points.
366
367 2003-01-14 Thomas Pfaff <tpfaff@gmx.net>
368
369 * signal.cc (sleep): Add pthread_testcancel call.
370 Wait for signal and cancellation event.
371 (usleep): Ditto.
372
373 2003-01-14 Thomas Pfaff <tpfaff@gmx.net>
374
375 * exceptions.cc (handle_sigsuspend): Add pthread_testcancel call.
376 Wait for signal and cancellation event.
377 * thread.cc: Update list of cancellation points.
378
379 2003-01-14 David Huang <davehzhr@hotmail.com>
380
381 * fhandler_dsp.cc (fhandler_dsp::ioctl): Add limited support for
382 SNDCTL_DSP_GETFMTS.
383
384 2003-01-12 Christopher Faylor <cgf@redhat.com>
385
386 * ntdll.h: Fix typo.
387
388 2003-01-12 Corinna Vinschen <corinna@vinschen.de>
389
390 * uname.cc (uname): Use cygwin_gethostname() to retrieve hostname.
391
392 2003-01-12 Pierre Humblet <pierre.humblet@ieee.org>
393
394 * sec_acl.cc (search_ace): Use id == -1, instead of < 0, as wildcard.
395 (setacl): Start the search for a matching default at the next entry.
396 Invalidate the type of merged entries instead of clearing it.
397 Use well_known_creator for default owner and owning group and do
398 not try to merge non-default and default entries in these cases.
399 (getacl): Recognize well_known_creator for default owner and group.
400 (acl_worker): Improve errno settings and streamline the nontsec case.
401 * security.cc (write_sd): Remove the call to set_process_privilege.
402 (alloc_sd): If the owner changes, call set_process_privilege and return
403 immediately on failure. Change inheritance rules: on new directories add
404 inherit only allow ACEs for creator_owner, creator_group and everyone.
405 Preserve all inheritances through chmod and chown calls. Introduce
406 isownergroup to implement the uid == gid case, to keep the inheritance
407 code simple. Do not initialize owner_sid and group_sid and stop using
408 the variable psd.
409
410 2003-01-10 Christopher Faylor <cgf@redhat.com>
411
412 * net.cc: Use gethostname define from winsock2.h.
413
414 2003-01-10 Christopher Faylor <cgf@redhat.com>
415
416 * path.cc: Unrevert below reversion except for
417 mount_info::conv_to_posix_path part.
418
419 2003-01-10 Corinna Vinschen <corinna@vinschen.de>
420
421 * path.cc: Revert patch from 2003-01-09 to normalize a windows path
422 rather than converting to posix.
423
424 2003-01-10 Corinna Vinschen <corinna@vinschen.de>
425
426 * autoload.cc (gethostname): Make call optional, return 1 if function
427 can't get loaded.
428 * net.cc (cygwin_gethostname): Call GetComputerName if return value
429 of gethostname is non-zero.
430
431 2003-01-10 Charles Wilson <cwilson@ece.gatech.edu>
432
433 * cygwin.din: Add asprintf and vasprintf, as well as the reentrant
434 versions and underscore variants.
435 * include/cygwin/version.h: Bump CYGWIN_VERSION_API_MINOR.
436
437 2003-01-10 Corinna Vinschen <corinna@vinschen.de>
438
439 * net.cc (cygwin_gethostname): Fix call to wsock function gethostname.
440
441 2003-01-09 Christopher Faylor <cgf@redhat.com>
442
443 * cygthread.cc (cygthread::cygthread): Be more noisy about odd
444 condition.
445 * miscfuncs.cc (low_priority_sleep): Sleep in regular priority if
446 that's what we're currently running at.
447
448 2003-01-09 Thomas Pfaff <tpfaff@gmx.net>
449
450 * include/semaphore.h: Modify typedef for sem_t.
451 * include/cygwin/types.h: Modify typedefs for pthread_t,
452 pthread_mutex_t, pthread_key_t, pthread_attr_t,
453 pthread_mutexattr_t, pthread_condattr_t, pthread_cond_t,
454 pthread_rwlock_t and pthread_rwlockattr_t.
455
456 2003-01-09 Thomas Pfaff <tpfaff@gmx.net>
457
458 * thread.h (WAIT_CANCELED): New define.
459 (pthread::cancelable_wait): New static method.
460 * thread.cc (pthread::cancelable_wait): Implement.
461 (semaphore::Wait): Wait on semaphore and thread cancellation.
462 (pthread::join): Wait on joined thread and thread cancellation.
463 (semaphore::wait): Add testcancel to check for thread
464 cancellation even if the semaphore is available.
465
466 2003-01-09 Thomas Pfaff <tpfaff@gmx.net>
467
468 * include/pthread.h: Add define for errorchecking mutexes.
469 Change default mutex type.
470 * thread.cc (pthread_cond::TimedWait): Update mutex unlock
471 calls.
472 (pthread_mutex::pthread_mutex): New implement.
473 (pthread_mutex::~pthread_mutex): Ditto.
474 (pthread_mutex::Lock): Ditto.
475 (pthread_mutex::TryLock): Ditto.
476 (pthread_mutex::UnLock): Ditto.
477 (pthread_mutex::Destroy): Implement new method.
478 (pthread_mutex::SetOwner): Ditto.
479 (pthread_mutex::LockRecursive): Ditto.
480 (pthread_mutex::fixup_after_fork): Restore locking state after
481 fork.
482 (__pthread_mutex_lock): Return pthread_mutex::Lock errorcode.
483 (__pthread_mutex_trylock): Return pthread_mutex::TryLock
484 errorcode.
485 (__pthread_mutex_unlock): Return pthread_mutex::UnLock
486 errorcode.
487 (__pthread_mutex_destroy): Call pthread_mutex::Destroy to
488 destroy mutex.
489 (__pthread_mutexattr_settype): Allow errorchecking and recursive
490 types.
491 * thread.h (MUTEX_LOCK_COUNTER_INITIAL): New define.
492 (pthread_mutex::criticalsection): Remove.
493 (pthread_mutex::lock_counter): New member.
494 (pthread_mutex::recursion_counter): Ditto.
495 (pthread_mutex::owner): Ditto.
496 (pthread_mutex::type): Ditto.
497 (pthread_mutex::Destroy): New method.
498 (pthread_mutex::SetOwner): Ditto.
499 (pthread_mutex::LockRecursive): Ditto.
500
501 2003-01-09 Thomas Pfaff <tpfaff@gmx.net>
502
503 * pthread.cc (pthread_cond_init): Use new pthread_cond::init.
504 * thread.cc: Some white spaces cleanups.
505 Change __pthread_cond_init to pthread_cond::init throughout.
506 (nativeMutex): Move class methods outside pthread_mutex.
507 (MTinterface::Init): Initialize pthread_cond init lock.
508 (pthread_cond::condInitializationLock): Instantiate.
509 (pthread_cond::initMutex): New Method.
510 (pthread_cond::isGoodInitializerOrBadObject): Ditto.
511 * thread.h: Some white spaces cleanups.
512 (nativeMutex): Move class declaration outside pthread_mutex.
513 (pthread_cond::condInitializationLock): New static member.
514 (pthread_cond::initMutex): New Method.
515 (pthread_cond::isGoodInitializerOrBadObject): Ditto.
516 (__pthread_cond_init): Remove prototype.
517
518 2003-01-09 Corinna Vinschen <corinna@vinschen.de>
519
520 * fhandler_disk_file.cc (num_entries): Return 2 as link count if
521 directory unreadable.
522
523 2003-01-09 Corinna Vinschen <corinna@vinschen.de>
524
525 * security.cc (get_nt_attribute): Always return -1 when read_sd()
526 fails.
527 (get_file_attribute): Set permissions to 0 and owner/group to -1
528 if security descriptor is unreadable.
529
530 2003-01-09 Christopher Faylor <cgf@redhat.com>
531
532 Use isdirsep rather than SLASH_P throughout.
533 * path.cc (iscygdrive): Disallow /cygdrive\x.
534 (normalize_posix_path): "Normalize" a windows path, if detected, rather
535 than converting to posix.
536
537 2003-01-06 Troy Curtiss <troyc@usa.net>
538
539 * fhandler_serial.cc (fhandler_serial::tcsetattr): Add support and
540 capability checking for B230400 bitrate.
541 (fhandler_serial::tcgetattr): Add support for B230400 bitrate.
542 * include/sys/termios.h: Add B230400 definition for Posix support of
543 230.4Kbps.
544
545 2003-01-05 Christopher Faylor <cgf@redhat.com>
546
547 * pinfo.cc (_pinfo::commune_send): Use myself->lock rather than just
548 lock when leaving.
549
550 2003-01-03 Christopher Faylor <cgf@redhat.com>
551
552 * dtable.h (dtable::in_vfork_cleanup): New function. True if vfork
553 cleanup needed.
554 * dtable.cc (dtable::vfork_parent_restore): Remove assertion.
555 * pipe.cc (fhandler_pipe::close): Don't close read_state during
556 fork_fixup since it wasn't inherited.
557
558 2003-01-01 Christopher Faylor <cgf@redhat.com>
559
560 * passwd.cc (getpwuid_r32): Revert previous change.
561
562 2003-01-01 Christopher Faylor <cgf@redhat.com>
563
564 * sysconf.cc (sysconf): Return arbitrary values for
565 _SC_GETGR_R_SIZE_MAX, _SC_LOGIN_NAME_MAX, _SC_GETPW_R_SIZE_MAX.
566
567 * passwd.cc (getpwuid_r32): Add uid/gid fields to size check
568 calculation.
569
This page took 0.061191 seconds and 6 git commands to generate.