aboutsummaryrefslogtreecommitdiffstats
path: root/src/reader.c
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-01-25 15:55:34 +0000
committerDavid Robillard <d@drobilla.net>2011-01-25 15:55:34 +0000
commite6b7791d17a630dc7d6d8387d627fc1d524425dc (patch)
tree36601c78d7f8b2bb63deeb6abe64f7c1d64f6ef0 /src/reader.c
parent835bee085391eb306167066780394a85a9c6642e (diff)
downloadserd-e6b7791d17a630dc7d6d8387d627fc1d524425dc.tar.gz
serd-e6b7791d17a630dc7d6d8387d627fc1d524425dc.tar.bz2
serd-e6b7791d17a630dc7d6d8387d627fc1d524425dc.zip
Localise use of fread.
git-svn-id: http://svn.drobilla.net/serd/trunk@63 490d8e77-9747-427b-9fa3-0b8f29cee8a0
Diffstat (limited to 'src/reader.c')
-rw-r--r--src/reader.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/reader.c b/src/reader.c
index 519164bd..fb539819 100644
--- a/src/reader.c
+++ b/src/reader.c
@@ -1400,7 +1400,7 @@ serd_reader_read_file(SerdReader reader, FILE* file, const uint8_t* name)
me->rdf_rest = make_node(SERD_URI, push_string(me, RDF_REST, 48), 0, 0);
me->rdf_nil = make_node(SERD_URI, push_string(me, RDF_NIL, 47), 0, 0);
- fread(me->read_buf, 1, READ_BUF_LEN, file);
+ page(me);
const bool ret = read_turtleDoc(me);
pop_string(me, me->rdf_nil.value);