newlib/winsup/cygwin
Christopher Faylor 13621d2ef8 * external.cc (fillout_pinfo): Remove nonsensical loop.
* fork.cc (frok::parent): When initializing pinfo for child new PID_NEW flag +
actual defined constant rather than raw number.  Don't set start_time here.
* pinfo.cc (pinfo::thisproc): Use PID_NEW when initializing pinfo.  Avoid
checking h for NULL multiple times.  Don't set start_time here.
(pinfo_init): Aways set ppid last.  Tweak strace output.
(pinfo::init): Handle new PID_NEW flag.  Wait for shared memory to contain
useful information.  Set start_time if PID_NEW.
(_onreturn:h): Define as HANDLE rather than HANDLE *.
(_onreturn::~onreturn): Accommodate h definition change.
(_onreturn::no_close_handle): Rename from no_close_p_handle.  Take a pinfo arg
and set hProcess to h before zeroing.
(winpids::add): Don't open a handle to our own process.  Change logic
associated with when a handle gets closed.  Accommodate no_close_handle
changes.
(winpids::enum_processes): Simplify process enumeration loop.
(winpids::set): Eliminate ill-considered malloc locking.
* sigproc.cc (proc_subproc): Always set ppid last.
2013-12-18 03:58:11 +00:00
..
include * external.cc (fillout_pinfo): Remove nonsensical loop. 2013-12-18 03:58:11 +00:00
lib
libc Throughout, keep function definitions and declarations in sync with 2013-11-25 11:38:08 +00:00
regex
release * fhandler.h (fhandler_pty_master::~fhandler_pty_master): Delete. 2013-12-17 19:05:26 +00:00
acconfig.h
aclocal.m4
advapi32.cc
analyze_sigfe
assert.cc Throughout, drop unnecessary explicit includes of windows header files 2013-11-24 12:13:36 +00:00
autogen.sh
autoload.cc * autoload.cc (IdnToAscii): Define. 2013-11-19 13:29:37 +00:00
automode.c
binmode.c
ChangeLog * external.cc (fillout_pinfo): Remove nonsensical loop. 2013-12-18 03:58:11 +00:00
ChangeLog-1995
ChangeLog-1996
ChangeLog-1997
ChangeLog-1998
ChangeLog-1999
ChangeLog-2000
ChangeLog-2001
ChangeLog-2002
ChangeLog-2003
ChangeLog-2004
ChangeLog-2005
ChangeLog-2006
ChangeLog-2007
ChangeLog-2008
ChangeLog-2009
ChangeLog-2010
ChangeLog-2011
ChangeLog-2012
ChangeLog.64bit
child_info.h
collate.h
common.din * common.din: Export posix_spawn[...] functions. 2013-11-26 17:11:09 +00:00
config.h.in
configure winsup/ChangeLog: 2013-11-07 00:19:52 +00:00
configure.ac winsup/ChangeLog: 2013-11-07 00:19:52 +00:00
cpuid.h
crt0.c
ctype.cc
cxx.cc
cygerrno.h
cygheap_malloc.h
cygheap.cc
cygheap.h * cygheap.h (cygheap_fdnew): Avoid setting errno directly since it will have 2013-12-05 19:43:34 +00:00
cyglsa.h
cygmagic
cygmalloc.h
cygprops.h
cygserver_ipc.h
cygserver_msg.h
cygserver_sem.h
cygserver_setpwd.h
cygserver_shm.h
cygserver.h
cygthread.cc
cygthread.h
cygtls.cc
cygtls.h
cygwait.cc
cygwait.h
cygwin_version.h
cygwin-cxx.h
cygwin-shilka
cygwin.sc.in
cygxdr.cc
cygxdr.h
dcrt0.cc
debug.cc
debug.h
devices.cc * devices.in (dev_cygdrive_storage): Revert mapping to \Device\Null. 2013-10-31 14:26:42 +00:00
devices.h
devices.in * devices.in (dev_cygdrive_storage): Revert mapping to \Device\Null. 2013-10-31 14:26:42 +00:00
DevNotes
dir.cc Throughout, keep function definitions and declarations in sync with 2013-11-25 11:38:08 +00:00
dlfcn.cc
dll_init.cc
dll_init.h
dll_init.sgml
dllfixdbg
dlmalloc.c
dlmalloc.h
dtable.cc * cygheap.h (cygheap_fdnew): Avoid setting errno directly since it will have 2013-12-05 19:43:34 +00:00
dtable.h * cygheap.h (cygheap_fdnew): Avoid setting errno directly since it will have 2013-12-05 19:43:34 +00:00
dtable.sgml
environ.cc Throughout, drop unnecessary explicit includes of windows header files 2013-11-24 12:13:36 +00:00
environ.h
errno.cc
exception.h * exception.h: Fold in content of include/exceptions.h. 2013-10-27 09:42:17 +00:00
exceptions.cc * globals.cc (hntdll): Define/declare. 2013-12-09 20:32:24 +00:00
exec.cc * common.din: Export posix_spawn[...] functions. 2013-11-26 17:11:09 +00:00
external.cc * external.cc (fillout_pinfo): Remove nonsensical loop. 2013-12-18 03:58:11 +00:00
external.sgml
fcntl.cc
fenv.cc
fhandler_clipboard.cc * fhandler.h (fhandler_dev_clipboard): Add private member 2013-12-10 21:05:23 +00:00
fhandler_console.cc Throughout, drop unnecessary explicit includes of windows header files 2013-11-24 12:13:36 +00:00
fhandler_dev.cc * devices.in (dev_cygdrive_storage): Revert mapping to \Device\Null. 2013-10-31 14:26:42 +00:00
fhandler_disk_file.cc * devices.in (dev_cygdrive_storage): Revert mapping to \Device\Null. 2013-10-31 14:26:42 +00:00
fhandler_dsp.cc * devices.in (dev_storage): Map /dev/dsp to \Device\Null. 2013-10-26 13:23:54 +00:00
fhandler_fifo.cc
fhandler_floppy.cc
fhandler_mailslot.cc
fhandler_netdrive.cc Throughout, drop unnecessary explicit includes of windows header files 2013-11-24 12:13:36 +00:00
fhandler_nodevice.cc
fhandler_proc.cc
fhandler_process.cc * fhandler_process.cc (format_process_ctty): Fix random content of 2013-10-16 15:14:22 +00:00
fhandler_procnet.cc
fhandler_procsys.cc
fhandler_procsysvipc.cc
fhandler_random.cc * devices.in (dev_storage): Map /dev/random and /dev/urandom to 2013-10-25 12:21:59 +00:00
fhandler_raw.cc * devices.in (dev_storage): Map /dev/dsp to \Device\Null. 2013-10-26 13:23:54 +00:00
fhandler_registry.cc * devices.in (dev_cygdrive_storage): Revert mapping to \Device\Null. 2013-10-31 14:26:42 +00:00
fhandler_serial.cc
fhandler_socket.cc * devices.in (dev_storage): Map /dev/random and /dev/urandom to 2013-10-25 12:21:59 +00:00
fhandler_tape.cc * fhandler.h (fhandler_dev_zero::lseek): Convert to inline method. 2013-10-24 17:51:41 +00:00
fhandler_termios.cc * fhandler_termios.cc (tty_min::kill_pgrp): Don't send a signal to myself if 2013-10-18 20:56:19 +00:00
fhandler_tty.cc * fhandler.h (fhandler_pty_master::~fhandler_pty_master): Delete. 2013-12-17 19:05:26 +00:00
fhandler_virtual.cc * devices.in (dev_cygdrive_storage): Revert mapping to \Device\Null. 2013-10-31 14:26:42 +00:00
fhandler_virtual.h
fhandler_windows.cc Throughout, drop unnecessary explicit includes of windows header files 2013-11-24 12:13:36 +00:00
fhandler_zero.cc * fhandler.h (fhandler_dev_zero::lseek): Convert to inline method. 2013-10-24 17:51:41 +00:00
fhandler.cc * devices.in (dev_cygdrive_storage): Revert mapping to \Device\Null. 2013-10-31 14:26:42 +00:00
fhandler.h * fhandler.h (fhandler_pty_master::~fhandler_pty_master): Delete. 2013-12-17 19:05:26 +00:00
flock.cc * flock.cc (fhandler_base::lock): Only refuse to lock nohandle and 2013-10-25 18:40:57 +00:00
fork.cc * external.cc (fillout_pinfo): Remove nonsensical loop. 2013-12-18 03:58:11 +00:00
gcrt0.c
gendef
gendevices
gentls_offsets
glob_pattern_p.cc
glob.cc Throughout, keep function definitions and declarations in sync with 2013-11-25 11:38:08 +00:00
globals.cc * globals.cc (hntdll): Define/declare. 2013-12-09 20:32:24 +00:00
gmon.c
gmon.h
grp.cc
heap.cc
heap.h
hires.h
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-startup-shutdown-works.txt
how-to-debug-cygwin.txt
how-vfork-works.txt
i686.din
init.cc
ioctl.cc
ipc.cc
kernel32.cc
lc_era.h
lc_msg.h
libstdcxx_wrapper.cc
localtime.cc Throughout, keep function definitions and declarations in sync with 2013-11-25 11:38:08 +00:00
lsearch.cc
Makefile.in
malloc_wrapper.cc
malloc.cc
mcount.c
mcountFunc.S
miscfuncs.cc Throughout, keep function definitions and declarations in sync with 2013-11-25 11:38:08 +00:00
miscfuncs.h
mkglobals_h
mkimport
mkstatic
mktemp.cc
mkvers.sh
mmap_helper.h
mmap.cc * mmap.cc (mmap64): Convert pagesize from DWORD to size_t to avoid 2013-10-15 08:13:42 +00:00
mount.cc * mount.cc (fs_info::update): Fix formatting. 2013-12-11 10:24:52 +00:00
mount.h
msg.cc
mtinfo.h
net.cc Throughout, drop unnecessary explicit includes of windows header files 2013-11-24 12:13:36 +00:00
netdb.cc
nfs.cc
nfs.h
nlsfuncs.cc * nlsfuncs.cc (wcscoll): Add "__restrict" to definition. 2013-11-26 17:27:25 +00:00
ntdll.h * ntdll.h (RtlGetVersion): Declare. 2013-11-19 22:21:11 +00:00
ntea.cc
passwd.cc
path.cc * path.cc (symlink_native): Workaround Windows 8.1 bug: Drop long path 2013-12-07 10:12:25 +00:00
path.h * devices.in (dev_cygdrive_storage): Revert mapping to \Device\Null. 2013-10-31 14:26:42 +00:00
path.sgml
perprocess.h
pinfo.cc * external.cc (fillout_pinfo): Remove nonsensical loop. 2013-12-18 03:58:11 +00:00
pinfo.h
pipe.cc
poll.cc
posix_ipc.cc
posix.sgml * common.din: Export posix_spawn[...] functions. 2013-11-26 17:11:09 +00:00
profil.c
profil.h
pseudo-reloc.cc
pthread.cc
pwdgrp.h
random.cc
registry.cc
registry.h
regparm.h
resource.cc
ROADMAP
scandir.cc
sched.cc
sec_acl.cc
sec_auth.cc
sec_helper.cc
security.cc
security.h
security.sgml
select.cc * select.cc (select): Add workaround for, as yet undebugged, pathological case. 2013-12-03 20:28:55 +00:00
select.h
sem.cc
setlsapwd.cc
shared_info.h
shared.cc Throughout, drop unnecessary explicit includes of windows header files 2013-11-24 12:13:36 +00:00
shm.cc
signal.cc
sigproc.cc * external.cc (fillout_pinfo): Remove nonsensical loop. 2013-12-18 03:58:11 +00:00
sigproc.h
smallprint.cc
sortdin
spawn.cc Throughout, drop unnecessary explicit includes of windows header files 2013-11-24 12:13:36 +00:00
speclib
spinlock.h
stackdump.sgml
strace.cc Throughout, drop unnecessary explicit includes of windows header files 2013-11-24 12:13:36 +00:00
strfuncs.cc Throughout, keep function definitions and declarations in sync with 2013-11-25 11:38:08 +00:00
string.h Throughout, keep function definitions and declarations in sync with 2013-11-25 11:38:08 +00:00
strsep.cc
strsig.cc
sync.cc
sync.h
syscalls.cc * syscalls.cc (NT_TRANSACTIONAL_ERROR): Define. 2013-12-11 12:12:12 +00:00
sysconf.cc
syslog.cc
termios.cc
textmode.c
textreadmode.c
thread.cc * dtable.cc (dtable::extend): Change local variable new_size to size_t 2013-12-01 10:27:16 +00:00
thread.h
timer.cc Throughout, keep function definitions and declarations in sync with 2013-11-25 11:38:08 +00:00
times.cc Throughout, keep function definitions and declarations in sync with 2013-11-25 11:38:08 +00:00
tls_pbuf.cc
tls_pbuf.h
tlsoffsets64.h
tlsoffsets.h
tmpbuf.h
tty.cc * tty.cc (tty_list::allocate): Set sid to 0 rather than -1 since -1 is an error 2013-10-18 20:07:35 +00:00
tty.h
tz_posixrules.h
uinfo.cc
uname.cc
update-copyright
wait.cc
wchar.h
winbase.h
wincap.cc * ntdll.h (RtlGetVersion): Declare. 2013-11-19 22:21:11 +00:00
wincap.h * ntdll.h (RtlGetVersion): Declare. 2013-11-19 22:21:11 +00:00
window.cc Throughout, drop unnecessary explicit includes of windows header files 2013-11-24 12:13:36 +00:00
winf.cc
winf.h
wininfo.h
winlean.h Throughout, drop unnecessary explicit includes of windows header files 2013-11-24 12:13:36 +00:00
winsup.h
winver.rc
wow64.cc
wow64.h
x86_64.din