diff options
author | Siddhesh Poyarekar <siddhesh@redhat.com> | 2014-03-04 12:27:34 +0530 |
---|---|---|
committer | Siddhesh Poyarekar <siddhesh@redhat.com> | 2014-03-04 12:27:34 +0530 |
commit | 091eff71a5edacb5a321c6e573f09a5358540675 (patch) | |
tree | 08e5a9abefa234a1a40c4d206d17de27df60fe67 | |
parent | fa3cd24827d34a49e0a3a5cac56abbf8df74d8ac (diff) | |
download | glibc-091eff71a5edacb5a321c6e573f09a5358540675.tar.gz glibc-091eff71a5edacb5a321c6e573f09a5358540675.tar.xz glibc-091eff71a5edacb5a321c6e573f09a5358540675.zip |
Fix up formatting
-rw-r--r-- | ChangeLog | 2 | ||||
-rw-r--r-- | libio/wfileops.c | 4 |
2 files changed, 4 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog index b1ccca4101..90ca90c165 100644 --- a/ChangeLog +++ b/ChangeLog @@ -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. diff --git a/libio/wfileops.c b/libio/wfileops.c index 776bb4a4ba..8b2e1080b6 100644 --- a/libio/wfileops.c +++ b/libio/wfileops.c @@ -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; } |