diff options
author | Pedro Alves <palves@redhat.com> | 2017-10-19 15:25:59 +0100 |
---|---|---|
committer | Pedro Alves <palves@redhat.com> | 2017-10-19 15:25:59 +0100 |
commit | 2edf834e298b15c882678db22e86745f701807fa (patch) | |
tree | 313e311b94f78d0c0044cc682bf4eab2b45ed169 /gdb/ser-base.c | |
parent | 280958942b74f3164708700f195188c4d3446f58 (diff) | |
download | gdb-2edf834e298b15c882678db22e86745f701807fa.zip gdb-2edf834e298b15c882678db22e86745f701807fa.tar.gz gdb-2edf834e298b15c882678db22e86745f701807fa.tar.bz2 |
xml_fetch_content_from_file: Read in whole file in one go
There doesn't seem to be a good reason we're reading the file one
chunk at a time.
gdb/ChangeLog:
2017-10-19 Pedro Alves <palves@redhat.com>
* xml-support.c (xml_fetch_content_from_file): Don't read in
chunks. Instead use fseek to determine the file's size, and read
it in one go.
Diffstat (limited to 'gdb/ser-base.c')
0 files changed, 0 insertions, 0 deletions