mirror of
https://git.rtems.org/rtems-libbsd/
synced 2025-10-14 22:56:25 +08:00
Reduce divergence from FreeBSD sources
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user