newlib/winsup/cygwin
Conrad Scott b4f06520f4 * winsup.h (__check_null_invalid_struct): Make ptr argument non-const.
(__check_null_invalid_struct_errno): Ditto.
	* miscfuncs.cc (__check_null_invalid_struct): Ditto.
	(__check_null_invalid_struct_errno): Ditto.
	(__check_invalid_read_ptr_errno): Remove superfluous cast.
	* net.cc (get): Set appropriate errno if fd is not a socket.
	(cygwin_sendto): Fix parameter checking.
	(cygwin_recvfrom): Ditto.
	(cygwin_setsockopt): Ditto.
	(cygwin_getsockopt): Ditto.
	(cygwin_connect): Ditto.
	(cygwin_gethostbyaddr): Ditto.
	(cygwin_accept): Ditto.
	(cygwin_bind): Ditto.
	(cygwin_getsockname): Ditto.
	(cygwin_listen): Ditto.
	(cygwin_getpeername): Ditto.
	(cygwin_send): Ditto.
	(cygwin_shutdown): Ditto.  Move sigframe to fhandler_socket.
	(cygwin_recvmsg): Fix parameter checking.  Add tracing.
	(cygwin_sendmsg): Ditto.
	* fhandler_socket.cc (fhandler_socket::shutdown): Add sigframe.
	* resource.cc (setrlimit): Fix parameter checking.
2002-08-08 17:03:20 +00:00
..
config/i386 Update copyrights. 2001-09-11 20:01:02 +00:00
include * security.cc: Change some formatting. 2002-07-29 12:51:52 +00:00
lib * lib/_cygwin_S_IEXEC.cc: Remove obsolete file. 2002-06-24 02:08:41 +00:00
libc * Makefile.in: Add fnmatch.o to DLL_OFILES. 2002-01-17 10:39:37 +00:00
regex * hires.h (hires::usecs): Rename from utime. Accept an argument. 2002-02-15 17:06:40 +00:00
regexp Remove obsolete include. 2001-12-20 03:03:59 +00:00
CYGWIN_LICENSE Red Hatize 2001-10-12 01:51:21 +00:00
ChangeLog * winsup.h (__check_null_invalid_struct): Make ptr argument non-const. 2002-08-08 17:03:20 +00:00
ChangeLog-1995 import winsup-2000-02-17 snapshot 2000-02-17 19:38:33 +00:00
ChangeLog-1996 import winsup-2000-02-17 snapshot 2000-02-17 19:38:33 +00:00
ChangeLog-1997 import winsup-2000-02-17 snapshot 2000-02-17 19:38:33 +00:00
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
Makefile.in * Makefile.in (DLL_OFILES): Add cygthread.o. 2002-08-01 16:20:31 +00:00
ROADMAP hinfo -> dtable 2000-08-18 19:51:02 +00:00
acconfig.h * acconfig.h: Add support for NEWVFORK. 2000-07-16 17:38:41 +00:00
ansi.sgml import winsup-2000-02-17 snapshot 2000-02-17 19:38:33 +00:00
assert.cc * pinfo.cc (codepage_init): Move function. 2001-01-08 04:02:02 +00:00
autoload.cc * autoload.cc (LoadDLLprime): Add jmp call to allow streamlining of later jmp 2002-07-20 04:59:15 +00:00
automode.c * autoload.c (cygwin_premain0): Add missing parameter. 2001-03-06 12:05:45 +00:00
binmode.c * autoload.c (cygwin_premain0): Add missing parameter. 2001-03-06 12:05:45 +00:00
child_info.h * child_info.h (child_proc_info): Declare as base class. 2002-06-15 21:59:32 +00:00
config.h.in * dlmalloc.c: New file. Port of Doug Lea's malloc 2001-04-24 15:25:31 +00:00
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
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 one more change 2002-08-07 01:22:56 +00:00
cygheap.h * security.cc: Change some formatting. 2002-07-29 12:51:52 +00:00
cygmagic * cygmagic: Suppress error output when figuring out if sum takes an option. 2002-01-22 03:48:16 +00:00
cygrun.c Update copyrights. 2001-09-11 20:01:02 +00:00
cygserver.cc * cygserver.cc: Include stdlib.h for exit declaration. 2002-03-15 21:52:05 +00:00
cygserver_client.cc whitespace cleanup, update copyright 2002-03-13 02:34:05 +00:00
cygserver_process.cc * autoload.cc (LoadFuncEx): Define via new LoadFuncEx2 macro. 2002-05-28 01:55:40 +00:00
cygserver_shm.cc Use cygwin_{shm,ipc}.h instead of /sys/{shm,ipc}.h throughout. 2002-06-23 22:56:58 +00:00
cygserver_shm.h whitespace cleanup, update copyright 2002-03-13 02:34:05 +00:00
cygserver_transport.cc 2002-06-10 Robert Collins <rbtcollins@hotmail.com> 2002-06-09 23:02:00 +00:00
cygserver_transport_pipes.cc whitespace cleanup, update copyright 2002-03-13 02:34:05 +00:00
cygserver_transport_sockets.cc whitespace cleanup, update copyright 2002-03-13 02:34:05 +00:00
cygthread.cc * cygthread.cc (cygthread::stub): Accept flag to pass info structure to thread 2002-08-06 05:08:55 +00:00
cygthread.h * cygthread.cc (cygthread::stub): Accept flag to pass info structure to thread 2002-08-06 05:08:55 +00:00
cygwin.din * security.cc: Change some formatting. 2002-07-29 12:51:52 +00:00
cygwin.sc * cygwin.sc: Add recent changes from ld sources. 2002-06-23 18:55:23 +00:00
cygwin_ipc.h Use cygwin_{shm,ipc}.h instead of /sys/{shm,ipc}.h throughout. 2002-06-23 22:56:58 +00:00
cygwin_shm.h Use cygwin_{shm,ipc}.h instead of /sys/{shm,ipc}.h throughout. 2002-06-23 22:56:58 +00:00
cygwin_version.h Update copyrights. 2001-09-11 20:01:02 +00:00
dcrt0.cc * Makefile.in (DLL_OFILES): Add cygthread.o. 2002-08-01 16:20:31 +00:00
debug.cc * debug.h (handle_list::allocated): Remove field. 2002-08-06 03:40:40 +00:00
debug.h * debug.h (handle_list::allocated): Remove field. 2002-08-06 03:40:40 +00:00
delqueue.cc * Makefile.in: Build wincap.o. 2001-09-12 17:46:37 +00:00
dir.cc * dir.cc (rmdir): Streamline. Detect attempts to remove directories from 2002-06-05 16:01:55 +00:00
dlfcn.cc * cygheap.h (cygheap_fdmanip::cygheap_fdmanip): Clear fh. 2001-10-31 00:55:32 +00:00
dll_init.cc * dtable.cc (handle_to_fn): Attempt to handle "raw" accesses to remote shares. 2002-06-05 04:01:43 +00:00
dll_init.h revert patch 2002-04-19 14:42:20 +00:00
dll_init.sgml import winsup-2000-02-17 snapshot 2000-02-17 19:38:33 +00:00
dlmalloc.c * cygheap.cc (cfree): Remove malloc debugging probe. 2001-10-03 03:49:26 +00:00
dlmalloc.h * dlmalloc.c: New file. Port of Doug Lea's malloc 2001-04-24 15:25:31 +00:00
dtable.cc * dtable.cc (cygwin_attach_handle_to_fd): Default to implicit bin mode if none 2002-07-03 18:02:54 +00:00
dtable.h * dtable.cc (dtable::build_fhandler_from_name): Just pass posix path along to 2002-05-24 05:44:10 +00:00
dtable.sgml import winsup-2000-02-17 snapshot 2000-02-17 19:38:33 +00:00
environ.cc * environ.cc (parse_options): Use setenv to potentially replace CYGWIN value on 2002-07-01 02:11:30 +00:00
environ.h * cygheap.h (cygheap_user): Reorg to accommodate environment caching. 2002-06-29 02:36:08 +00:00
errno.cc * syscalls.c (seteuid32): Do not return an error when the token cannot be 2002-07-01 23:42:05 +00:00
exceptions.cc * path.cc (path_conv::check): Always set fileattr when component == 0. 2002-07-24 05:37:47 +00:00
exec.cc * Makefile.in: Ensure that -MD gets added to CFLAGS regardless of CFLAGS 2002-06-11 02:08:00 +00:00
external.cc * Makefile.in (DLL_OFILES): Add cygthread.o. 2002-08-01 16:20:31 +00:00
external.sgml *** empty log message *** 2000-11-19 04:58:18 +00:00
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 * dcrt0.cc (dll_crt0_1): Move debug_init call back to here. Avoid a compiler 2002-07-14 19:15:32 +00:00
fhandler.h * cygthread.cc (cygthread::exit_thread): Define new method. 2002-08-02 02:10:24 +00:00
fhandler_clipboard.cc * fhandler_clipboard.c (fhandler_dev_clipboard::open): Force text mode. 2002-07-01 19:03:26 +00:00
fhandler_console.cc * Makefile.in (DLL_OFILES): Add cygthread.o. 2002-08-01 16:20:31 +00:00
fhandler_disk_file.cc * fhandler_disk_file.cc (fhandler_cygdrive::set_drives): Incorporate . and .. 2002-07-30 14:17:17 +00:00
fhandler_dsp.cc * cygheap.cc (init_cheap): Rearrange error message. 2002-07-03 03:20:50 +00:00
fhandler_floppy.cc Remove fcntl.h includes throughout. 2002-06-05 01:42:28 +00:00
fhandler_mem.cc Remove fcntl.h includes throughout. 2002-06-05 01:42:28 +00:00
fhandler_proc.cc * autoload.cc (GetSecurityInfo): Define new autoload function. 2002-07-02 01:36:15 +00:00
fhandler_process.cc * autoload.cc (GetSecurityInfo): Define new autoload function. 2002-07-02 01:36:15 +00:00
fhandler_random.cc * fhandler_clipboard.c (fhandler_dev_clipboard::open): Force text mode. 2002-07-01 19:03:26 +00:00
fhandler_raw.cc * fhandler_clipboard.c (fhandler_dev_clipboard::open): Force text mode. 2002-07-01 19:03:26 +00:00
fhandler_registry.cc * fhandler_registry.cc (fhandler_registry::close): Return any error result to 2002-07-26 19:58:00 +00:00
fhandler_serial.cc * fhandler_serial.cc: Change 'must_init_serial_line capability' 2002-07-24 11:01:37 +00:00
fhandler_socket.cc * winsup.h (__check_null_invalid_struct): Make ptr argument non-const. 2002-08-08 17:03:20 +00:00
fhandler_tape.cc Remove fcntl.h includes throughout. 2002-06-05 01:42:28 +00:00
fhandler_termios.cc * fhandler_console.cc (fhandler_console::read): Use appropriate kill_pgrp 2002-07-29 03:18:41 +00:00
fhandler_tty.cc * cygthread.cc (cygthread::stub): Accept flag to pass info structure to thread 2002-08-06 05:08:55 +00:00
fhandler_virtual.cc * autoload.cc (GetSecurityInfo): Define new autoload function. 2002-07-02 01:36:15 +00:00
fhandler_windows.cc * fhandler_clipboard.c (fhandler_dev_clipboard::open): Force text mode. 2002-07-01 19:03:26 +00:00
fhandler_zero.cc * fhandler_clipboard.c (fhandler_dev_clipboard::open): Force text mode. 2002-07-01 19:03:26 +00:00
fork.cc * debug.h (handle_list): Move here from debug.cc. Add "inherit" flag 2002-07-13 20:00:27 +00:00
gcrt0.c Update copyrights. 2001-09-11 20:01:02 +00:00
glob.c * fhandler.cc (fhandler_base::fstat): Initialise tv_nsec member of 2002-06-06 15:35:09 +00:00
gmon.c 2002-05-25 Robert Collins <rbtcollins@hotmail.com> 2002-05-24 14:24:33 +00:00
gmon.h import winsup-2000-02-17 snapshot 2000-02-17 19:38:33 +00:00
grp.cc * security.cc (verify_token): Do not reject a token just because 2002-08-02 11:00:18 +00:00
heap.cc * dtable.cc (handle_to_fn): Attempt to handle "raw" accesses to remote shares. 2002-06-05 04:01:43 +00:00
heap.h * heap.h (inheap): Check for NULL. 2001-10-05 04:36:14 +00:00
hires.h * autoload.cc (timeGetDevCaps): Define new autoload function. 2002-06-07 03:44:33 +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 * fhandler.h (fhandler_pipe::hit_eof): New method. 2001-09-24 21:50:44 +00:00
init.cc Throughout, rename PROC_FORK1 to PROC_FORK. 2001-10-10 02:32:12 +00:00
ioctl.cc Add copyright stuff 2002-01-13 20:03:03 +00:00
ipc.cc Use cygwin_{shm,ipc}.h instead of /sys/{shm,ipc}.h throughout. 2002-06-23 22:56:58 +00:00
localtime.cc * localtime.cc (tzsetwall): Use wildabbr if generated timezone name 2002-05-07 13:18:44 +00:00
malloc_wrapper.cc * dtable.cc (handle_to_fn): Attempt to handle "raw" accesses to remote shares. 2002-06-05 04:01:43 +00:00
mcount.c * sigproc.cc (sig_send): Eliminate sync_sig_send synchronization since it 2000-03-07 18:32:40 +00:00
misc-std.sgml clean up SGML for latest version of jade/docbook 2000-04-19 00:55:19 +00:00
miscfuncs.cc * winsup.h (__check_null_invalid_struct): Make ptr argument non-const. 2002-08-08 17:03:20 +00:00
mkvers.sh Add copyright stuff 2002-01-13 20:03:03 +00:00
mmap.cc * mmap.cc (list::match): Check using pagesize aligned size. 2002-06-27 13:01:35 +00:00
net.cc * winsup.h (__check_null_invalid_struct): Make ptr argument non-const. 2002-08-08 17:03:20 +00:00
newsym * Makefile.in (VPATH): Add regex directory. 2001-12-20 02:55:11 +00:00
ntdll.h * ntdll.h (_SYSTEM_PROCESSOR_TIMES): Force eight byte alignment. 2002-07-05 21:58:49 +00:00
ntea.cc Update copyrights. 2001-09-11 20:01:02 +00:00
passwd.cc Use hMainProc where appropriate, throughout. 2002-06-19 15:27:27 +00:00
path.cc * path.cc (path_conv::check): Always set fileattr when component == 0. 2002-07-24 05:37:47 +00:00
path.h * path.cc (path_conv::check): Always set fileattr when component == 0. 2002-07-24 05:37:47 +00:00
path.sgml revert. 2001-06-01 01:45:53 +00:00
perprocess.h * dlopen.c (dlopen): Return NULL when name is NULL (suggested by 2001-03-05 06:28:25 +00:00
perthread.h * debug.cc (makethread): Eliminate unneeded function call. 2001-11-30 06:19:58 +00:00
pinfo.cc Use hMainProc where appropriate, throughout. 2002-06-19 15:27:27 +00:00
pinfo.h * Makefile.in: Ensure that -MD gets added to CFLAGS regardless of CFLAGS 2002-06-11 02:08:00 +00:00
pipe.cc * dcrt0.cc (dll_crt0_1): Move debug_fixup_after_fork_exec. 2002-07-30 01:31:51 +00:00
poll.cc * dtable.cc (handle_to_fn): Attempt to handle "raw" accesses to remote shares. 2002-06-05 04:01:43 +00:00
posix.sgml clean up SGML for latest version of jade/docbook 2000-04-19 00:55:19 +00:00
profil.c Update copyrights. 2001-09-11 20:01:02 +00:00
profil.h Update copyrights. 2001-09-11 20:01:02 +00:00
pthread.cc 2002-06-25 Thomas Pfaff <tpfaff@gmx.net> 2002-07-04 14:17:30 +00:00
pwdgrp.h * pwdgrp.h (pwdgrp_read::~pwdgrp_read): Avoid compiler warning. 2002-06-26 14:59:22 +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 Update copyrights. 2001-09-11 20:01:02 +00:00
resource.cc * winsup.h (__check_null_invalid_struct): Make ptr argument non-const. 2002-08-08 17:03:20 +00:00
rmsym * Makefile.in (VPATH): Add regex directory. 2001-12-20 02:55:11 +00:00
scandir.cc * lib/getopt.c: Use __progname==__argv[0] when not compiling for cygwin. 2001-09-19 15:54:12 +00:00
sched.cc Remove unneeded sigproc.h includes throughout. 2002-06-02 06:07:01 +00:00
sec_acl.cc * security.h (DONT_INHERIT): Eliminate definition. 2002-07-02 08:11:15 +00:00
sec_helper.cc Patch by Joe Buehler <jbuehler@hekimian.com>: 2002-08-08 14:16:14 +00:00
security.cc * security.cc (verify_token): Do not reject a token just because 2002-08-02 11:00:18 +00:00
security.h * security.cc: Change some formatting. 2002-07-29 12:51:52 +00:00
select.cc * Makefile.in (DLL_OFILES): Add cygthread.o. 2002-08-01 16:20:31 +00:00
select.h Update copyrights. 2001-09-11 20:01:02 +00:00
shared.cc Conrad Scott <conrad.scott@dsl.pipex.com 2002-08-06 22:05:53 +00:00
shared.sgml import winsup-2000-02-17 snapshot 2000-02-17 19:38:33 +00:00
shared_info.h * path.cc: Change MOUNT_AUTO to MOUNT_CYGDRIVE throughout. 2002-06-09 00:48:38 +00:00
shm.cc Use cygwin_{shm,ipc}.h instead of /sys/{shm,ipc}.h throughout. 2002-06-23 22:56:58 +00:00
shortcut.c * winsup.h: Reorganize to avoid use of experimental stuff. 2001-11-28 02:36:32 +00:00
shortcut.h fix typo 2002-06-13 17:28:50 +00:00
signal.cc Remove unneeded sync.h, where appropriate, throughout. Remove unneeded heap.h, 2002-05-25 02:22:50 +00:00
sigproc.cc * spawn.cc (spawn_guts): Don't set mount_h here. 2002-08-06 05:48:33 +00:00
sigproc.h Remove unneeded sigproc.h includes throughout. 2002-06-02 06:07:01 +00:00
smallprint.c * winver.rc: Add more words to copyright. 2002-06-13 17:28:11 +00:00
spawn.cc * spawn.cc (spawn_guts): Don't set mount_h here. 2002-08-06 05:48:33 +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 * Makefile.in (DLL_OFILES): Add cygthread.o. 2002-08-01 16:20:31 +00:00
string.h * string.h (cygwin_strchr): Make 'static inline' so that things will still work 2001-05-06 16:00:23 +00:00
strsep.cc import winsup-2000-02-17 snapshot 2000-02-17 19:38:33 +00:00
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 * winver.rc: Add more words to copyright. 2002-06-13 17:28:11 +00:00
syscalls.cc * security.cc (verify_token): Do not reject a token just because 2002-08-02 11:00:18 +00:00
sysconf.cc * dtable.cc (handle_to_fn): Attempt to handle "raw" accesses to remote shares. 2002-06-05 04:01:43 +00:00
syslog.cc * fhandler.cc (fhandler_base::fork_fixup): Don't protect handle. 2001-10-15 23:39:33 +00:00
termios.cc * fhandler_console.cc (fhandler_console::read): Use appropriate kill_pgrp 2002-07-29 03:18:41 +00:00
textmode.c * autoload.c (cygwin_premain0): Add missing parameter. 2001-03-06 12:05:45 +00:00
thread.cc 2002-06-25 Thomas Pfaff <tpfaff@gmx.net> 2002-07-04 14:17:30 +00:00
thread.h 2002-06-25 Thomas Pfaff <tpfaff@gmx.net> 2002-07-04 14:17:30 +00:00
threaded_queue.cc * dtable.cc (handle_to_fn): Attempt to handle "raw" accesses to remote shares. 2002-06-05 04:01:43 +00:00
threaded_queue.h * winver.rc: Add more words to copyright. 2002-06-13 17:28:11 +00:00
times.cc * times.cc (to_time_t): Always round time_t down to nearest second. 2002-07-25 15:59:49 +00:00
tty.cc * cygthread.cc (cygthread::exit_thread): Define new method. 2002-08-02 02:10:24 +00:00
tty.h Update copyright. 2002-03-05 18:03:32 +00:00
tz_posixrules.h Move appropriate variables to NO_COPY segment, throughout. 2001-09-06 05:17:22 +00:00
uinfo.cc * security.cc: Change some formatting. 2002-07-29 12:51:52 +00:00
uname.cc * dtable.cc (handle_to_fn): Attempt to handle "raw" accesses to remote shares. 2002-06-05 04:01:43 +00:00
wait.cc * dtable.cc (handle_to_fn): Attempt to handle "raw" accesses to remote shares. 2002-06-05 04:01:43 +00:00
winbase.h * cygwin.sc: Add recent changes from ld sources. 2002-06-23 18:55:23 +00:00
wincap.cc * fhandler_serial.cc: Change 'must_init_serial_line capability' 2002-07-24 11:01:37 +00:00
wincap.h * fhandler_serial.cc: Change 'must_init_serial_line capability' 2002-07-24 11:01:37 +00:00
window.cc * Makefile.in (DLL_OFILES): Add cygthread.o. 2002-08-01 16:20:31 +00:00
winsup.h * winsup.h (__check_null_invalid_struct): Make ptr argument non-const. 2002-08-08 17:03:20 +00:00
winver.rc * winver.rc: Add more words to copyright. 2002-06-13 17:28:11 +00:00
wsock_event.h * dtable.cc (dtable::dup2): Revert previous patch. 2002-02-09 10:40:48 +00:00