]> git.tuebingen.mpg.de Git - paraslash.git/commitdiff
Move mmap_full_file from osl.c to fd.c.
authorAndre Noll <maan@systemlinux.org>
Sun, 21 Oct 2007 13:25:55 +0000 (15:25 +0200)
committerAndre Noll <maan@systemlinux.org>
Sun, 21 Oct 2007 13:25:55 +0000 (15:25 +0200)
To make it independent from osl.c, we must not pass
a pointer to struct osl_data. Replace it by void *, size_t *
pointers. Also add new int *fd_ptr parameter. If it's non-NULL
the file is not closed after mmap, and the open fd is returned
in fd_ptr.


No differences found