mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-01-30 02:50:25 +08:00
2004-09-16 Antony King <antony.king@st.com>
* libc/stdio64/freopen64.c: Remove casting of fp lock to _LOCK_RECURSIVE_T.
This commit is contained in:
parent
5c44c2e546
commit
c77672c0fd
@ -1,3 +1,8 @@
|
||||
2004-09-16 Antony King <antony.king@st.com>
|
||||
|
||||
* libc/stdio64/freopen64.c: Remove casting of fp lock to
|
||||
_LOCK_RECURSIVE_T.
|
||||
|
||||
2004-09-16 Antony King <antony.king@st.com>
|
||||
|
||||
* libc/time/tzlock.c: Add default stubs that use generic
|
||||
|
@ -157,7 +157,7 @@ _DEFUN (_freopen64_r, (ptr, file, mode, fp),
|
||||
ptr->_errno = e; /* restore in case _close clobbered */
|
||||
_funlockfile(fp);
|
||||
#ifndef __SINGLE_THREAD__
|
||||
__lock_close_recursive (*(_LOCK_RECURSIVE_T *)&fp->_lock);
|
||||
__lock_close_recursive (fp->_lock);
|
||||
#endif
|
||||
__sfp_lock_release ();
|
||||
return NULL;
|
||||
|
Loading…
x
Reference in New Issue
Block a user