Commit Graph

3 Commits

Author SHA1 Message Date
jkeil 8c734ab19f 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
2001-07-19 20:32:13 +00:00
arpi_esp 4b6d71715f disable ddebug printfs
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@499 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-04-18 01:25:09 +00:00
arpi_esp d34041569e Initial revision
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-02-24 20:28:24 +00:00