Fix up formatting

This commit is contained in:
Siddhesh Poyarekar 2014-03-04 12:27:34 +05:30
parent fa3cd24827
commit 091eff71a5
2 changed files with 4 additions and 2 deletions

View File

@ -1,5 +1,7 @@
2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
* libio/wfileops.c (do_ftell_wide): Fix up formatting.
* libio/fileops.c (do_ftell): Use cached offset when
available.
* libio/iofwide.c (do_ftell_wide): Likewise.

View File

@ -699,8 +699,8 @@ do_ftell_wide (_IO_FILE *fp)
offset += outstop - out;
}
/* _IO_read_end coincides with fp._offset, so the actual file position
is fp._offset - (_IO_read_end - new_write_ptr). */
/* _IO_read_end coincides with fp._offset, so the actual file
position is fp._offset - (_IO_read_end - new_write_ptr). */
offset -= fp->_IO_read_end - fp->_IO_write_ptr;
}