GMappedFile API can't create new files
@hadess
Submitted by Bastien Nocera Link to original bug (#376276)
Description
I'd like to create temporary files to store data coming from the network, waiting for another process to be ready to consume the data. For example:
fd = g_mkstemp ("/home/hadess/.gnome2/totem-cache/totemXXXXXX"); map = g_mapped_file_new_from_fd (fd, TRUE, new_size, &error);
g_mapped_file_new_from_fd () would be able to grow the file represented by the fd if necessary.
Version: 2.10.x