2005-01-06 Hans-Peter Nilsson <hp@axis.com>
* libc/stdio/ftell.c (ftell_r): Add parenthesis for __SWR bit-test in combination with NULL test.
This commit is contained in:
parent
5cc3f59253
commit
034a3909ae
@ -1,3 +1,8 @@
|
||||
2005-01-06 Hans-Peter Nilsson <hp@axis.com>
|
||||
|
||||
* libc/stdio/ftell.c (ftell_r): Add parenthesis for __SWR
|
||||
bit-test in combination with NULL test.
|
||||
|
||||
2005-01-06 Hans-Peter Nilsson <hp@axis.com>
|
||||
|
||||
* README: Fix typo of LGPL. Change "license" to "copyright".
|
||||
|
@ -143,7 +143,7 @@ _DEFUN(_ftell_r, (ptr, fp),
|
||||
if (HASUB (fp))
|
||||
pos -= fp->_ur;
|
||||
}
|
||||
else if (fp->_flags & __SWR && fp->_p != NULL)
|
||||
else if ((fp->_flags & __SWR) && fp->_p != NULL)
|
||||
{
|
||||
/*
|
||||
* Writing. Any buffered characters cause the
|
||||
|
Loading…
Reference in New Issue
Block a user