From: Marcus M. <mei...@su...> - 2007-12-30 22:47:36
|
On Sun, Dec 30, 2007 at 05:40:29PM -0600, ki...@ba... wrote: > > > On Sun, 30 Dec 2007, Marcus Meissner wrote: > > > On Sun, Dec 30, 2007 at 04:36:52PM -0600, ki...@ba... wrote: > >> > > [...] > > >> I will continue looking at these and may make some more suggestions. > > > > I fixed exif.c/exif.h/gphoto2-file.c/gphoto2-filesys.c (and jpeg.c). > > > > I do not see the warning in gphoto2-abilities-list.c with current GCC 4.3. > > The newer compiler might have become more inteligent. :) > > > > Ciao, Marcus > > > > I will try out what you did right away, as it does seem already to be > posted. > > But I am still curious about something (see the message I just sent). > > What is intended with GP_FILE_ACCESSTYPE_MEMORY anyway? > > Does anyone actually use this? Yes. If the frontend does: gp_file_new() it allocates such a file. gp_file_new_from_fd(int fd) allocates one with GP_FILE_ACCESSTYPE_FILE The name GP_FILE_ACCESSTYPE_MEMORY is not exposed outside of the file itself. > Does anyone foresee a use for it? I added it to be used. :) Ciao, Marcus |