mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-29 11:41:21 +03:00
Fix minor typos in comments
This commit is contained in:
@ -1,3 +1,8 @@
|
|||||||
|
2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
|
||||||
|
|
||||||
|
* libio/fileops.c (_IO_new_file_seekoff): Fix typos in
|
||||||
|
comments.
|
||||||
|
|
||||||
2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
|
2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
|
||||||
|
|
||||||
* catgets/test-gencat.sh: Add "set -e".
|
* catgets/test-gencat.sh: Add "set -e".
|
||||||
|
@ -984,10 +984,10 @@ _IO_new_file_seekoff (fp, offset, dir, mode)
|
|||||||
/* Flush unwritten characters.
|
/* Flush unwritten characters.
|
||||||
(This may do an unneeded write if we seek within the buffer.
|
(This may do an unneeded write if we seek within the buffer.
|
||||||
But to be able to switch to reading, we would need to set
|
But to be able to switch to reading, we would need to set
|
||||||
egptr to ptr. That can't be done in the current design,
|
egptr to pptr. That can't be done in the current design,
|
||||||
which assumes file_ptr() is eGptr. Anyway, since we probably
|
which assumes file_ptr() is eGptr. Anyway, since we probably
|
||||||
end up flushing when we close(), it doesn't make much difference.)
|
end up flushing when we close(), it doesn't make much difference.)
|
||||||
FIXME: simulate mem-papped files. */
|
FIXME: simulate mem-mapped files. */
|
||||||
|
|
||||||
if (fp->_IO_write_ptr > fp->_IO_write_base || _IO_in_put_mode (fp))
|
if (fp->_IO_write_ptr > fp->_IO_write_base || _IO_in_put_mode (fp))
|
||||||
if (_IO_switch_to_get_mode (fp))
|
if (_IO_switch_to_get_mode (fp))
|
||||||
|
Reference in New Issue
Block a user