mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-01-31 11:30:56 +08:00
* 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:
parent
72a82eaa20
commit
f97e7d754c
@ -1,3 +1,11 @@
|
|||||||
|
2001-02-15 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
|
||||||
|
|
||||||
|
* 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.
|
||||||
|
|
||||||
2001-02-16 Egor Duda <deo@logos-m.ru>
|
2001-02-16 Egor Duda <deo@logos-m.ru>
|
||||||
|
|
||||||
* signal.cc (signal): Prohibit setting handlers for SIGKILL and
|
* signal.cc (signal): Prohibit setting handlers for SIGKILL and
|
||||||
|
@ -866,6 +866,24 @@ y1
|
|||||||
y1f
|
y1f
|
||||||
yn
|
yn
|
||||||
ynf
|
ynf
|
||||||
|
drand48
|
||||||
|
_drand48 = drand48
|
||||||
|
erand48
|
||||||
|
_erand48 = erand48
|
||||||
|
jrand48
|
||||||
|
_jrand48 = jrand48
|
||||||
|
lcong48
|
||||||
|
_lcong48 = lcong48
|
||||||
|
lrand48
|
||||||
|
_lrand48 = lrand48
|
||||||
|
mrand48
|
||||||
|
_lrand48 = lrand48
|
||||||
|
nrand48
|
||||||
|
_nrand48 = nrand48
|
||||||
|
seed48
|
||||||
|
_seed48 = seed48
|
||||||
|
srand48
|
||||||
|
_srand48 = srand48
|
||||||
setmode
|
setmode
|
||||||
_setmode = setmode
|
_setmode = setmode
|
||||||
__assertfail
|
__assertfail
|
||||||
|
@ -85,7 +85,7 @@ extern "C"
|
|||||||
char ***main_environ;
|
char ***main_environ;
|
||||||
/* __progname used in getopt error message */
|
/* __progname used in getopt error message */
|
||||||
char *__progname = NULL;
|
char *__progname = NULL;
|
||||||
struct _reent reent_data;
|
struct _reent reent_data = _REENT_INIT(reent_data);
|
||||||
struct per_process __cygwin_user_data =
|
struct per_process __cygwin_user_data =
|
||||||
{/* initial_sp */ 0, /* magic_biscuit */ 0,
|
{/* initial_sp */ 0, /* magic_biscuit */ 0,
|
||||||
/* dll_major */ CYGWIN_VERSION_DLL_MAJOR,
|
/* dll_major */ CYGWIN_VERSION_DLL_MAJOR,
|
||||||
@ -765,6 +765,9 @@ dll_crt0_1 ()
|
|||||||
if (!old_title && GetConsoleTitle (title_buf, TITLESIZE))
|
if (!old_title && GetConsoleTitle (title_buf, TITLESIZE))
|
||||||
old_title = title_buf;
|
old_title = title_buf;
|
||||||
|
|
||||||
|
/* Initialize locale */
|
||||||
|
locale_init ();
|
||||||
|
|
||||||
/* Allocate fdtab */
|
/* Allocate fdtab */
|
||||||
dtable_init ();
|
dtable_init ();
|
||||||
|
|
||||||
|
@ -125,10 +125,12 @@ details. */
|
|||||||
32: Export getrlimit/setrlimit
|
32: Export getrlimit/setrlimit
|
||||||
33: Export setlogmask
|
33: Export setlogmask
|
||||||
34: Separated out mount table
|
34: Separated out mount table
|
||||||
|
35: Export drand48, erand48, jrand48, lcong48, lrand48,
|
||||||
|
mrand48, nrand48, seed48, and srand48.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#define CYGWIN_VERSION_API_MAJOR 0
|
#define CYGWIN_VERSION_API_MAJOR 0
|
||||||
#define CYGWIN_VERSION_API_MINOR 34
|
#define CYGWIN_VERSION_API_MINOR 35
|
||||||
|
|
||||||
/* There is also a compatibity version number associated with the
|
/* There is also a compatibity version number associated with the
|
||||||
shared memory regions. It is incremented when incompatible
|
shared memory regions. It is incremented when incompatible
|
||||||
|
@ -301,14 +301,6 @@ MTinterface::Init (int forked)
|
|||||||
item->sigmask = NULL;
|
item->sigmask = NULL;
|
||||||
item->sigtodo = NULL;
|
item->sigtodo = NULL;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
struct _reent *r = _REENT;
|
|
||||||
memset (r, 0, sizeof (struct _reent));
|
|
||||||
|
|
||||||
r->_errno = 0;
|
|
||||||
r->_stdin = &r->__sf[0];
|
|
||||||
r->_stdout = &r->__sf[1];
|
|
||||||
r->_stderr = &r->__sf[2];
|
|
||||||
}
|
}
|
||||||
|
|
||||||
ThreadItem *
|
ThreadItem *
|
||||||
|
Loading…
x
Reference in New Issue
Block a user