Return NULL from g_mapped_file_get_contents()
authorRyan Lortie <desrt@desrt.ca>
Thu, 28 Jan 2010 02:30:26 +0000 (21:30 -0500)
committerRyan Lortie <desrt@desrt.ca>
Thu, 28 Jan 2010 02:33:35 +0000 (21:33 -0500)
commitb0a0ac51cb7e628f90b8293c098a6a1a26425301
tree9ec1dacc928aea90600bb67e62cd543e573eeef6
parent2a19bb7699c13e6d7cc5761d9285617e6b2b51f7
Return NULL from g_mapped_file_get_contents()

In the case of an empty file, return NULL instead of "".  This means
that the return result of g_mapped_file_get_contents() will always be
page-aligned.
README.in
glib/gmappedfile.c