newlib/winsup/cygwin
Corinna Vinschen 0d6531551b * cygwin.din (accept4): Export.
* fhandler.h (fhandler_socket::accept4): Rename from accept.  Take
	additional flag parameter.
	* fhandler_socket.cc (fhandler_socket::accept4): Ditto.  Handle
	SOCK_NONBLOCK and SOCK_CLOEXEC flags.
	* net.cc (cygwin_socket): Handle SOCK_NONBLOCK and SOCK_CLOEXEC flags
	in type.  Check for invalid flag values.
	(socketpair): Ditto.
	(cygwin_accept): Accommodate renaming of fhandler_socket::accept
	function to accept4.
	(accept4): New function.
	* posix.sgml: Mention accept4 as GNU extensions.
	* include/cygwin/socket.h (SOCK_NONBLOCK): Define.
	(SOCK_CLOEXEC): Define.
	(_SOCK_FLAG_MASK): Define when building Cygwin.
	* include/cygwin/version.h (CYGWIN_VERSION_API_MINOR): Bump.
	* include/sys/socket.h (accept4): Declare.
2010-01-15 15:40:05 +00:00
..
config/i386
include * cygwin.din (accept4): Export. 2010-01-15 15:40:05 +00:00
lib Correct pseudo-reloc size bug wrt error messages 2009-10-26 14:50:09 +00:00
libc Make pty.h match recent glibc. 2009-12-26 06:20:56 +00:00
regex * libc/minires.c (scanline): Fix type in calls to ctype functions 2009-05-06 12:03:34 +00:00
acconfig.h
aclocal.m4
analyze_sigfe
assert.cc
autoload.cc Reintegrate socket duplication via WSADuplicateSocket/WSASocket. 2009-11-17 10:43:01 +00:00
automode.c
binmode.c
ChangeLog * cygwin.din (accept4): Export. 2010-01-15 15:40:05 +00:00
ChangeLog-1995
ChangeLog-1996
ChangeLog-1997
ChangeLog-1998
ChangeLog-1999
ChangeLog-2000
ChangeLog-2001
ChangeLog-2002 * ChangeLog-2002: Fix typo. 2009-09-22 02:49:15 +00:00
ChangeLog-2003
ChangeLog-2004
ChangeLog-2005
ChangeLog-2006
ChangeLog-2007
ChangeLog-2008 * ChangeLog-2002: Fix typo. 2009-09-22 02:49:15 +00:00
ChangeLog-2009 * dcrt0.cc: Bump copyright. 2010-01-01 19:28:15 +00:00
child_info.h * Makefile.in: Use all compile options when calculating magic values. 2009-04-05 16:49:15 +00:00
config.h.in
configure
configure.in
cpuid.h
crt0.c
ctype.cc * ctype.cc (__set_ctype): Copy exact part of the current active 2009-04-21 20:10:55 +00:00
cxx.cc * cxx.cc (default_cygwin_cxx_malloc): Enhance commenting. 2009-08-13 07:35:50 +00:00
cygerrno.h * cygerrno.h (save_errno::~save_errno): Set errno directly to avoid 2009-06-08 19:44:33 +00:00
cygheap_malloc.h * cygheap_malloc.h: New file. 2009-08-01 19:52:46 +00:00
cygheap.cc * cygheap.cc (cygheap_init): Default locale.charset to "UTF-8". 2009-09-28 10:43:49 +00:00
cygheap.h * include/sys/cygwin.h: Add new cygwin_getinfo_type 2009-10-13 10:23:31 +00:00
cyglsa.h
cygmagic
cygmalloc.h
cygprops.h * cygprops.h: New file. 2009-10-31 13:24:06 +00:00
cygserver_ipc.h
cygserver_msg.h
cygserver_sem.h
cygserver_setpwd.h
cygserver_shm.h
cygserver.h
cygthread.cc
cygthread.h
cygtls.cc * cygtls.cc (_cygtls::init_exception_handler): Test for e, not e->prev or we 2009-07-17 18:17:11 +00:00
cygtls.h * cygtls.h (struct _local_storage): Add thread storage pointers for 2009-07-06 15:42:01 +00:00
cygwin_version.h
cygwin-cxx.h winsup/ChangeLog: 2009-07-07 20:12:44 +00:00
cygwin-shilka
cygwin.din * cygwin.din (accept4): Export. 2010-01-15 15:40:05 +00:00
cygwin.sc
dcrt0.cc * dcrt0.cc (dll_crt0_1): Reset locale to "C" at the last moment before 2010-01-14 18:56:24 +00:00
debug.cc * cygheap.h (cygheap_debug::endh): Delete. 2009-08-05 04:44:27 +00:00
debug.h
devices.cc
devices.h
devices.in
dir.cc * dtable.cc (build_fh_name_worker): Remove. Move all functionality 2010-01-12 10:14:59 +00:00
dlfcn.cc * dlfcn.cc (get_full_path_of_dll): Drop enforcing a .dll suffix. 2009-11-02 14:39:08 +00:00
dll_init.cc * dll_init.h (has_dtors): New flag. 2009-08-21 21:32:06 +00:00
dll_init.h * dll_init.h (has_dtors): New flag. 2009-08-21 21:32:06 +00:00
dll_init.sgml
dllfixdbg
dlmalloc.c
dlmalloc.h
dtable.cc * cygwin.din (dup3): Export. 2010-01-14 18:46:02 +00:00
dtable.h * cygwin.din (dup3): Export. 2010-01-14 18:46:02 +00:00
dtable.sgml
environ.cc Fix setenv and unsetenv corner cases. 2009-11-16 20:05:49 +00:00
environ.h
errno.cc * errno.cc (errmap): Add mapping for ERROR_IO_INCOMPLETE. 2009-06-14 23:42:09 +00:00
exceptions.cc Throughout, revert ill-conceived replacement of hMainThread with 2009-12-21 09:38:25 +00:00
exec.cc * exec.cc (execvp): Call find_exec with FE_NNF flag to enforce 2009-12-21 15:16:28 +00:00
external.cc * cygprops.h: New file. 2009-10-31 13:24:06 +00:00
external.sgml
fcntl.cc * cygwin.din (dup3): Export. 2010-01-14 18:46:02 +00:00
fhandler_clipboard.cc * sigproc.h (wait_for_sigthread): Eliminate parameter. 2009-07-24 20:54:33 +00:00
fhandler_console.cc * cygwin.din (dup3): Export. 2010-01-14 18:46:02 +00:00
fhandler_disk_file.cc * globals.cc (ro_u_nwfs): New R/O unicode string. 2010-01-12 14:47:46 +00:00
fhandler_dsp.cc * sigproc.h (wait_for_sigthread): Eliminate parameter. 2009-07-24 20:54:33 +00:00
fhandler_fifo.cc * cygwin.din (dup3): Export. 2010-01-14 18:46:02 +00:00
fhandler_floppy.cc * sigproc.h (wait_for_sigthread): Eliminate parameter. 2009-07-24 20:54:33 +00:00
fhandler_mailslot.cc * cygwin.din (dup3): Export. 2010-01-14 18:46:02 +00:00
fhandler_mem.cc * cygwin.din (dup3): Export. 2010-01-14 18:46:02 +00:00
fhandler_netdrive.cc * fhandler_netdrive.cc (GET_RESOURCE_INFO): Remove. 2009-07-15 18:18:03 +00:00
fhandler_nodevice.cc
fhandler_proc.cc * fhandler_proc.cc (format_proc_stat): Use new in_buf. 2010-01-11 15:10:21 +00:00
fhandler_process.cc
fhandler_procnet.cc
fhandler_random.cc * fhandler_random.cc (fhandler_dev_random::lseek): Revert change from 2009-10-30 10:53:54 +00:00
fhandler_raw.cc
fhandler_registry.cc * cygwin.din (dup3): Export. 2010-01-14 18:46:02 +00:00
fhandler_serial.cc * sigproc.h (wait_for_sigthread): Eliminate parameter. 2009-07-24 20:54:33 +00:00
fhandler_socket.cc * cygwin.din (accept4): Export. 2010-01-15 15:40:05 +00:00
fhandler_tape.cc * cygwin.din (dup3): Export. 2010-01-14 18:46:02 +00:00
fhandler_termios.cc * fhandler.h (fhandler_pty_master::tcgetpgrp): Declare. 2009-10-07 07:52:30 +00:00
fhandler_tty.cc * cygwin.din (dup3): Export. 2010-01-14 18:46:02 +00:00
fhandler_virtual.cc * sigproc.h (wait_for_sigthread): Eliminate parameter. 2009-07-24 20:54:33 +00:00
fhandler_virtual.h
fhandler_windows.cc * sigproc.h (wait_for_sigthread): Eliminate parameter. 2009-07-24 20:54:33 +00:00
fhandler_zero.cc * sigproc.h (wait_for_sigthread): Eliminate parameter. 2009-07-24 20:54:33 +00:00
fhandler.cc * cygwin.din (dup3): Export. 2010-01-14 18:46:02 +00:00
fhandler.h * cygwin.din (accept4): Export. 2010-01-15 15:40:05 +00:00
flock.cc Throughout, replace hMainProc with GetCurrentProcess/NtCurrentProcess 2009-12-18 20:32:04 +00:00
fork.cc Throughout, replace hMainProc with GetCurrentProcess/NtCurrentProcess 2009-12-18 20:32:04 +00:00
gcrt0.c
gendef * gendef (cleanup): Rename from 'nocr'. Remove comments and trailing spaces. 2009-06-28 18:23:35 +00:00
gendevices
gentls_offsets
glob_pattern_p.cc
glob.cc
globals.cc * globals.cc (ro_u_nwfs): New R/O unicode string. 2010-01-12 14:47:46 +00:00
gmon.c
gmon.h
grp.cc
heap.cc * heap.cc (heap_init): Fix typo in comment. 2009-06-05 11:15:28 +00:00
heap.h
hires.h Improve clock_gettime and utimensat resolution. 2009-10-13 02:26:33 +00:00
hookapi.cc
how-autoload-works.txt
how-cygheap-works.txt
how-cygtls-works.txt
how-fhandlers-work.txt
how-signals-work.txt
how-spawn-works.txt * how-spawn-works.txt: Add "out of date" note. 2009-07-12 21:26:40 +00:00
how-to-debug-cygwin.txt
how-vfork-works.txt * how-spawn-works.txt: Add "out of date" note. 2009-07-12 21:26:40 +00:00
init.cc Throughout, replace hMainProc with GetCurrentProcess/NtCurrentProcess 2009-12-18 20:32:04 +00:00
ioctl.cc
ipc.cc
kernel32.cc * kernel32.cc (CreateMutexW): Use correct access mask. 2009-09-24 09:09:45 +00:00
libstdcxx_wrapper.cc * fhandler.h (fhandler_cygdrive:DRVSZ): New enum. 2009-08-04 04:20:36 +00:00
localtime.cc * localtime.cc (time2): Take another stab at fixing a compiler warning. 2009-06-14 09:35:35 +00:00
lsearch.cc
Makefile.in * Makefile.in (CFLAGS): Add -mno-use-libstdc-wrappers. 2009-10-04 17:48:05 +00:00
malloc_wrapper.cc * cygwin.din: Export reallocf. 2009-02-16 20:22:38 +00:00
malloc.cc
mcount.c
miscfuncs.cc Throughout, revert ill-conceived replacement of hMainThread with 2009-12-21 09:38:25 +00:00
miscfuncs.h * miscfuncs.h (transform_chars): Declare. Define inline variation here. 2009-11-02 11:42:04 +00:00
mkglobals_h
mkimport * mkimport: Specify .text for stub explicitly. 2009-04-18 17:23:45 +00:00
mkstatic
mktemp.cc * cygwin.din (fpurge, mkstemps): New exports. 2009-07-03 13:01:17 +00:00
mkvers.sh
mmap_helper.h
mmap.cc Throughout, replace hMainProc with GetCurrentProcess/NtCurrentProcess 2009-12-18 20:32:04 +00:00
mount.cc * globals.cc (ro_u_nwfs): New R/O unicode string. 2010-01-12 14:47:46 +00:00
mount.h * globals.cc (ro_u_nwfs): New R/O unicode string. 2010-01-12 14:47:46 +00:00
msg.cc
mtinfo.h
net.cc * cygwin.din (accept4): Export. 2010-01-15 15:40:05 +00:00
netdb.cc
nfs.cc
nfs.h
ntdll.h Throughout, replace hMainProc with GetCurrentProcess/NtCurrentProcess 2009-12-18 20:32:04 +00:00
ntea.cc * dtable.cc (build_fh_name_worker): Remove. Move all functionality 2010-01-12 10:14:59 +00:00
passwd.cc
path.cc * globals.cc (ro_u_nwfs): New R/O unicode string. 2010-01-12 14:47:46 +00:00
path.h * globals.cc (ro_u_nwfs): New R/O unicode string. 2010-01-12 14:47:46 +00:00
path.sgml * path.sgml (func-cygwin-conv-path): Clarify meaning of size parameter. 2009-12-18 10:11:56 +00:00
perprocess.h
pinfo.cc Throughout, replace hMainProc with GetCurrentProcess/NtCurrentProcess 2009-12-18 20:32:04 +00:00
pinfo.h Add cygwin wrapper for ExitProcess and TerminateProcess. 2009-10-06 21:51:17 +00:00
pipe.cc * cygwin.din (dup3): Export. 2010-01-14 18:46:02 +00:00
poll.cc
posix_ipc.cc * cygwin.din (dup3): Export. 2010-01-14 18:46:02 +00:00
posix.sgml * cygwin.din (accept4): Export. 2010-01-15 15:40:05 +00:00
profil.c
profil.h
pseudo-reloc.cc Correct pseudo-reloc size bug wrt error messages 2009-10-26 14:50:09 +00:00
pthread.cc
pwdgrp.h
random.cc
registry.cc * registry.cc (cygnus_class): Remove. 2009-12-16 13:09:46 +00:00
registry.h * registry.cc (reg_key::get_int): Add alternative implementation 2009-10-20 14:54:47 +00:00
resource.cc Throughout, replace hMainProc with GetCurrentProcess/NtCurrentProcess 2009-12-18 20:32:04 +00:00
ROADMAP
scandir.cc
sched.cc
sec_acl.cc * dtable.cc (build_fh_name_worker): Remove. Move all functionality 2010-01-12 10:14:59 +00:00
sec_auth.cc * sec_auth.cc (get_token_group_sidlist): Add BUILTIN\Users account 2010-01-08 15:55:27 +00:00
sec_helper.cc * sec_auth.cc (get_token_group_sidlist): Add BUILTIN\Users account 2010-01-08 15:55:27 +00:00
security.cc * security.cc (alloc_sd): Re-introduce setting the SE_DACL_PROTECTED 2009-11-03 09:31:45 +00:00
security.h * cygwin.din (dup3): Export. 2010-01-14 18:46:02 +00:00
security.sgml
select.cc * select.cc (fhandler_fifo::select_read): Fill in device specific record. 2009-12-23 00:35:18 +00:00
select.h * cygtls.h (struct _local_storage): Add thread storage pointers for 2009-07-06 15:42:01 +00:00
sem.cc
setlsapwd.cc
shared_info.h * cygprops.h: New file. 2009-10-31 13:24:06 +00:00
shared.cc Throughout, replace hMainProc with GetCurrentProcess/NtCurrentProcess 2009-12-18 20:32:04 +00:00
shm.cc Throughout, replace hMainProc with GetCurrentProcess/NtCurrentProcess 2009-12-18 20:32:04 +00:00
signal.cc * signal.cc (nanosleep): Fix bug in previous patch. 2009-12-19 00:58:34 +00:00
sigproc.cc Throughout, replace hMainProc with GetCurrentProcess/NtCurrentProcess 2009-12-18 20:32:04 +00:00
sigproc.h * sigproc.h (wait_for_sigthread): Eliminate parameter. 2009-07-24 20:54:33 +00:00
smallprint.cc * smallprint.cc (hex_str): New const string. 2009-10-30 09:02:30 +00:00
sortdin
spawn.cc * exec.cc (execvp): Call find_exec with FE_NNF flag to enforce 2009-12-21 15:16:28 +00:00
speclib * speclib: Use last dll found since that's the real name of the cygwin DLL. 2009-11-30 15:40:23 +00:00
stackdump.sgml
strace.cc Consistently use va_end. 2009-10-14 04:17:05 +00:00
strfuncs.cc * miscfuncs.h (transform_chars): Declare. Define inline variation here. 2009-11-02 11:42:04 +00:00
string.h
strsep.cc
strsig.cc
sync.cc
sync.h
syscalls.cc * dcrt0.cc (dll_crt0_1): Reset locale to "C" at the last moment before 2010-01-14 18:56:24 +00:00
sysconf.cc * sysconf.cc (get_nprocs): New function. 2009-11-12 14:40:48 +00:00
syslog.cc * fhandler_socket.cc (send_internal): Don't split datagram messages 2009-12-02 15:23:03 +00:00
termios.cc * sigproc.cc (stopped_or_terminated): Don't return a match when stopsig == 2009-08-02 21:38:40 +00:00
textmode.c
textreadmode.c
thread.cc Throughout, replace hMainProc with GetCurrentProcess/NtCurrentProcess 2009-12-18 20:32:04 +00:00
thread.h * select.h: New file split from fhandler.h. 2009-06-30 21:18:44 +00:00
timer.cc
times.cc * dtable.cc (build_fh_name_worker): Remove. Move all functionality 2010-01-12 10:14:59 +00:00
tls_pbuf.cc
tls_pbuf.h
tlsoffsets.h * Makefile.in (clean): Clean generated files in srcdir. 2009-07-06 23:19:08 +00:00
tty.cc * dcrt0.cc (jit_debug): New global. 2009-07-03 18:05:51 +00:00
tty.h * dcrt0.cc (jit_debug): New global. 2009-07-03 18:05:51 +00:00
tz_posixrules.h
uinfo.cc Throughout, replace hMainProc with GetCurrentProcess/NtCurrentProcess 2009-12-18 20:32:04 +00:00
uname.cc
wait.cc * exceptions.cc (sig_handle_tty_stop): Set stopsig to SIGCONT when continuing. 2009-07-18 20:25:07 +00:00
wchar.h * fhandler.h (class dev_console): Constify charset parameter of 2009-09-28 12:10:32 +00:00
winbase.h * winbase.h (ilockexch): Avoid making 'ret' volatile. 2009-07-07 21:41:43 +00:00
wincap.cc Throughout, replace hMainProc with GetCurrentProcess/NtCurrentProcess 2009-12-18 20:32:04 +00:00
wincap.h * security.cc (alloc_sd): Re-introduce setting the SE_DACL_PROTECTED 2009-11-03 09:31:45 +00:00
window.cc
winf.cc * cygheap_malloc.h: New file. 2009-08-01 19:52:46 +00:00
winf.h * cygheap_malloc.h: New file. 2009-08-01 19:52:46 +00:00
wininfo.h
winsup.h * globals.cc: Reorder constant UNICODE_STRINGs for clarity. 2009-07-16 09:56:25 +00:00
winver.rc * winver.rc: Fix Copyright date. 2009-02-19 16:12:02 +00:00