mpv/linux
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
..
getch2.c applied solaris8/netbsd/other fixes patch by Jürgen Keil <jk@tools.de> 2001-06-05 18:40:44 +00:00
getch2.h Initial revision 2001-02-24 20:28:24 +00:00
keycodes.h Initial revision 2001-02-24 20:28:24 +00:00
shmem.c Solaris 2.6 and older do not support MAP_ANON, just fail the mmap MAP_ANON 2001-07-19 20:32:13 +00:00
shmem.h Initial revision 2001-02-24 20:28:24 +00:00
timer-lx.c removed redundancy... 2001-03-13 00:13:18 +00:00
timer.h removed redundancy... 2001-03-13 00:13:18 +00:00