mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-01-18 20:39:33 +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>
|
||||
|
||||
* signal.cc (signal): Prohibit setting handlers for SIGKILL and
|
||||
|
@ -866,6 +866,24 @@ y1
|
||||
y1f
|
||||
yn
|
||||
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
|
||||
__assertfail
|
||||
|
@ -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 ();
|
||||
|
||||
|
@ -125,10 +125,12 @@ details. */
|
||||
32: Export getrlimit/setrlimit
|
||||
33: Export setlogmask
|
||||
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_MINOR 34
|
||||
#define CYGWIN_VERSION_API_MINOR 35
|
||||
|
||||
/* There is also a compatibity version number associated with the
|
||||
shared memory regions. It is incremented when incompatible
|
||||
|
@ -301,14 +301,6 @@ MTinterface::Init (int forked)
|
||||
item->sigmask = NULL;
|
||||
item->sigtodo = NULL;
|
||||
#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 *
|
||||
|
Loading…
x
Reference in New Issue
Block a user