aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorMarc André Tanner <mat@brain-dump.org>2015-07-06 11:13:57 +0200
committerMarc André Tanner <mat@brain-dump.org>2015-07-06 11:28:40 +0200
commite7dabd3d87d89efe2fadbe1e21d03fbeb3cc68a6 (patch)
tree9ed71627b9ad5002dc1688a04aef1be0e06cb8cf /Makefile
parent3708502761771e1af941dfb7f6dd44d97274accf (diff)
downloadvis-e7dabd3d87d89efe2fadbe1e21d03fbeb3cc68a6.tar.gz
vis-e7dabd3d87d89efe2fadbe1e21d03fbeb3cc68a6.tar.xz
text: overhaul file load implementation
Files smaller than 8M are now copied into an internal buffer upon load. Thus they can be safely truncated. Larger files are memory mapped and use the file/virtual memory system as caching layer. Hence truncating them will corrupt the file content. Eventually the resulting SIGBUS should be handled gracefully.
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions