diff options
author | jkeil <jkeil@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2001-07-19 20:32:13 +0000 |
---|---|---|
committer | jkeil <jkeil@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2001-07-19 20:32:13 +0000 |
commit | 8c734ab19ff2456e2f893fbedcfc83848f529e21 (patch) | |
tree | af71f5f4779e2f41c84a03f322a530aa6551b254 /DOCS | |
parent | 42805cb4512f1edd857564092ca812d9c5065b95 (diff) | |
download | mpv-8c734ab19ff2456e2f893fbedcfc83848f529e21.tar.bz2 mpv-8c734ab19ff2456e2f893fbedcfc83848f529e21.tar.xz |
Solaris 2.6 and older do not support MAP_ANON, just fail the mmap MAP_ANON
attempt on such a system. The code tries mmap with /dev/zero and MIT-shm next.
Fix a possible filedesc leak, when the code tries to mmap shared memeory via
/dev/zero. Reuse the already open /dev/zero from a previous shmem_alloc call.
(same change; now without changing the indentation of the code)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1348 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'DOCS')
0 files changed, 0 insertions, 0 deletions