libc/winsup/cygwin
Christopher Faylor 8d82847a29 * cygheap.cc (init_cheap): Set aside space for heap walk pointer.
(_csbrk): Make logic for detecting when to alloc cognizant of initialization
condition.
(_cmalloc): Use a structure to hold bucket size and heap chain pointer.  Store
pointer to next freed block in bucket size location so that it will be easy to
see if a block is allocated.
(_cfree): Store pointer to next freed block in bucket size location.
(_crealloc): Use macro to retrieve bucket size.
(cygheap_init): Eliminate.
(cygheap_fixup_in_child): Add second argument to determine if we were execed or
not.  In execed case, walk the heap, cleaning up any orphaned blocks.
* cygheap.h: Add a "MAX" value to cygheap_types.  Remove cygheap_init
declaration.  Accomodate new argument to cygheap_fixup_in child.
* fork.cc (fork): Accomodate extra argument to cygheap_fixup_in_child.
* dcrt0.cc (dll_crt0_1): Ditto.  Remove call to cygheap_init.
2000-09-30 04:54:11 +00:00
..
config/i386 import winsup-2000-02-17 snapshot 2000-02-17 19:38:33 +00:00
include Dummy file to accomodate programs which include 2000-09-06 02:21:44 +00:00
lib * lib/_cygwin_crt0_common.cc: Add missing header files. 2000-09-08 15:54:36 +00:00
regexp add winsup.h 2000-08-02 20:13:18 +00:00
CYGWIN_LICENSE import winsup-2000-02-17 snapshot 2000-02-17 19:38:33 +00:00
ChangeLog * cygheap.cc (init_cheap): Set aside space for heap walk pointer. 2000-09-30 04:54:11 +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 import winsup-2000-02-17 snapshot 2000-02-17 19:38:33 +00:00
ChangeLog-1999 Update. 2000-02-21 03:18:37 +00:00
Makefile.in * Makefile.in: Make clean target remove *.d. 2000-09-12 16:31:01 +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 Break out more header info into separate files. Use appropriate header files 2000-09-08 02:56:55 +00:00
autoload.h * exceptions.cc: Remove unneeded include. 2000-06-01 05:57:54 +00:00
binmode.c Minor formatting change. 2000-07-28 23:21:04 +00:00
child_info.h * spawn.cc (av): Hide 'calloced' field and limit cstrduping to class methods 2000-09-13 19:57:00 +00:00
config.h.in * acconfig.h: Add support for NEWVFORK. 2000-07-16 17:38:41 +00:00
configure * acconfig.h: Add support for NEWVFORK. 2000-07-16 17:38:41 +00:00
configure.in * acconfig.h: Add support for NEWVFORK. 2000-07-16 17:38:41 +00:00
cygerrno.h * cygerrno.h: New file. Use this throughout whenever errno manipulation is 2000-08-22 03:58:47 +00:00
cygheap.cc * cygheap.cc (init_cheap): Set aside space for heap walk pointer. 2000-09-30 04:54:11 +00:00
cygheap.h * cygheap.cc (init_cheap): Set aside space for heap walk pointer. 2000-09-30 04:54:11 +00:00
cygrun.c import winsup-2000-02-17 snapshot 2000-02-17 19:38:31 +00:00
cygwin.din * include/cygwin/version.h: Bump DLL minor version number to 5 due to all of 2000-07-29 16:24:59 +00:00
cygwin_version.h Break out more header info into separate files. Use appropriate header files 2000-09-08 02:56:55 +00:00
dcrt0.cc * cygheap.cc (init_cheap): Set aside space for heap walk pointer. 2000-09-30 04:54:11 +00:00
debug.cc Break out more header info into separate files. Use appropriate header files 2000-09-08 02:56:55 +00:00
debug.h Fix final round of gcc warnings relating to unused parameters. 2000-02-24 06:45:32 +00:00
delqueue.cc Break out more header info into separate files. Use appropriate header files 2000-09-08 02:56:55 +00:00
delqueue.h Break out more header info into separate files. Use appropriate header files 2000-09-08 02:56:55 +00:00
dir.cc Break out more header info into separate files. Use appropriate header files 2000-09-08 02:56:55 +00:00
dlfcn.cc Break out more header info into separate files. Use appropriate header files 2000-09-08 02:56:55 +00:00
dll_init.cc Break out more header info into separate files. Use appropriate header files 2000-09-08 02:56:55 +00:00
dll_init.h * hinfo.cc (hinfo::linearize_fd_array): Make max_used_fd an int so that we can 2000-07-15 02:48:11 +00:00
dll_init.sgml import winsup-2000-02-17 snapshot 2000-02-17 19:38:33 +00:00
dtable.cc * dcrt0.cc (dll_crt0_1): Initialize thread and debug stuff before handling 2000-09-10 16:43:47 +00:00
dtable.h Break out more header info into separate files. Use appropriate header files 2000-09-08 02:56:55 +00:00
dtable.sgml import winsup-2000-02-17 snapshot 2000-02-17 19:38:33 +00:00
environ.cc * spawn.cc (av::dup_maybe): Make function void rather than void *. 2000-09-25 16:36:12 +00:00
environ.h Break out more header info into separate files. Use appropriate header files 2000-09-08 02:56:55 +00:00
errno.cc * errno.cc (set_errno_from_win_error): Actually use arguments to strace_printf. 2000-08-31 20:07:53 +00:00
exceptions.cc * exceptions.cc (interruptible): Return 0 if given an address in uncommitted 2000-09-18 02:20:42 +00:00
exec.cc Break out more header info into separate files. Use appropriate header files 2000-09-08 02:56:55 +00:00
external.cc * exceptions.cc (handle_exceptions): Just "core dump" if SIGSEGV in signal 2000-09-16 02:36:11 +00:00
external.sgml import winsup-2000-02-17 snapshot 2000-02-17 19:38:33 +00:00
fcntl.cc * winsup.h: Eliminate inclusion of most of the cygwin .h files. Use .h files 2000-08-22 05:10:20 +00:00
fhandler.cc Break out more header info into separate files. Use appropriate header files 2000-09-08 02:56:55 +00:00
fhandler.h * dcrt0.cc (quoted): Fix problem where ' quoted strings were skipped. 2000-09-26 00:52:21 +00:00
fhandler_console.cc Break out more header info into separate files. Use appropriate header files 2000-09-08 02:56:55 +00:00
fhandler_floppy.cc * winsup.h: Eliminate inclusion of most of the cygwin .h files. Use .h files 2000-08-22 05:10:20 +00:00
fhandler_random.cc * Makefile.in: Add cygheap.o. 2000-09-03 04:16:35 +00:00
fhandler_raw.cc * Makefile.in: Add cygheap.o. 2000-09-03 04:16:35 +00:00
fhandler_serial.cc Break out more header info into separate files. Use appropriate header files 2000-09-08 02:56:55 +00:00
fhandler_tape.cc * Makefile.in: Add cygheap.o. 2000-09-03 04:16:35 +00:00
fhandler_termios.cc Split out tty and shared_info stuff into their own headers and use throughout. 2000-09-07 16:23:51 +00:00
fhandler_tty.cc * fhandler_tty.cc (fhandler_tty_slave::write): Correct typo which caused 2000-09-18 23:46:10 +00:00
fhandler_windows.cc * winsup.h: Eliminate inclusion of most of the cygwin .h files. Use .h files 2000-08-22 05:10:20 +00:00
fhandler_zero.cc * winsup.h: Eliminate inclusion of most of the cygwin .h files. Use .h files 2000-08-22 05:10:20 +00:00
fork.cc * cygheap.cc (init_cheap): Set aside space for heap walk pointer. 2000-09-30 04:54:11 +00:00
gcrt0.c import winsup-2000-02-17 snapshot 2000-02-17 19:38:33 +00:00
glob.c * winsup.h: take out protections of environ, errno, allow C use 2000-08-02 16:28:18 +00:00
gmon.c import winsup-2000-02-17 snapshot 2000-02-17 19:38:33 +00:00
gmon.h import winsup-2000-02-17 snapshot 2000-02-17 19:38:33 +00:00
grp.cc * path.cc (readlink): Check if buffer length is positive. Truncate output to 2000-09-04 17:52:42 +00:00
heap.cc * spawn.cc (av::dup_maybe): Make function void rather than void *. 2000-09-25 16:36:12 +00:00
heap.h Break out more header info into separate files. Use appropriate header files 2000-09-08 02:56:55 +00:00
host_dependent.h Break out more header info into separate files. Use appropriate header files 2000-09-08 02:56:55 +00:00
init.cc Break out more header info into separate files. Use appropriate header files 2000-09-08 02:56:55 +00:00
ioctl.cc Split out tty and shared_info stuff into their own headers and use throughout. 2000-09-07 16:23:51 +00:00
localtime.c * winsup.h: take out protections of environ, errno, allow C use 2000-08-02 16:28:18 +00:00
malloc_wrapper.cc Break out more header info into separate files. Use appropriate header files 2000-09-08 02:56:55 +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
mkvers.sh Break out more header info into separate files. Use appropriate header files 2000-09-08 02:56:55 +00:00
mmap.cc Break out more header info into separate files. Use appropriate header files 2000-09-08 02:56:55 +00:00
net.cc * net.cc (get_ifconf): Code cleanup. Split. Call os dependent 2000-09-28 06:34:38 +00:00
ntea.cc Break out more header info into separate files. Use appropriate header files 2000-09-08 02:56:55 +00:00
passwd.cc Split out tty and shared_info stuff into their own headers and use throughout. 2000-09-07 16:23:51 +00:00
path.cc * path.cc (symlink_info::check): Set executable bit for a file if the first two 2000-09-30 01:56:40 +00:00
path.h * path.h: Create new input path flag PATH_NEEDDIR. 2000-09-19 03:22:45 +00:00
path.sgml import winsup-2000-02-17 snapshot 2000-02-17 19:38:33 +00:00
perprocess.h Break out more header info into separate files. Use appropriate header files 2000-09-08 02:56:55 +00:00
perthread.h Break out more header info into separate files. Use appropriate header files 2000-09-08 02:56:55 +00:00
pinfo.cc Break out more header info into separate files. Use appropriate header files 2000-09-08 02:56:55 +00:00
pinfo.h Break out more header info into separate files. Use appropriate header files 2000-09-08 02:56:55 +00:00
pipe.cc Break out more header info into separate files. Use appropriate header files 2000-09-08 02:56:55 +00:00
poll.cc Break out more header info into separate files. Use appropriate header files 2000-09-08 02:56:55 +00:00
posix.sgml clean up SGML for latest version of jade/docbook 2000-04-19 00:55:19 +00:00
profil.c import winsup-2000-02-17 snapshot 2000-02-17 19:38:33 +00:00
profil.h import winsup-2000-02-17 snapshot 2000-02-17 19:38:33 +00:00
pthread.cc * path.cc (readlink): Check if buffer length is positive. Truncate output to 2000-09-04 17:52:42 +00:00
registry.cc Break out more header info into separate files. Use appropriate header files 2000-09-08 02:56:55 +00:00
registry.h Break out more header info into separate files. Use appropriate header files 2000-09-08 02:56:55 +00:00
resource.cc * winsup.h: Eliminate inclusion of most of the cygwin .h files. Use .h files 2000-08-22 05:10:20 +00:00
scandir.cc * Makefile.in: Add cygheap.o. 2000-09-03 04:16:35 +00:00
security.cc Break out more header info into separate files. Use appropriate header files 2000-09-08 02:56:55 +00:00
security.h Break out more header info into separate files. Use appropriate header files 2000-09-08 02:56:55 +00:00
select.cc * sigproc.h (sigframe::set): Eliminate second argument. Default bp to current 2000-09-08 03:12:13 +00:00
select.h import winsup-2000-02-17 snapshot 2000-02-17 19:38:33 +00:00
shared.cc Break out more header info into separate files. Use appropriate header files 2000-09-08 02:56:55 +00:00
shared.sgml import winsup-2000-02-17 snapshot 2000-02-17 19:38:33 +00:00
shared_info.h Break out more header info into separate files. Use appropriate header files 2000-09-08 02:56:55 +00:00
signal.cc * signal.cc (sleep): If interrupted by signal, return the 2000-09-16 13:19:52 +00:00
sigproc.cc * exceptions.cc (handle_exceptions): Just "core dump" if SIGSEGV in signal 2000-09-16 02:36:11 +00:00
sigproc.h * exceptions.cc (handle_exceptions): Just "core dump" if SIGSEGV in signal 2000-09-16 02:36:11 +00:00
smallprint.c * strace.cc (strace::prntf): Make second argument the function name, rather 2000-08-02 19:26:01 +00:00
spawn.cc * path.cc (symlink_info::check): Set executable bit for a file if the first two 2000-09-30 01:56:40 +00:00
strace.cc Break out more header info into separate files. Use appropriate header files 2000-09-08 02:56:55 +00:00
strsep.cc import winsup-2000-02-17 snapshot 2000-02-17 19:38:33 +00:00
sync.cc Break out more header info into separate files. Use appropriate header files 2000-09-08 02:56:55 +00:00
sync.h * exceptions.cc (signal_exit): Reset all mutos owned by the main thread. 2000-09-07 01:18:37 +00:00
syscalls.cc * path.cc (symlink_info::check): Set executable bit for a file if the first two 2000-09-30 01:56:40 +00:00
sysconf.cc * winsup.h: Eliminate inclusion of most of the cygwin .h files. Use .h files 2000-08-22 05:10:20 +00:00
syslog.cc * select.cc (cygwin_select): Correct logic for "always_ready" fds or when there 2000-08-24 21:19:14 +00:00
termios.cc Break out more header info into separate files. Use appropriate header files 2000-09-08 02:56:55 +00:00
test.c import winsup-2000-02-17 snapshot 2000-02-17 19:38:31 +00:00
textmode.c Minor formatting change. 2000-07-28 23:21:04 +00:00
thread.cc Break out more header info into separate files. Use appropriate header files 2000-09-08 02:56:55 +00:00
thread.h * spawn.cc (av::dup_maybe): Make function void rather than void *. 2000-09-25 16:36:12 +00:00
times.cc Break out more header info into separate files. Use appropriate header files 2000-09-08 02:56:55 +00:00
tty.cc Break out more header info into separate files. Use appropriate header files 2000-09-08 02:56:55 +00:00
tty.h Split out tty and shared_info stuff into their own headers and use throughout. 2000-09-07 16:23:51 +00:00
tz_posixrules.h import winsup-2000-02-17 snapshot 2000-02-17 19:38:33 +00:00
uinfo.cc Break out more header info into separate files. Use appropriate header files 2000-09-08 02:56:55 +00:00
uname.cc * winsup.h: Add `winME' to os_type symbols. 2000-09-30 01:38:13 +00:00
wait.cc * winsup.h: Eliminate inclusion of most of the cygwin .h files. Use .h files 2000-08-22 05:10:20 +00:00
window.cc Break out more header info into separate files. Use appropriate header files 2000-09-08 02:56:55 +00:00
winsup.h * winsup.h: Add `winME' to os_type symbols. 2000-09-30 01:38:13 +00:00
winver.rc Update copyright info. 2000-07-19 17:42:16 +00:00