summaryrefslogtreecommitdiffstats
path: root/lib/libarchive/archive_read_open_fd.c
diff options
context:
space:
mode:
authorrdivacky <rdivacky@FreeBSD.org>2010-05-18 08:55:23 +0000
committerrdivacky <rdivacky@FreeBSD.org>2010-05-18 08:55:23 +0000
commit7f3f7db3798a4d71f451d4eede04bcd6f9bec96b (patch)
tree7fc7f07db9e35a3b666f265dc0bf57e5ecb0d5ee /lib/libarchive/archive_read_open_fd.c
parentfb4f09998080bd2fa70c75879bedb4dfef12a265 (diff)
downloadFreeBSD-src-7f3f7db3798a4d71f451d4eede04bcd6f9bec96b.zip
FreeBSD-src-7f3f7db3798a4d71f451d4eede04bcd6f9bec96b.tar.gz
Only use the cache after the early stage of loading. This is
because calling mmap() etc. may use GOT which is not set up yet. Use calloc() instead of mmap() in cases where this was the case before (sparc64, powerpc, arm). Submitted by: Dimitry Andric (dimitry andric com) Reviewed by: kan Approved by: ed (mentor)
Diffstat (limited to 'lib/libarchive/archive_read_open_fd.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud