newlib-cygwin/winsup/cygwin
Christopher Faylor 7905c4f158 * pwdgrp.h (etc): Move to path.h.
(pwdgrp::max_lines): New field.
(pwdgrp::curr_lines): New field.
(pwdgrp::pwdgrp_buf): Ditto.
(pwdgrp_buf_elem_size): Ditto.
(pwdgrp_parse): Ditto.
(pwdgrp::gets): Just declare here.
(pwdgrp::load): Ditto.  Just take one argument.
(pwdgrp::load): Define overloaded function accepting passwd buf.
(pwdgrp::load): Define overloaded function accepting group buf.
* grp.cc: Use pwdgrp elements rather than standalone static variables
throughout.
(curr_lines): Eliminate.
(max_lines): Ditto.
(add_grp_line): Ditto.
(parse_grp): Define as returning boolean.  Accept void * arg and line count.
Coerce first argument into __group32 buf reference.  Increment curr_line as
appropriate.
(read_etc_group): Pass pwdgrp buffer to gr.load.
* passwd.cc: Use pwdgrp elements rather than standalone static variables
throughout.
(curr_lines): Eliminate.
(max_lines): Ditto.
(add_grp_line): Ditto.
(parse_passwd): Define as returning boolean.  Accept void * arg and line count.
Coerce first argument into passwd buf reference.  Increment curr_line as
appropriate.
(read_etc_group): Pass pwdgrp buffer to pr.load.
* path.cc (etc::fn): Extend buffer size to allow index by 1 rather than zero.
(etc::last_modified): Ditto.
(etc::change_possible): Ditto.  Renamed from sawchange.  Change to signed char
since elements are now tri-state.
(etc::init): Assume "handle" is 1 based rather than 0.
(etc::test_file_change): New function.  Sets change_possible based on file date
comparison.
(etc::dir_changed): Check file states immediately after changed_h is
initialized to avoid a race.
(etc::file_changed): Use test_file_change to detect if file needs to be
updated.
* path.h (etc): Move class here from pwdgrp.h.
* uinfo.cc: Move etc:: functions to path.cc.  Move pwdgrp functions here.
(pwdgrp::gets): Eliminate buf checks.  Just check eptr and set lptr.
(pwdgrp::add_line): New function.
(pwdgrp::load): Call generic add_line function which will call correct parser.
2003-01-20 02:57:54 +00:00
..
config/i386
include * cygwin.din: Add strerror_r. 2003-01-17 13:08:06 +00:00
lib * lib/pseudo-reloc.c: New file. 2002-12-09 22:49:12 +00:00
libc * Makefile.in: Add fnmatch.o to DLL_OFILES. 2002-01-17 10:39:37 +00:00
regex * environ.cc (environ_init): Avoid a compiler warning. 2002-09-30 02:51:22 +00:00
regexp Remove obsolete include. 2001-12-20 03:03:59 +00:00
CYGWIN_LICENSE
ChangeLog * pwdgrp.h (etc): Move to path.h. 2003-01-20 02:57:54 +00:00
ChangeLog-1995
ChangeLog-1996
ChangeLog-1997
ChangeLog-1998 fix spelling errors 2001-10-28 23:05:49 +00:00
ChangeLog-1999 fix spelling errors 2001-10-28 23:05:49 +00:00
ChangeLog-2000 fix spelling errors 2001-10-28 23:05:49 +00:00
ChangeLog-2001 restore missing entry 2002-01-01 16:49:52 +00:00
ChangeLog-2002 Split ChangeLog, create ChangeLog-2002. 2003-01-10 12:32:49 +00:00
Makefile.in * Makefile.in: Default fhandler objects to -fomit-frame-pointer. Eliminate 2002-12-21 05:06:37 +00:00
ROADMAP
acconfig.h
ansi.sgml
assert.cc Cleanup calls to CreateFile throughout. 2002-09-19 15:12:48 +00:00
autoload.cc * autoload.cc: Fix copyright date. 2003-01-15 10:21:23 +00:00
automode.c
binmode.c
child_info.h * child_info.h (CURR_CHILD_INFO_MAGIC): Reset. 2002-10-15 07:03:45 +00:00
config.h.in
configure * Makefile.in (VPATH): Add regex directory. 2001-12-20 02:55:11 +00:00
configure.in * Makefile.in (VPATH): Add regex directory. 2001-12-20 02:55:11 +00:00
cxx.cc * cxx.cc: New file. Implement new, new[], delete and delete[] 2002-12-04 20:36:23 +00:00
cygerrno.h * debug.cc (set_errno): Return value of errno that was set, just like the 2001-10-22 21:09:41 +00:00
cygheap.cc * cygheap.cc: Change most 'int's to 'unsigned's. 2003-01-18 03:26:07 +00:00
cygheap.h * grp.cc (read_etc_group): On NT, add a line for gid = -1. Change name 2003-01-17 05:18:30 +00:00
cygmagic * child_info.h: Add _PROC_WHOOPS enum value. 2002-08-27 04:10:54 +00:00
cygmalloc.h * cygmalloc.h (MORECORE_CANNOT_TRIM): Define. 2002-08-18 04:14:59 +00:00
cygrun.c * cygrun.c (main): Fix setting of CYGWIN environment variable. 2002-09-25 13:53:46 +00:00
cygserver.cc 2002-09-22 Conrad Scott <conrad.scott@dsl.pipex.com> 2002-09-22 12:04:15 +00:00
cygserver_client.cc 2002-09-22 Conrad Scott <conrad.scott@dsl.pipex.com> 2002-09-22 12:04:15 +00:00
cygserver_ipc.h 2002-09-22 Conrad Scott <conrad.scott@dsl.pipex.com> 2002-09-22 12:04:15 +00:00
cygserver_process.cc 2002-09-22 Conrad Scott <conrad.scott@dsl.pipex.com> 2002-09-22 12:04:15 +00:00
cygserver_shm.cc whitespace 2002-09-30 15:17:44 +00:00
cygserver_shm.h 2002-09-22 Conrad Scott <conrad.scott@dsl.pipex.com> 2002-09-22 12:04:15 +00:00
cygserver_transport.cc 2002-09-22 Conrad Scott <conrad.scott@dsl.pipex.com> 2002-09-22 12:04:15 +00:00
cygserver_transport_pipes.cc * cygserver_transport_pipes.cc (transport_layer_pipes::accept): 2002-09-30 18:31:56 +00:00
cygserver_transport_sockets.cc 2002-09-22 Conrad Scott <conrad.scott@dsl.pipex.com> 2002-09-22 12:04:15 +00:00
cygthread.cc Split ChangeLog, create ChangeLog-2002. 2003-01-10 12:32:49 +00:00
cygthread.h Throughout, change fhandler_*::read and fhandler_*::raw_read to void functions 2002-12-14 04:01:32 +00:00
cygwin.din * cygwin.din: Add strerror_r. 2003-01-17 13:08:06 +00:00
cygwin.sc * cygwin.sc: Add recent changes from ld sources. 2002-06-23 18:55:23 +00:00
cygwin_version.h
dcrt0.cc * dcrt0.cc (initialize_env): Use colon for CYGWIN_DEBUG separator. 2003-01-17 18:05:32 +00:00
debug.cc Change _function() to function() throughout. 2002-10-21 01:00:58 +00:00
debug.h * debug.h (handle_list::allocated): Remove field. 2002-08-06 03:40:40 +00:00
delqueue.cc More GNUify non-GNU formatted functions calls throughout. 2002-09-23 00:31:31 +00:00
dir.cc More GNUify non-GNU formatted functions calls throughout. 2002-09-23 00:31:31 +00:00
dlfcn.cc * cygheap.h (cygheap_fdmanip::cygheap_fdmanip): Clear fh. 2001-10-31 00:55:32 +00:00
dll_init.cc * dll_init.cc (dll_list::detach): Eliminate reliance on passed in dll address. 2002-11-14 04:29:39 +00:00
dll_init.h * dll_init.cc (dll_list::detach): Eliminate reliance on passed in dll address. 2002-11-14 04:29:39 +00:00
dll_init.sgml
dlmalloc.c
dlmalloc.h
dtable.cc Split ChangeLog, create ChangeLog-2002. 2003-01-10 12:32:49 +00:00
dtable.h Split ChangeLog, create ChangeLog-2002. 2003-01-10 12:32:49 +00:00
dtable.sgml
environ.cc * security.cc (allow_ntsec): Default to zero. 2002-09-30 03:05:13 +00:00
environ.h * cygheap.h (cygheap_user): Reorg to accommodate environment caching. 2002-06-29 02:36:08 +00:00
errno.cc * errno.cc (errmap): Map ERROR_INVALID_ADDRESS to new errno code 2002-09-24 14:17:50 +00:00
exceptions.cc Apply handle_sigsuspend patch 2003-01-14 19:55:42 +00:00
exec.cc Change _function() to function() throughout. 2002-10-21 01:00:58 +00:00
external.cc * pinfo.h (winpids::set): Renamed from init. 2002-11-29 07:05:26 +00:00
external.sgml
fcntl.cc * dtable.cc (handle_to_fn): Attempt to handle "raw" accesses to remote shares. 2002-06-05 04:01:43 +00:00
fhandler.cc 2002-12-19 Pierre Humblet <pierre.humblet@ieee.org> 2002-12-20 01:48:22 +00:00
fhandler.h Split ChangeLog, create ChangeLog-2002. 2003-01-10 12:32:49 +00:00
fhandler_clipboard.cc Throughout, change fhandler_*::read and fhandler_*::raw_read to void functions 2002-12-14 04:01:32 +00:00
fhandler_console.cc Split ChangeLog, create ChangeLog-2002. 2003-01-10 12:32:49 +00:00
fhandler_disk_file.cc Split ChangeLog, create ChangeLog-2002. 2003-01-10 12:32:49 +00:00
fhandler_dsp.cc * autoload.cc: Fix copyright date. 2003-01-15 10:21:23 +00:00
fhandler_floppy.cc Throughout, change fhandler_*::read and fhandler_*::raw_read to void functions 2002-12-14 04:01:32 +00:00
fhandler_mem.cc Throughout, change fhandler_*::read and fhandler_*::raw_read to void functions 2002-12-14 04:01:32 +00:00
fhandler_proc.cc Split ChangeLog, create ChangeLog-2002. 2003-01-10 12:32:49 +00:00
fhandler_process.cc Split ChangeLog, create ChangeLog-2002. 2003-01-10 12:32:49 +00:00
fhandler_random.cc Throughout, change fhandler_*::read and fhandler_*::raw_read to void functions 2002-12-14 04:01:32 +00:00
fhandler_raw.cc Throughout, change fhandler_*::read and fhandler_*::raw_read to void functions 2002-12-14 04:01:32 +00:00
fhandler_registry.cc Split ChangeLog, create ChangeLog-2002. 2003-01-10 12:32:49 +00:00
fhandler_serial.cc Split ChangeLog, create ChangeLog-2002. 2003-01-10 12:32:49 +00:00
fhandler_socket.cc Throughout, change fhandler_*::read and fhandler_*::raw_read to void functions 2002-12-14 04:01:32 +00:00
fhandler_tape.cc Remove \n from calls to strace class printfs throughout. 2002-09-30 04:35:18 +00:00
fhandler_termios.cc whitespace 2003-01-17 05:33:52 +00:00
fhandler_tty.cc Split ChangeLog, create ChangeLog-2002. 2003-01-10 12:32:49 +00:00
fhandler_virtual.cc Throughout, change fhandler_*::read and fhandler_*::raw_read to void functions 2002-12-14 04:01:32 +00:00
fhandler_windows.cc Throughout, change fhandler_*::read and fhandler_*::raw_read to void functions 2002-12-14 04:01:32 +00:00
fhandler_zero.cc Throughout, change fhandler_*::read and fhandler_*::raw_read to void functions 2002-12-14 04:01:32 +00:00
fork.cc * cygthread.cc (cygthread::exiting): New variable. 2002-10-22 20:16:31 +00:00
gcrt0.c
glob.c whitespace 2002-12-12 03:09:38 +00:00
gmon.c 2002-05-25 Robert Collins <rbtcollins@hotmail.com> 2002-05-24 14:24:33 +00:00
gmon.h
grp.cc * pwdgrp.h (etc): Move to path.h. 2003-01-20 02:57:54 +00:00
heap.cc * cygheap.cc (cygheap_fixup_in_child): Use user_heap element in cygheap. 2002-10-22 16:18:55 +00:00
heap.h * cygheap.cc (cygheap_fixup_in_child): Use user_heap element in cygheap. 2002-10-22 16:18:55 +00:00
hires.h * environ.cc (environ_init): Avoid a compiler warning. 2002-09-30 02:51:22 +00:00
how-autoload-works.txt whitespace 2002-12-12 03:09:38 +00:00
how-cygheap-works.txt fix spelling errors 2001-10-28 23:05:49 +00:00
how-fhandlers-work.txt . 2002-05-04 04:30:57 +00:00
how-signals-work.txt update 2002-08-03 23:34:01 +00:00
how-spawn-works.txt new how-to. 2002-02-11 02:25:42 +00:00
how-to-debug-cygwin.txt add initial information 2002-07-13 21:15:10 +00:00
how-vfork-works.txt
init.cc 2002-11-05 Thomas Pfaff <tpfaff@gmx.net> 2002-11-24 13:54:14 +00:00
ioctl.cc * ioctl.cc (ioctl): Always print ioctl results, even when it's a tty. 2002-11-14 02:15:23 +00:00
ipc.cc More GNUify non-GNU formatted functions calls throughout. 2002-09-23 00:31:31 +00:00
localtime.cc 2002-12-19 Pierre Humblet <pierre.humblet@ieee.org> 2002-12-20 03:40:00 +00:00
malloc.cc * malloc.cc: Protect some definitions to avoid a compile time warning. 2002-08-28 16:08:09 +00:00
malloc_wrapper.cc More GNUify non-GNU formatted functions calls throughout. 2002-09-23 00:31:31 +00:00
mcount.c
misc-std.sgml
miscfuncs.cc Split ChangeLog, create ChangeLog-2002. 2003-01-10 12:32:49 +00:00
mkvers.sh Add copyright stuff 2002-01-13 20:03:03 +00:00
mmap.cc * mmap.cc (fixup_mmaps_after_fork): Add ERROR_NOACCESS to the list of 2003-01-16 14:11:10 +00:00
msg.cc 2002-09-22 Conrad Scott <conrad.scott@dsl.pipex.com> 2002-09-22 12:04:15 +00:00
net.cc * autoload.cc: Fix copyright date. 2003-01-15 10:21:23 +00:00
netdb.cc * netdb.cc: Remove strtok_r comment. 2002-12-14 16:59:59 +00:00
newsym * Makefile.in (VPATH): Add regex directory. 2001-12-20 02:55:11 +00:00
ntdll.h * autoload.cc: Fix copyright date. 2003-01-15 10:21:23 +00:00
ntea.cc Cleanup calls to CreateFile throughout. 2002-09-19 15:12:48 +00:00
passwd.cc * pwdgrp.h (etc): Move to path.h. 2003-01-20 02:57:54 +00:00
path.cc * pwdgrp.h (etc): Move to path.h. 2003-01-20 02:57:54 +00:00
path.h * pwdgrp.h (etc): Move to path.h. 2003-01-20 02:57:54 +00:00
path.sgml
perprocess.h
perthread.h fix comment 2002-12-04 20:46:16 +00:00
pinfo.cc Split ChangeLog, create ChangeLog-2002. 2003-01-10 12:32:49 +00:00
pinfo.h whitespace 2002-12-12 03:09:38 +00:00
pipe.cc Split ChangeLog, create ChangeLog-2002. 2003-01-10 12:32:49 +00:00
poll.cc * poll.cc (poll): ...but set POLLIN instead. 2002-11-20 11:00:15 +00:00
posix.sgml
profil.c
profil.h
pseudo-reloc.cc * lib/pseudo-reloc.c: New file. 2002-12-09 22:49:12 +00:00
pthread.cc Split ChangeLog, create ChangeLog-2002. 2003-01-10 12:32:49 +00:00
pwdgrp.h * pwdgrp.h (etc): Move to path.h. 2003-01-20 02:57:54 +00:00
registry.cc * dtable.cc (handle_to_fn): Attempt to handle "raw" accesses to remote shares. 2002-06-05 04:01:43 +00:00
registry.h
resource.cc * dtable.cc (unknown_file): New variable. 2002-10-07 20:06:16 +00:00
rmsym * Makefile.in (VPATH): Add regex directory. 2001-12-20 02:55:11 +00:00
safe_memory.h 2002-09-22 Conrad Scott <conrad.scott@dsl.pipex.com> 2002-09-22 12:04:15 +00:00
scandir.cc
sched.cc * miscfuncs.cc (low_priority_sleep): New function. Use throughout where code 2002-11-13 19:36:12 +00:00
sec_acl.cc * sec_acl.cc (search_ace): Use id == -1, instead of < 0, as wildcard. 2003-01-12 11:38:51 +00:00
sec_helper.cc 2002-12-14 Corinna Vinschen <corinna@vinschen.de> 2002-12-14 17:23:42 +00:00
security.cc * sec_acl.cc (search_ace): Use id == -1, instead of < 0, as wildcard. 2003-01-12 11:38:51 +00:00
security.h 2002-12-14 Corinna Vinschen <corinna@vinschen.de> 2002-12-14 17:23:42 +00:00
select.cc * cygthread.h (cygthread::stack_ptr): New element. 2002-12-11 04:00:04 +00:00
select.h
sem.cc 2002-09-22 Conrad Scott <conrad.scott@dsl.pipex.com> 2002-09-22 12:04:15 +00:00
shared.cc space 2002-11-02 03:31:15 +00:00
shared.sgml
shared_info.h * cygheap.cc (cygheap_fixup_in_child): Use user_heap element in cygheap. 2002-10-22 16:18:55 +00:00
shm.cc 2002-09-22 Conrad Scott <conrad.scott@dsl.pipex.com> 2002-09-22 12:04:15 +00:00
signal.cc * autoload.cc: Fix copyright date. 2003-01-15 10:21:23 +00:00
sigproc.cc * sigproc.cc (sig_dispatch_pending): Remove assertion. 2002-11-29 00:43:50 +00:00
sigproc.h * exceptions.cc (sigthread::get_winapi_lock): Just do standard 'give up 2002-11-22 04:43:47 +00:00
smallprint.c * winver.rc: Add more words to copyright. 2002-06-13 17:28:11 +00:00
spawn.cc * dtable.cc (dtable::set_file_pointers_for_exec): New function. 2002-10-17 17:45:09 +00:00
speclib * speclib: Ensure that temporary def file is removed. 2002-01-24 21:39:09 +00:00
stackdump.sgml new description for old api. 2002-04-04 05:28:49 +00:00
strace.cc * cygheap.cc (cygheap_fixup_in_child): Use user_heap element in cygheap. 2002-10-22 16:18:55 +00:00
string.h * winbase.h: Turn on inline versions of Interlocked* by default. 2002-12-14 05:06:59 +00:00
strsep.cc
sync.cc * dtable.cc (handle_to_fn): Attempt to handle "raw" accesses to remote shares. 2002-06-05 04:01:43 +00:00
sync.h * Makefile.in: Add support for new malloc.o and renamed malloc_wrapper.o. Use 2002-08-16 19:41:39 +00:00
syscalls.cc * autoload.cc: Fix copyright date. 2003-01-15 10:21:23 +00:00
sysconf.cc Split ChangeLog, create ChangeLog-2002. 2003-01-10 12:32:49 +00:00
syslog.cc * fhandler.cc (fhandler_base::dup): Don't set handle on failure. Caller has 2002-09-22 03:38:57 +00:00
termios.cc * fhandler.cc (fhandler_base::dup): Don't set handle on failure. Caller has 2002-09-22 03:38:57 +00:00
textmode.c
thread.cc spacing cleanup 2003-01-14 20:31:47 +00:00
thread.h Split ChangeLog, create ChangeLog-2002. 2003-01-10 12:32:49 +00:00
threaded_queue.cc 2002-09-22 Conrad Scott <conrad.scott@dsl.pipex.com> 2002-09-22 12:04:15 +00:00
threaded_queue.h 2002-09-22 Conrad Scott <conrad.scott@dsl.pipex.com> 2002-09-22 12:04:15 +00:00
times.cc Change _function() to function() throughout. 2002-10-21 01:00:58 +00:00
tty.cc * fhandler_tty.cc (fhandler_pty_master::accept_input): Just use a normal Sleep 2002-11-26 20:32:39 +00:00
tty.h Update copyright. 2002-03-05 18:03:32 +00:00
tz_posixrules.h
uinfo.cc * pwdgrp.h (etc): Move to path.h. 2003-01-20 02:57:54 +00:00
uname.cc * autoload.cc: Fix copyright date. 2003-01-15 10:21:23 +00:00
wait.cc * autoload.cc: Fix copyright date. 2003-01-15 10:21:23 +00:00
winbase.h * winbase.h: Turn on inline versions of Interlocked* by default. 2002-12-14 05:06:59 +00:00
wincap.cc * shared.cc (open_shared): Revert to "old" method for shared memory location if 2002-10-15 17:04:20 +00:00
wincap.h * shared.cc (open_shared): Revert to "old" method for shared memory location if 2002-10-15 17:04:20 +00:00
window.cc Split ChangeLog, create ChangeLog-2002. 2003-01-10 12:32:49 +00:00
winsup.h Split ChangeLog, create ChangeLog-2002. 2003-01-10 12:32:49 +00:00
winver.rc * winver.rc: Add more words to copyright. 2002-06-13 17:28:11 +00:00
woutsup.h 2002-09-22 Conrad Scott <conrad.scott@dsl.pipex.com> 2002-09-22 12:04:15 +00:00
wsock_event.h * dtable.cc (dtable::dup2): Revert previous patch. 2002-02-09 10:40:48 +00:00