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:
Jeff Johnston 2004-09-16 21:18:50 +00:00
parent 5c44c2e546
commit c77672c0fd
2 changed files with 6 additions and 1 deletions

View File

@ -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> 2004-09-16 Antony King <antony.king@st.com>
* libc/time/tzlock.c: Add default stubs that use generic * libc/time/tzlock.c: Add default stubs that use generic

View File

@ -157,7 +157,7 @@ _DEFUN (_freopen64_r, (ptr, file, mode, fp),
ptr->_errno = e; /* restore in case _close clobbered */ ptr->_errno = e; /* restore in case _close clobbered */
_funlockfile(fp); _funlockfile(fp);
#ifndef __SINGLE_THREAD__ #ifndef __SINGLE_THREAD__
__lock_close_recursive (*(_LOCK_RECURSIVE_T *)&fp->_lock); __lock_close_recursive (fp->_lock);
#endif #endif
__sfp_lock_release (); __sfp_lock_release ();
return NULL; return NULL;