summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/dcrt0.cc
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2001-01-29 00:46:25 +0000
committerChristopher Faylor <me@cgf.cx>2001-01-29 00:46:25 +0000
commit6a4878cf1617f051e4706ce30f7c8607ebf2e85d (patch)
tree2a3a69edf8e8000644a0ff5d69fcd68fa6dbc101 /winsup/cygwin/dcrt0.cc
parent39d871d66d6ce0c49dc669f2d8e2f55414579bcf (diff)
downloadcygnal-6a4878cf1617f051e4706ce30f7c8607ebf2e85d.tar.gz
cygnal-6a4878cf1617f051e4706ce30f7c8607ebf2e85d.tar.bz2
cygnal-6a4878cf1617f051e4706ce30f7c8607ebf2e85d.zip
* syscalls.cc (_link): Make sure that newpath does not exist. Set errno if it
does. * cygheap.cc (init_cheap): Don't specify a load address for the heap. It doesn't work on #!*& Windows 9x. (cygheap_init): Move GetUserName to memory_init. * dcrt0.cc (dll_crt0_1): Call new memory_init functin, eliminate call to heap_init. * heap.cc (heap_init): Improve error output. * heap.h: Correct some declarations. * shared.cc (mount_table_init): Remove. (memory_init): Renamed from shared_init. Reorganize to accomodate strange Windows 9x problems with cygheap/heap interaction. * shared_info.h: Rename shared_init to memory_init.
Diffstat (limited to 'winsup/cygwin/dcrt0.cc')
-rw-r--r--winsup/cygwin/dcrt0.cc7
1 files changed, 2 insertions, 5 deletions
diff --git a/winsup/cygwin/dcrt0.cc b/winsup/cygwin/dcrt0.cc
index 52605f0b7..1e1aeaf62 100644
--- a/winsup/cygwin/dcrt0.cc
+++ b/winsup/cygwin/dcrt0.cc
@@ -723,14 +723,11 @@ dll_crt0_1 ()
host_dependent.init ();
/* Initialize the cygwin subsystem if this is the first process,
- or attach to the shared data structure if it's already running. */
- shared_init ();
+ or attach to shared data structures if it's already running. */
+ memory_init ();
(void) SetErrorMode (SEM_FAILCRITICALERRORS);
- /* Initialize the heap. */
- heap_init ();
-
/* Initialize events. */
events_init ();