Matthias Clasen f18eab2ac7 GMappedFile: return an error when trying to map a device
Previously, we were returning an empty buffer for all filenames
where fstat() gives a size of 0. But this is only appropriate
for regular files.

Also improve the documentation around this issue. Based on a
patch by Ryan Lortie.

Conflicts:

	glib/tests/mappedfile.c

https://bugzilla.gnome.org/show_bug.cgi?id=659212
2011-09-17 20:03:00 -04:00
..
2011-07-25 15:30:36 +02:00
2010-04-19 17:30:42 -04:00
2011-09-06 10:55:09 -04:00
2011-09-06 10:55:09 -04:00
2010-04-19 17:30:42 -04:00
2010-05-13 23:08:34 -04:00
2010-05-04 18:10:56 +02:00
2011-09-06 10:55:09 -04:00
2010-04-19 17:30:42 -04:00
2011-09-06 10:55:09 -04:00
2011-09-06 10:55:09 -04:00
2010-07-11 12:51:33 -04:00
2010-04-19 17:30:42 -04:00
2010-04-19 17:30:42 -04:00
2011-09-06 10:55:09 -04:00
2010-04-19 17:30:42 -04:00
2010-04-19 17:30:42 -04:00
2010-04-19 17:30:42 -04:00
2010-04-19 17:30:42 -04:00