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