newlib-cygwin/newlib/libc
Jeff Johnston 10dcf7e718 2004-03-25 Thomas Pfaff <tpfaff@gmx.net>
* libc/stdio/fclose.c (fclose): Protect file pointer list when
        releasing a file.
         * libc/stdio/fcloseall.c (_fcloseall_r): Close all files via
        fwalk.
        * libc/stdio/fdopen.c (_fdopen_r): Add calls to
        _flockfile/_funlockfile.
        * libc/stdio/findfp.c: Move __sfp_lock. Change __sfp_lock type
        to recursive.
        Change __lock_acquire/__lock_release calls for __sfp_lock to
        __sfp_lock_acquire/__sfp_lock_release throughout.
        (std): Make sure that file lock is only initialized once.
        (__sfp): Move _file initialization. Initialize file lock.
        (__sfp_lock_acquire): New function.
        (__sfp_lock_release): Ditto.
        (__fp_lock_all): Remove __sfp_lock_acquire call.
        (__fp_unlock_all): Remove __sfp_lock_release call.
        * libc/stdio/fopen.c (_fopen_r): Protect file pointer list.
        Add calls to _flockfile/_funlockfile. Remove
        __lock_init_recursive call.
        * libc/stdio/freopen.c (_freopen_r): Protect file pointer list.
        * libc/stdio/fwalk.c (__fwalk): New static function.
        (_fwalk): Protect file pointer list. Use __fwalk to walk through
        file pointers.
        * libc/stdio/local.h: Add defines for
        __sfp_lock_acquire/__sfp_lock_release when
        single threaded. Add function prototypes otherwise.
        * libc/stdio64/fdopen64.c (_fdopen64_r): Add calls to
        _flockfile/_funlockfile.
        * libc/stdio/fopen64.c (_fopen64_r): Protect file pointer list.
        Add calls to _flockfile/_funlockfile. Remove
         __lock_init_recursive call.
        * libc/stdio/freopen64.c (_freopen64_r): Protect file pointer
        list.
2004-03-25 22:29:18 +00:00
..
argz 2004-01-27 Artem B. Bityuckiy <abitytsky@softminecorp.com> 2004-01-27 23:26:26 +00:00
ctype 2004-01-27 Artem B. Bityuckiy <abitytsky@softminecorp.com> 2004-01-27 23:26:26 +00:00
errno 2004-01-27 Artem B. Bityuckiy <abitytsky@softminecorp.com> 2004-01-27 23:26:26 +00:00
iconv 2004-02-02 Jeff Johnston <jjohnstn@redhat.com> 2004-02-02 22:51:39 +00:00
include * libc/include/time.h (TIMER_RELTIME): New define. 2004-02-09 22:56:46 +00:00
locale 2004-01-27 Artem B. Bityuckiy <abitytsky@softminecorp.com> 2004-01-27 23:26:26 +00:00
machine 2004-02-02 Jeff Johnston <jjohnstn@redhat.com> 2004-02-02 22:51:39 +00:00
misc 2004-01-27 Artem B. Bityuckiy <abitytsky@softminecorp.com> 2004-01-27 23:26:26 +00:00
posix 2004-01-27 Artem B. Bityuckiy <abitytsky@softminecorp.com> 2004-01-27 23:26:26 +00:00
reent 2004-01-27 Artem B. Bityuckiy <abitytsky@softminecorp.com> 2004-01-27 23:26:26 +00:00
search 2004-01-27 Artem B. Bityuckiy <abitytsky@softminecorp.com> 2004-01-27 23:26:26 +00:00
signal 2004-01-27 Artem B. Bityuckiy <abitytsky@softminecorp.com> 2004-01-27 23:26:26 +00:00
stdio 2004-03-25 Thomas Pfaff <tpfaff@gmx.net> 2004-03-25 22:29:18 +00:00
stdio64 2004-03-25 Thomas Pfaff <tpfaff@gmx.net> 2004-03-25 22:29:18 +00:00
stdlib 2004-02-09 Jeff Johnston <jjohnstn@redhat.com> 2004-02-09 21:47:47 +00:00
string 2004-01-27 Artem B. Bityuckiy <abitytsky@softminecorp.com> 2004-01-27 23:26:26 +00:00
sys 2004-03-25 Jeff Johnston <jjohnstn@redhat.com> 2004-03-25 22:20:36 +00:00
syscalls 2004-01-27 Artem B. Bityuckiy <abitytsky@softminecorp.com> 2004-01-27 23:26:26 +00:00
time 2004-01-27 Artem B. Bityuckiy <abitytsky@softminecorp.com> 2004-01-27 23:26:26 +00:00
unix 2004-01-27 Artem B. Bityuckiy <abitytsky@softminecorp.com> 2004-01-27 23:26:26 +00:00
Makefile.am 2004-01-23 Artem B. Bityuckiy <abitytsky@softminecorp.com> 2004-01-23 21:37:46 +00:00
Makefile.in 2004-01-27 Artem B. Bityuckiy <abitytsky@softminecorp.com> 2004-01-27 23:26:26 +00:00
aclocal.m4 2004-02-02 Jeff Johnston <jjohnstn@redhat.com> 2004-02-02 22:51:39 +00:00
configure 2004-02-02 Jeff Johnston <jjohnstn@redhat.com> 2004-02-02 22:51:39 +00:00
configure.in 2004-01-27 Artem B. Bityuckiy <abitytsky@softminecorp.com> 2004-01-27 23:26:26 +00:00
libc.texinfo 2004-02-02 Jeff Johnston <jjohnstn@redhat.com> 2004-02-02 22:51:39 +00:00
saber import newlib-2000-02-17 snapshot 2000-02-17 19:39:52 +00:00
sys.tex 2002-07-17 Jeff Johnston <jjohnstn@redhat.com> 2002-07-17 23:25:44 +00:00