* cygwin.din: Export rand48 functions.

* thread.cc (MTinterface::Init): Remove the initialization of `reent_data'.
* dcrt0.cc: Add the initalizer to the declaration of `reent_data'.
* include/cygwin/version.h: Bump CYGWIN_VERSION_API_MINOR to 35.
This commit is contained in:
Christopher Faylor
2001-02-20 02:53:55 +00:00
parent 72a82eaa20
commit f97e7d754c
5 changed files with 33 additions and 10 deletions

View File

@@ -85,7 +85,7 @@ extern "C"
char ***main_environ;
/* __progname used in getopt error message */
char *__progname = NULL;
struct _reent reent_data;
struct _reent reent_data = _REENT_INIT(reent_data);
struct per_process __cygwin_user_data =
{/* initial_sp */ 0, /* magic_biscuit */ 0,
/* dll_major */ CYGWIN_VERSION_DLL_MAJOR,
@@ -765,6 +765,9 @@ dll_crt0_1 ()
if (!old_title && GetConsoleTitle (title_buf, TITLESIZE))
old_title = title_buf;
/* Initialize locale */
locale_init ();
/* Allocate fdtab */
dtable_init ();