Make __sfp() even more thread-safe.

This commit is contained in:
Dmitrij Tejblum 1999-11-21 22:34:57 +00:00
parent 490ccf9c5a
commit dcd26325e8

View File

@ -69,8 +69,8 @@ fclose(fp)
if (HASLB(fp))
FREELB(fp);
FUNLOCKFILE(fp);
fp->_flags = 0; /* Release this FILE for reuse. */
fp->_file = -1;
fp->_r = fp->_w = 0; /* Mess up if reaccessed. */
fp->_flags = 0; /* Release this FILE for reuse. */
return (r);
}