Reduce divergence from FreeBSD sources

This commit is contained in:
Sebastian Huber
2013-11-06 09:35:05 +01:00
parent c4c34f3c45
commit 0a57e1db23
164 changed files with 693 additions and 786 deletions

View File

@@ -106,9 +106,8 @@ fgetln(FILE *fp, size_t *lenp)
ret = (char *)fp->_p;
*lenp = len = p - fp->_p;
#ifndef __rtems__
fp->_flags |= __SMOD;
#endif
#endif /* __rtems__ */
fp->_r -= len;
fp->_p = p;
FUNLOCKFILE(fp);