newlib/winsup/cygwin
Christopher Faylor 2346864a45 * cygheap.cc (cygheap_fixup_in_child): Don't close parent handle here. Let the
caller do that.
* dcrt0.cc (child_info_spawn::handle_spawn): Close parent handle here to allow
fixup_after_exec functions to use it.
* cygtls.cc (_cygtls::call2): Avoid calling exit thread if called with
*crt0_1 functions.
* cygtls.h (_cygtls::isinitialized): Check that we actually have a tls before
seeing if it is initialized.
* gendef (_sigfe_maybe): Ditto.
* dcrt0.cc (dll_crt0_1): Remove static, use just one argument.
* dll_init.cc (dllcrt0_info): New structure.
(dll_dllcrt0): Change into a front-end to renamed dll_dllcrt0_1 so that we'll
always be assured of having something like a tls.
(dll_dllcrt0_1): New function, basically renamed from from dll_dllcrt0.
Unconditionally call _my_tls.init_exception_handler now that we are assured of
having a tls.  Change variable name from "linking" to "linked".
* winsup.h (dll_crt0_1): Declare.
(dll_dllcrt0_1): Ditto.
2006-06-02 00:09:50 +00:00
..
config/i386
include white space 2006-05-28 15:50:14 +00:00
lib * Makefile.in (DLL_OFILES): Add winf.o. 2006-04-12 15:53:22 +00:00
libc * cygtls.cc (_cygtls::handle_threadlist_exception): Make an error fatal. 2005-12-23 22:50:20 +00:00
regex * cygtls.cc (_cygtls::handle_threadlist_exception): Make an error fatal. 2005-12-23 22:50:20 +00:00
regexp
CYGWIN_LICENSE
ChangeLog * cygheap.cc (cygheap_fixup_in_child): Don't close parent handle here. Let the 2006-06-02 00:09:50 +00:00
ChangeLog-1995 white space and minor comment cleanup. 2005-05-02 03:50:11 +00:00
ChangeLog-1996 white space and minor comment cleanup. 2005-05-02 03:50:11 +00:00
ChangeLog-1997 white space and minor comment cleanup. 2005-05-02 03:50:11 +00:00
ChangeLog-1998
ChangeLog-1999
ChangeLog-2000
ChangeLog-2001
ChangeLog-2002
ChangeLog-2003
ChangeLog-2004 * ChangeLog: Split and create ChangeLog-2004. 2005-01-11 12:48:34 +00:00
ChangeLog-2005 fix minor typo 2006-01-16 19:52:21 +00:00
Makefile.in * Makefile.in (clean): Also delete *.dbg. 2006-05-10 22:01:57 +00:00
ROADMAP
acconfig.h
aclocal.m4 update to newer autoconf 2006-05-24 16:59:03 +00:00
analyze_sigfe * analyze_sigfe: New script. 2006-03-01 20:20:22 +00:00
ansi.sgml minor cleanup 2004-12-05 02:30:20 +00:00
assert.cc
autoload.cc * autoload.cc (LoadDLLfuncNt): New define to wrap NT native functions. 2006-03-13 11:22:51 +00:00
automode.c
binmode.c
child_info.h white space 2006-05-28 15:50:14 +00:00
config.h.in white space and minor comment cleanup. 2005-05-02 03:50:11 +00:00
configure update to newer autoconf 2006-05-24 16:59:03 +00:00
configure.in * select.cc (start_thread_socket): Delay setting thread local exitsock until we 2006-05-24 03:39:29 +00:00
cpuid.h * path.cc (chdir): Always use the normalized_path as posix_cwd, except if it 2004-05-28 19:50:07 +00:00
crt0.c * crt0.cc: Remove PPC considerations. 2005-09-29 14:28:22 +00:00
ctype.cc * include/ctype.h: New file. 2005-03-23 17:11:24 +00:00
cxx.cc * child_info.h (fork_info): Use different method to alias variable. 2005-03-19 21:45:15 +00:00
cygerrno.h * cygerrno.h (geterrno_from_win_error): Change declaration to default to using 2005-08-20 06:19:55 +00:00
cygheap.cc * cygheap.cc (cygheap_fixup_in_child): Don't close parent handle here. Let the 2006-06-02 00:09:50 +00:00
cygheap.h * environ.cc (getearly): Use GetEnvironmentVariable and cmalloc instead of 2006-04-21 21:34:38 +00:00
cygmagic * cygmagic: Remove debugging cruft missed on 2005-05-21. 2005-05-30 00:54:01 +00:00
cygmalloc.h * malloc.cc: Update to version 2.8.3. 2005-12-10 17:09:58 +00:00
cygserver.h * cygserver.h (CYGWIN_SERVER_VERSION_API): Bump. 2004-06-03 19:52:12 +00:00
cygserver_ipc.h
cygserver_msg.h Change foo (void) to foo () for all c++ functions throughout. Remove all 2005-07-05 03:16:46 +00:00
cygserver_sem.h Change foo (void) to foo () for all c++ functions throughout. Remove all 2005-07-05 03:16:46 +00:00
cygserver_shm.h Change foo (void) to foo () for all c++ functions throughout. Remove all 2005-07-05 03:16:46 +00:00
cygthread.cc * cygwin.din: Fix some erroneous SIGFE/NOSIGFE settings. 2006-03-01 21:31:24 +00:00
cygthread.h Change process_lock to lock_process throughout. Change all calls to new 2005-10-17 23:27:00 +00:00
cygtls.cc * cygheap.cc (cygheap_fixup_in_child): Don't close parent handle here. Let the 2006-06-02 00:09:50 +00:00
cygtls.h * cygheap.cc (cygheap_fixup_in_child): Don't close parent handle here. Let the 2006-06-02 00:09:50 +00:00
cygwin-shilka
cygwin.din * abort.cc (abort): Set incyg manually to help get a reliable gdb stack trace. 2006-04-22 23:09:44 +00:00
cygwin.sc * cygwin.sc: Use simpler method to align .cygheap. 2005-08-08 13:53:05 +00:00
cygwin_version.h
dcrt0.cc * cygheap.cc (cygheap_fixup_in_child): Don't close parent handle here. Let the 2006-06-02 00:09:50 +00:00
debug.cc * debug.h (ModifyHandle): Define new macro. 2006-05-25 05:40:51 +00:00
debug.h * debug.h (ModifyHandle): Define new macro. 2006-05-25 05:40:51 +00:00
delqueue.cc
devices.cc * dcrt0.cc (do_exit): Rely on sigproc_terminate to set exit_state 2005-09-13 17:08:54 +00:00
devices.h * devices.h (_major): Revert previous ill-advised change. 2005-12-02 00:37:21 +00:00
devices.in * dcrt0.cc (do_exit): Rely on sigproc_terminate to set exit_state 2005-09-13 17:08:54 +00:00
dir.cc white space 2006-05-28 15:50:14 +00:00
dlfcn.cc * dlfcn.cc (check_path_access): Call find_exec with FE_DLL option. 2006-01-31 21:49:39 +00:00
dll_init.cc * cygheap.cc (cygheap_fixup_in_child): Don't close parent handle here. Let the 2006-06-02 00:09:50 +00:00
dll_init.h * dcrt0.cc (do_global_dtors): Run DLL dtors. 2005-04-14 17:34:03 +00:00
dll_init.sgml
dllfixdbg * analyze_sigfe: New script. 2006-03-01 20:20:22 +00:00
dlmalloc.c remove keyword stuff 2004-05-12 16:21:18 +00:00
dlmalloc.h
dtable.cc * debug.cc (add_handle): Print handle value when collision detected. 2006-05-21 05:25:49 +00:00
dtable.h * cygheap.h (cygheap_fdenum::cygheap_fdenum): Record locked state or suffer 2005-10-23 23:47:45 +00:00
dtable.sgml
environ.cc white space 2006-05-28 15:50:14 +00:00
environ.h * environ.h (win_env::immediate): Declare new field. 2005-03-30 15:54:28 +00:00
errno.cc * errno.cc (errmap): Map ERROR_SEEK and ERROR_SECTOR_NOT_FOUND. 2005-09-26 15:27:15 +00:00
exceptions.cc white space 2006-05-28 15:50:14 +00:00
exec.cc minor comment restructuring 2006-02-15 22:11:13 +00:00
external.cc * cygtls.cc (_cygtls::call): Call call2 using _my_tls. 2006-05-25 02:33:13 +00:00
external.sgml
fcntl.cc Reorganize header file inclusion throughout so that cygerrno.h comes first. 2005-01-12 22:40:46 +00:00
fhandler.cc * debug.h (ModifyHandle): Define new macro. 2006-05-25 05:40:51 +00:00
fhandler.h * debug.h (ModifyHandle): Define new macro. 2006-05-25 05:40:51 +00:00
fhandler_clipboard.cc * cygheap.h (init_cygheap::manage_console_count): Declare new function. 2005-11-14 04:28:45 +00:00
fhandler_console.cc * fhandler_console.cc (fhandler_console::need_invisible): Allocate an invisible 2006-05-19 00:32:36 +00:00
fhandler_disk_file.cc white space 2006-05-28 15:50:14 +00:00
fhandler_dsp.cc * cygheap.h (init_cygheap::manage_console_count): Declare new function. 2005-11-14 04:28:45 +00:00
fhandler_fifo.cc Change name from commune_recv to commune_process throughout. Change name from 2005-09-28 22:56:47 +00:00
fhandler_floppy.cc white space 2006-05-28 15:50:14 +00:00
fhandler_mailslot.cc white space 2005-08-12 02:39:13 +00:00
fhandler_mem.cc * fhandler.cc (ACCFLAGS): Remove macro. 2005-12-14 16:38:22 +00:00
fhandler_netdrive.cc * fhandler_disk_file.cc (path_conv::hasgood_inode): Make inline. 2006-04-14 14:20:58 +00:00
fhandler_nodevice.cc * fhandler_nodevice.cc (fhandler_nodevice::open): Assume that errno has already 2004-03-27 18:01:04 +00:00
fhandler_proc.cc white space 2006-05-28 15:50:14 +00:00
fhandler_process.cc * fhandler_process.cc (format_process_stat): Use cygwin-derived start time even 2006-02-11 04:53:14 +00:00
fhandler_random.cc Revert erroneous checkin. 2005-09-28 19:22:25 +00:00
fhandler_raw.cc * fhandler.cc (ACCFLAGS): Remove macro. 2005-12-14 16:38:22 +00:00
fhandler_registry.cc * autoload.cc (NtQueryDirectoryFile): Define. 2006-01-27 21:50:42 +00:00
fhandler_serial.cc * cygheap.h (init_cygheap::manage_console_count): Declare new function. 2005-11-14 04:28:45 +00:00
fhandler_socket.cc white space 2006-05-28 15:50:14 +00:00
fhandler_tape.cc whitespace cleanup to force snapshot. 2005-12-22 05:57:54 +00:00
fhandler_termios.cc * tty.h (tty::hwnd): Move to tty_min. 2006-04-21 18:53:05 +00:00
fhandler_tty.cc * child_info.h (_CI_SAW_CTRL_C): New enum. 2006-05-22 04:50:54 +00:00
fhandler_virtual.cc * include/cygwin/version.h: Bump API minor number to 151. 2006-01-21 02:24:17 +00:00
fhandler_windows.cc Remove some more unneeded 'return;'s throughout. 2005-09-14 14:27:56 +00:00
fhandler_zero.cc Remove some more unneeded 'return;'s throughout. 2005-09-14 14:27:56 +00:00
flock.cc
fork.cc * dcrt0.cc (child_info_fork::handle_fork): Set uid/gid in myself so that it can 2006-03-29 06:35:25 +00:00
gcrt0.c
gendef * cygheap.cc (cygheap_fixup_in_child): Don't close parent handle here. Let the 2006-06-02 00:09:50 +00:00
gendevices * analyze_sigfe: New script. 2006-03-01 20:20:22 +00:00
gentls_offsets * sigproc.cc (no_signals_available): Detect hwait_sig == INVALID_HANDLE_VALUE. 2006-05-16 03:14:24 +00:00
glob.c * glob.c: (glob0): New local variable `limit`. Use in calls to glob1 2005-06-18 19:04:25 +00:00
gmon.c
gmon.h
grp.cc Remove some more unneeded 'return;'s throughout. 2005-09-14 14:27:56 +00:00
heap.cc * child_info.h (child_info_fork::handle_failure): Declare new function. 2006-03-13 21:10:14 +00:00
heap.h
hires.h * hires.h (hires_ms::initime_ms): Delete. 2005-12-07 22:28:49 +00:00
hookapi.cc * winsup.h (cygwin_hmodule): Declare. 2006-02-23 19:21:21 +00:00
how-autoload-works.txt white space and minor comment cleanup. 2005-05-02 03:50:11 +00:00
how-cygheap-works.txt
how-cygtls-works.txt * dcrt0.cc (cygwin_dll_init): Now initializes main_environ and cygtls. Comment 2005-06-04 02:11:50 +00:00
how-fhandlers-work.txt
how-signals-work.txt minor cleanup 2004-03-14 05:35:19 +00:00
how-spawn-works.txt
how-to-debug-cygwin.txt Put an underscore in front of the "active" in "strace.active". 2006-05-28 21:39:37 +00:00
how-vfork-works.txt minor cleanup 2004-12-05 02:30:20 +00:00
init.cc * cygtls.cc (_cygtls::remove): Don't test for initialization since this 2006-05-17 03:36:14 +00:00
ioctl.cc
ipc.cc
localtime.cc * libc: Add subdirectory. 2005-11-18 17:48:23 +00:00
lsearch.cc white space and minor comment cleanup. 2005-05-02 03:50:11 +00:00
malloc.cc * malloc.cc: Update to version 2.8.3. 2005-12-10 17:09:58 +00:00
malloc_wrapper.cc *** cygwin DLL Changes: 2005-12-29 20:46:34 +00:00
mcount.c
misc-std.sgml
miscfuncs.cc white space 2006-05-28 15:50:14 +00:00
mktemp.cc * mktemp.cc (_gettemp): Open temp files in binary mode. 2006-04-17 15:09:13 +00:00
mkvers.sh
mmap.cc white space 2006-05-28 15:50:14 +00:00
msg.cc Replace valid memory checks with new myfault class "exception handling", almost 2005-07-03 02:40:30 +00:00
mtinfo.h * mtinfo.h (mtinfo_drive::error): Fix argument bug in debug_printf call. 2005-08-22 16:12:01 +00:00
net.cc white space 2006-05-28 15:50:14 +00:00
netdb.cc
newsym white space and minor comment cleanup. 2005-05-02 03:50:11 +00:00
ntdll.h * ntdll.h (STATUS_INVALID_INFO_CLASS): Conditionalize. 2006-05-14 18:32:57 +00:00
ntea.cc * mmap.cc (mmap64): Avoid compiler warning. 2005-05-18 17:23:17 +00:00
passwd.cc Remove some more unneeded 'return;'s throughout. 2005-09-14 14:27:56 +00:00
path.cc white space 2006-05-28 15:50:14 +00:00
path.h * fhandler.h (fhandler_base): Change fstat_helper prototype 2006-04-26 16:51:09 +00:00
path.sgml * path.sgml: Encode programming example with CDATA. 2004-12-31 01:13:28 +00:00
perprocess.h
pinfo.cc * child_info.h (_CI_SAW_CTRL_C): New enum. 2006-05-22 04:50:54 +00:00
pinfo.h * dcrt0.cc (dll_crt0_0): Call SetErrorMode earlier. 2006-03-21 01:37:25 +00:00
pipe.cc * debug.h (ModifyHandle): Define new macro. 2006-05-25 05:40:51 +00:00
poll.cc * fhandler_socket.cc (fhandler_socket::recvfrom): Just return 0 (EOF) 2005-11-13 16:24:40 +00:00
posix.sgml
profil.c
profil.h
pseudo-reloc.cc
pthread.cc * pthread.cc (mangle_sem_name): Use cygheap->shared_prefix instead 2005-09-27 20:34:19 +00:00
pwdgrp.h * sync.h (muto::initforce): Delete flawed implementation. 2005-04-05 06:04:57 +00:00
registry.cc * dir.cc (readdir_worker): Minor code cleanup. 2006-01-03 17:44:26 +00:00
registry.h * dir.cc (readdir_worker): Minor code cleanup. 2006-01-03 17:44:26 +00:00
resource.cc Replace valid memory checks with new myfault class "exception handling", almost 2005-07-03 02:40:30 +00:00
rmsym
scandir.cc * fhandler_clipboard.cc (fhandler_dev_clipboard::write): Never set 2005-03-01 11:51:29 +00:00
sched.cc Change foo (void) to foo () for all c++ functions throughout. Remove all 2005-07-05 03:16:46 +00:00
sec_acl.cc * pinfo.cc (pinfo::init): Define sa_buf as PSECURITY_ATTRIBUTES and 2005-06-07 19:31:42 +00:00
sec_helper.cc * sec_helper.cc (set_cygwin_privileges): Request SE_BACKUP_NAME 2006-03-01 23:14:25 +00:00
security.cc * dtable.cc (handle_to_fn): Accomodate new argument order in call to 2006-02-07 15:49:08 +00:00
security.h * security.h (sec_user_nih): Make sid1 argument mandatory. 2006-03-30 16:08:50 +00:00
select.cc * select.cc (start_thread_socket): Delay setting thread local exitsock until we 2006-05-24 03:39:29 +00:00
select.h
sem.cc Replace valid memory checks with new myfault class "exception handling", almost 2005-07-03 02:40:30 +00:00
shared.cc * cygheap.cc (cygheap_init): Add GLOBAL_PRIV to hProcToken explicitely 2005-09-27 19:04:38 +00:00
shared.sgml Update Makefile to use xmlto 2004-12-27 19:03:56 +00:00
shared_info.h * include/sys/dirent.h (struct __DIR): Rename __d_unused to 2006-03-01 13:47:49 +00:00
shm.cc Replace valid memory checks with new myfault class "exception handling", almost 2005-07-03 02:40:30 +00:00
signal.cc * signal.cc (abort): On second thought, just set incyg once. 2006-04-22 23:13:18 +00:00
sigproc.cc * sigproc.cc (child_info::proc_retry): Mask all of the bits we're interested 2006-05-29 00:21:58 +00:00
sigproc.h * dcrt0.cc (child_info_fork::handle_fork): Set uid/gid in myself so that it can 2006-03-29 06:35:25 +00:00
smallprint.c * child_info.h (fork_info): Use different method to alias variable. 2005-03-19 21:45:15 +00:00
spawn.cc white space 2006-05-28 15:50:14 +00:00
speclib
stackdump.sgml Update Makefile to use xmlto 2004-12-27 19:03:56 +00:00
strace.cc add copyright 2006-01-02 02:57:54 +00:00
string.h
strsep.cc
strsig.cc
sync.cc Eliminate (void) cast on standalone function calls throughout. 2005-07-06 20:05:03 +00:00
sync.h * cygheap.h (cygheap_fdenum::cygheap_fdenum): Record locked state or suffer 2005-10-23 23:47:45 +00:00
syscalls.cc white space 2006-05-28 15:50:14 +00:00
sysconf.cc white space 2006-05-28 15:50:14 +00:00
syslog.cc white space 2006-05-28 15:50:14 +00:00
termios.cc * fhandler_serial.cc (fhandler_serial::tcgetattr): Just zero c_cflag here 2005-09-09 03:00:34 +00:00
textmode.c
textreadmode.c * Makefile.in (EXTRALIBS): Add libtextreadmode.a. 2004-04-06 14:22:43 +00:00
thread.cc * thread.cc (verifyable_object_isvalid): Check for NULL specifically. 2006-05-27 19:00:36 +00:00
thread.h * thread.h: Revert patch from 2005-09-05. 2005-09-06 19:22:54 +00:00
timer.cc revert erroneous checkin 2006-02-20 02:06:37 +00:00
times.cc * times.cc (clock_getres): Use correct conversion from milliseconds to 2006-02-11 00:06:50 +00:00
tlsoffsets.h * cygtls.cc (_cygtls::call): Call call2 using _my_tls. 2006-05-25 02:33:13 +00:00
tty.cc Eliminate (void) cast on standalone function calls throughout. 2005-07-06 20:05:03 +00:00
tty.h * tty.h (tty::hwnd): Move to tty_min. 2006-04-21 18:53:05 +00:00
tz_posixrules.h
uinfo.cc * dtable.cc (handle_to_fn): Accomodate new argument order in call to 2006-02-07 15:49:08 +00:00
uname.cc * uname.cc (uname): Concatenate a "-WOW64" to utsname's sysname 2006-01-13 14:00:10 +00:00
wait.cc Change pthread::cancelable_wait to just cancelable_wait, throughout. 2005-06-09 05:11:51 +00:00
winbase.h * pinfo.cc (pinfo::init): Define sa_buf as PSECURITY_ATTRIBUTES and 2005-06-07 19:31:42 +00:00
wincap.cc * cygheap.cc (init_cygheap::manage_console_count): Turn console control handler 2006-03-16 02:57:37 +00:00
wincap.h * cygheap.cc (init_cygheap::manage_console_count): Turn console control handler 2006-03-16 02:57:37 +00:00
window.cc Change process_lock to lock_process throughout. Change all calls to new 2005-10-17 23:27:00 +00:00
winf.cc * spawn.cc (spawn_guts): Revert patch which treated derived cygwin programs 2006-04-13 01:37:00 +00:00
winf.h * winf.h (MAXCYGWINCMDLEN): Set down size to 30000 or suffer fork errors. 2006-05-29 15:51:18 +00:00
wininfo.h * sync.h (muto::operator int): New operator. 2005-04-05 04:31:00 +00:00
winsup.h * cygheap.cc (cygheap_fixup_in_child): Don't close parent handle here. Let the 2006-06-02 00:09:50 +00:00
winver.rc