summaryrefslogtreecommitdiff
path: root/xkbcomp.c
diff options
context:
space:
mode:
authorDaniel Stone <daniel@fooishbar.org>2010-06-07 22:45:13 +0100
committerDaniel Stone <daniel@fooishbar.org>2010-06-15 19:26:49 +0100
commit9887842e33174a6e98675b912e419c711dd20c0f (patch)
tree8916e0b7b29c87b7000a2cf93a5e91f4005992ad /xkbcomp.c
parent02de53d767b20bab1517b4e8a3e7eb3b9e7f15be (diff)
Use fread() instead of getc()
So, it turns out that if you're parsing a fairly large amount of data, using getc() to get all the input rather than, say, read(), is some kind of remarkably daft and unperformant idea. Signed-off-by: Daniel Stone <daniel@fooishbar.org>
Diffstat (limited to 'xkbcomp.c')
0 files changed, 0 insertions, 0 deletions