newlib-cygwin/newlib/libc/stdlib
Jeff Johnston 1159e0fd94 2005-02-07 Antony King <antony.king@st.com>
* libc/stdio/clearerr.c (clearerr): Ensure CHECK_INIT() is
        called before _flockfile to prevent lock object use before
        initialisation. _REENT_SMALL_CHECK_INIT() and CHECK_INIT()
        take a struct _reent * instead of a FILE *.
        * libc/stdio/fclose.c (_fclose_r): Ditto.
        * libc/stdio/feof.c (feof): Ditto.
        * libc/stdio/ferror.c (ferror): Ditto.
        * libc/stdio/fflush.c (fflush): Ditto.
        * libc/stdio/fgetc.c (fgetc): Ditto.
        * libc/stdio/fgets.c (fgets): Ditto.
        * libc/stdio/fileno.c (fileno): Ditto.
        * libc/stdio/fputc.c (fputc): Ditto.
        * libc/stdio/fputs.c (fputs): Ditto.
        * libc/stdio/fread.c (fread): Ditto.
        * libc/stdio/freopen.c (_freopen_r): Ditto.
        * libc/stdio/fseek.c (_fseek_r): Ditto.
        * libc/stdio/ftell.c (_ftell_r): Ditto.
        * libc/stdio/fwrite.c (fwrite): Ditto.
        * libc/stdio/getc.c (getc): Ditto.
        * libc/stdio/getdelim.c (__getdelim): Ditto.
        * libc/stdio/putc.c (putc): Ditto.
        * libc/stdio/setvbuf.c (setvbuf): Ditto.
        * libc/stdio/ungetc.c (_ungetc_r): Ditto.
        * libc/stdio/vfprintf.c (_VFPRINTF_R): Ditto.
        * libc/stdio64/freopen64.c (_freopen64_r): Ditto.
        * libc/stdio64/fseeko64.c (_fseeko64_r): Ditto.
        * libc/stdio64/ftello64.c (_ftello64_r): Ditto.
        * libc/stdio/local.h (CHECK_INIT): Argument is now a struct
        _reent * instead of a FILE * and so replace incorrect use of
        _REENT with argument.
        * libc/sys/arm/syscalls.c (CHECK_INIT): Ditto.
        * libc/stdio/getchar.c (getchar): _REENT_SMALL_CHECK_INIT() and
        CHECK_INIT() take a struct _reent * instead of a FILE *.
        * libc/stdio/iprintf.c (iprintf, _iprintf_r): Ditto.
        * libc/stdio/iscanf.c (iscanf, _iscanf_r): Ditto.
        * libc/stdio/perror.c (perror): Ditto.
        * libc/stdio/printf.c (printf, _printf_r): Ditto.
        * libc/stdio/putchar.c (putchar): Ditto.
        * libc/stdio/puts.c (puts): Ditto.
        * libc/stdio/refill.c (__srefill): Ditto.
        * libc/stdio/scanf.c (scanf, _scanf_r): Ditto.
        * libc/stdio/vfscanf.c (VFSCANF, _VFSCANF_R): Ditto.
        * libc/stdio/viprintf.c (viprintf, _viprintf_r): Ditto.
        * libc/stdio/viscanf.c (viscanf, _viscanf_r): Ditto.
        * libc/stdio/vprintf.c (vprintf, _vprintf_r): Ditto.
        * libc/stdio/vscanf.c (vscanf, _vscanf_r): Ditto.
        * libc/stdio/wbuf.c (__swbuf): Ditto.
        * libc/stdio/wsetup.c (__swsetup): Ditto.
        * libc/stdlib/mallocr.c (malloc_stats): Ditto.
        * libc/stdlib/mstats.c (_mstats_r): Ditto.
        * libc/include/sys/reent.h (_REENT_SMALL_CHECK_INIT): Ditto.
        * libc/machine/powerpc/vfscanf.c (vfscanf): Ditto.
        * libc/stdio/fgetpos.c (_fgetpos_r): Removed unnecessary calls
        to _flockfile and _funlockfile; rely on locking in _ftell_r.
        * libc/stdio64/fgetpos64.c (_fgetpos64_r): Ditto (_ftello64_r).
        * libc/machine/powerpc/vfprintf.c (__sbprintf): Removed unnecessary
        initialision of _data field in FILE structure.
        * libc/machine/powerpc/vfprintf.c (VFPRINTF): Added CHECK_INIT() call.
2005-02-08 01:33:19 +00:00
..
Makefile.am 2004-09-09 Paul Brook <paul@codesourcery.com> 2004-09-09 19:46:54 +00:00
Makefile.in 2004-09-09 Paul Brook <paul@codesourcery.com> 2004-09-09 19:46:54 +00:00
_Exit.c 2002-06-13 Jeff Johnston <jjohnstn@redhat.com> 2002-06-13 23:24:03 +00:00
__adjust.c import newlib-2000-02-17 snapshot 2000-02-17 19:39:52 +00:00
__atexit.c 2004-09-15 Jeff Johnston <jjohnstn@redhat.com> 2004-09-15 20:50:08 +00:00
__call_atexit.c 2004-09-15 Jeff Johnston <jjohnstn@redhat.com> 2004-09-15 20:50:08 +00:00
__exp10.c import newlib-2000-02-17 snapshot 2000-02-17 19:39:52 +00:00
__ten_mu.c import newlib-2000-02-17 snapshot 2000-02-17 19:39:52 +00:00
a64l.c 2004-01-08 Joel Sherrill <joel@oarcorp.com> 2004-01-08 19:33:13 +00:00
abort.c 2000-08-23 Werner Almesberger <Werner.Almesberger@epfl.ch> 2000-08-24 18:51:09 +00:00
abs.c import newlib-2000-02-17 snapshot 2000-02-17 19:39:52 +00:00
assert.c import newlib-2000-02-17 snapshot 2000-02-17 19:39:52 +00:00
atexit.c 2004-09-09 Paul Brook <paul@codesourcery.com> 2004-09-09 19:46:54 +00:00
atexit.h 2004-09-09 Paul Brook <paul@codesourcery.com> 2004-09-09 19:46:54 +00:00
atof.c 2003-10-20 Bob Wilson <bob.wilson@acm.org> 2003-10-20 18:46:38 +00:00
atoff.c 2002-12-06 Jeff Johnston <jjohnstn@redhat.com> 2002-12-06 18:58:51 +00:00
atoi.c 2003-11-27 Jeff Johnston <jjohnstn@redhat.com> 2003-11-27 20:54:12 +00:00
atol.c 2003-11-27 Jeff Johnston <jjohnstn@redhat.com> 2003-11-27 20:15:47 +00:00
atoll.c 2003-11-27 Jeff Johnston <jjohnstn@redhat.com> 2003-11-27 20:15:47 +00:00
btowc.c * libc/include/langinfo.h: New file. 2002-08-23 01:56:05 +00:00
calloc.c import newlib-2000-02-17 snapshot 2000-02-17 19:39:52 +00:00
cxa_atexit.c 2004-09-15 Jeff Johnston <jjohnstn@redhat.com> 2004-09-15 20:50:08 +00:00
cxa_finalize.c 2004-09-15 Jeff Johnston <jjohnstn@redhat.com> 2004-09-15 20:50:08 +00:00
div.c 2003-10-20 Bob Wilson <bob.wilson@acm.org> 2003-10-20 18:46:38 +00:00
drand48.c * implement a new `struct _reent' that is significantly smaller. use this 2002-02-03 09:24:18 +00:00
dtoa.c 2002-02-05 Manik Raina <manik@cisco.com> 2002-02-05 17:14:35 +00:00
dtoastub.c import newlib-2000-02-17 snapshot 2000-02-17 19:39:52 +00:00
ecvtbuf.c Mon Apr 17 12:46:00 2000 Marek Michalkiewicz <marekm@linux.org.pl> 2000-04-17 17:10:18 +00:00
efgcvt.c import newlib-2000-02-17 snapshot 2000-02-17 19:39:52 +00:00
environ.c 2002-12-20 Jeff Johnston <jjohnstn@redhat.com> 2002-12-20 21:07:56 +00:00
envlock.c 2004-06-11 Antony King <antony.king@st.com> 2004-06-11 20:37:10 +00:00
envlock.h 2000-08-23 Werner Almesberger <Werner.Almesberger@epfl.ch> 2000-08-24 16:11:59 +00:00
eprintf.c import newlib-2000-02-17 snapshot 2000-02-17 19:39:52 +00:00
erand48.c 2001-02-14 Kazuhiro Fujieda <fujieda@jaist.ac.jp> 2001-02-15 02:04:55 +00:00
exit.c 2004-09-16 Antony King <antony.king@st.com> 2004-09-16 21:26:51 +00:00
getenv.c 2001-02-22 Jeff Johnston <jjohnstn@redhat.com> 2001-02-22 22:12:43 +00:00
getenv_r.c * Various formatting and whitespace changes. 2002-04-30 18:23:40 +00:00
getopt.c import newlib-2000-02-17 snapshot 2000-02-17 19:39:52 +00:00
getsubopt.3 * libc/argz/argz_replace.c: Include buf_findstr.h. 2002-07-19 20:36:09 +00:00
getsubopt.c * libc/argz/argz_replace.c: Include buf_findstr.h. 2002-07-19 20:36:09 +00:00
jrand48.c 2001-02-14 Kazuhiro Fujieda <fujieda@jaist.ac.jp> 2001-02-15 02:04:55 +00:00
l64a.c 2002-05-06 Jeff Johnston <jjohnstn@redhat.com> 2002-05-06 20:44:54 +00:00
labs.c import newlib-2000-02-17 snapshot 2000-02-17 19:39:52 +00:00
lcong48.c * implement a new `struct _reent' that is significantly smaller. use this 2002-02-03 09:24:18 +00:00
ldiv.c 2003-10-20 Bob Wilson <bob.wilson@acm.org> 2003-10-20 18:46:38 +00:00
ldtoa.c 2003-10-20 Bob Wilson <bob.wilson@acm.org> 2003-10-20 18:46:38 +00:00
llabs.c 2003-11-27 Artem B. Bityuckiy <mail_lists@mail.ru> 2003-11-27 19:47:19 +00:00
lldiv.c 2003-11-27 Artem B. Bityuckiy <mail_lists@mail.ru> 2003-11-27 19:47:19 +00:00
local.h import newlib-2000-02-17 snapshot 2000-02-17 19:39:52 +00:00
lrand48.c * implement a new `struct _reent' that is significantly smaller. use this 2002-02-03 09:24:18 +00:00
malign.c * libc/stdlib/malign.c: Don't compile if MALLOC_PROVIDED. 2002-11-13 01:20:31 +00:00
malloc.c import newlib-2000-02-17 snapshot 2000-02-17 19:39:52 +00:00
mallocr.c 2005-02-07 Antony King <antony.king@st.com> 2005-02-08 01:33:19 +00:00
mbctype.h Mon Apr 17 12:46:00 2000 Marek Michalkiewicz <marekm@linux.org.pl> 2000-04-17 17:10:18 +00:00
mblen.c 2004-04-23 Artem B. Bityuckiy <abitytsky@softminecorp.com> 2004-04-23 21:44:22 +00:00
mblen_r.c 2004-04-23 Artem B. Bityuckiy <abitytsky@softminecorp.com> 2004-04-23 21:44:22 +00:00
mbrlen.c 2004-04-23 Artem B. Bityuckiy <abitytsky@softminecorp.com> 2004-04-23 21:44:22 +00:00
mbrtowc.c 2004-04-23 Artem B. Bityuckiy <abitytsky@softminecorp.com> 2004-04-23 21:44:22 +00:00
mbsinit.c * libc/stdlib/mbrlen.c: Change include order to prevent compiler errors when 2003-12-05 06:13:44 +00:00
mbsrtowcs.c 2004-04-23 Artem B. Bityuckiy <abitytsky@softminecorp.com> 2004-04-23 21:44:22 +00:00
mbstowcs.c 2004-04-23 Artem B. Bityuckiy <abitytsky@softminecorp.com> 2004-04-23 21:44:22 +00:00
mbstowcs_r.c 2002-09-09 Jeff Johnston <jjohnstn@redhat.com> 2002-09-09 21:42:14 +00:00
mbtowc.c 2004-04-23 Artem B. Bityuckiy <abitytsky@softminecorp.com> 2004-04-23 21:44:22 +00:00
mbtowc_r.c 2004-04-23 Artem B. Bityuckiy <abitytsky@softminecorp.com> 2004-04-23 21:44:22 +00:00
mlock.c 2004-06-11 Antony King <antony.king@st.com> 2004-06-11 20:37:10 +00:00
mprec.c * implement a new `struct _reent' that is significantly smaller. use this 2002-02-03 09:24:18 +00:00
mprec.h 2002-06-24 Jeff Johnston <jjohnstn@redhat.com> 2002-06-24 20:03:38 +00:00
mrand48.c * implement a new `struct _reent' that is significantly smaller. use this 2002-02-03 09:24:18 +00:00
msize.c * libc/stdlib/malign.c: Don't compile if MALLOC_PROVIDED. 2002-11-13 01:20:31 +00:00
mstats.c 2005-02-07 Antony King <antony.king@st.com> 2005-02-08 01:33:19 +00:00
mtrim.c * libc/stdlib/malign.c: Don't compile if MALLOC_PROVIDED. 2002-11-13 01:20:31 +00:00
nrand48.c 2001-02-14 Kazuhiro Fujieda <fujieda@jaist.ac.jp> 2001-02-15 02:04:55 +00:00
on_exit.c 2004-09-09 Paul Brook <paul@codesourcery.com> 2004-09-09 19:46:54 +00:00
putenv.c 2004-11-24 Jeff Johnston <jjohnstn@redhat.com> 2004-11-24 22:34:15 +00:00
putenv_r.c 2004-11-24 Jeff Johnston <jjohnstn@redhat.com> 2004-11-24 22:34:15 +00:00
rand.c * implement a new `struct _reent' that is significantly smaller. use this 2002-02-03 09:24:18 +00:00
rand48.c * implement a new `struct _reent' that is significantly smaller. use this 2002-02-03 09:24:18 +00:00
rand48.h * implement a new `struct _reent' that is significantly smaller. use this 2002-02-03 09:24:18 +00:00
rand_r.c Thu Jun 8 17:54:00 2000 Jeff Johnston <jjohnstn@cygnus.com> 2000-06-08 21:56:18 +00:00
realloc.c import newlib-2000-02-17 snapshot 2000-02-17 19:39:52 +00:00
seed48.c * implement a new `struct _reent' that is significantly smaller. use this 2002-02-03 09:24:18 +00:00
setenv.c 2001-02-22 Jeff Johnston <jjohnstn@redhat.com> 2001-02-22 22:12:43 +00:00
setenv_r.c 2005-01-19 Shaun Jackman <sjackman@gmail.com> 2005-01-20 17:31:04 +00:00
srand48.c * implement a new `struct _reent' that is significantly smaller. use this 2002-02-03 09:24:18 +00:00
std.h import newlib-2000-02-17 snapshot 2000-02-17 19:39:52 +00:00
stdlib.tex 2004-09-16 Antony King <antony.king@st.com> 2004-09-16 21:15:14 +00:00
strtod.c 2005-01-06 Jeff Johnston <jjohnstn@redhat.com> 2005-01-06 23:31:56 +00:00
strtol.c Mon Apr 17 12:46:00 2000 Marek Michalkiewicz <marekm@linux.org.pl> 2000-04-17 17:10:18 +00:00
strtoll.c * Various formatting and whitespace changes. 2002-04-30 18:23:40 +00:00
strtoll_r.c 2001-10-01 Charles Wilson <cwilson@ece.gatech.edu> 2001-10-01 18:05:11 +00:00
strtoul.c Mon Apr 17 12:46:00 2000 Marek Michalkiewicz <marekm@linux.org.pl> 2000-04-17 17:10:18 +00:00
strtoull.c 2001-10-01 Charles Wilson <cwilson@ece.gatech.edu> 2001-10-01 18:05:11 +00:00
strtoull_r.c 2001-10-01 Charles Wilson <cwilson@ece.gatech.edu> 2001-10-01 18:05:11 +00:00
system.c * libc/sys/arm/syscalls.c (_rename): New function. Just a stub. 2002-04-29 21:49:56 +00:00
valloc.c * libc/stdlib/malign.c: Don't compile if MALLOC_PROVIDED. 2002-11-13 01:20:31 +00:00
wcrtomb.c 2004-04-23 Artem B. Bityuckiy <abitytsky@softminecorp.com> 2004-04-23 21:44:22 +00:00
wcsrtombs.c 2004-04-23 Artem B. Bityuckiy <abitytsky@softminecorp.com> 2004-04-23 21:44:22 +00:00
wcstombs.c 2004-04-23 Artem B. Bityuckiy <abitytsky@softminecorp.com> 2004-04-23 21:44:22 +00:00
wcstombs_r.c * libc/include/langinfo.h: New file. 2002-08-23 01:56:05 +00:00
wctob.c * libc/stdlib/mbrlen.c: Change include order to prevent compiler errors when 2003-12-05 06:13:44 +00:00
wctomb.c 2004-04-23 Artem B. Bityuckiy <abitytsky@softminecorp.com> 2004-04-23 21:44:22 +00:00
wctomb_r.c 2002-09-20 Jeff Johnston <jjohnstn@redhat.com> 2002-09-20 20:13:11 +00:00