7 Commits

Author SHA1 Message Date
Marcus Meissner
29a061ce26 move gp_file_free up 2016-11-19 23:51:59 +01:00
peterbud
230e2554f8 add O_BINARY flag for open() calls to write images in binary mode on Windows 2016-11-19 23:47:21 +01:00
Marcus Meissner
14aab4929c remove probably unistd.h include , or protected by ifdef for
building better with Visual C

https://github.com/gphoto/libgphoto2/issues/33
2016-01-03 18:25:33 +01:00
Marcus Meissner
b4af65be7c remove gp_file_free which will zero out the returned data which we still
need (makes CameraFile* leak here).


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@14392 67ed7778-7388-44ab-90cf-0a291f65f57c
2013-05-03 22:31:13 +00:00
Marcus Meissner
ca55fb156d fixed sample_open_camera to load the abilities and portinfolist
(was done by sample_autodetect before)


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@14352 67ed7778-7388-44ab-90cf-0a291f65f57c
2013-04-25 07:39:18 +00:00
Marcus Meissner
3efe841cc1 fixed for new gp_log functions
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@12756 67ed7778-7388-44ab-90cf-0a291f65f57c
2010-03-13 11:39:14 +00:00
Marcus Meissner
35611300e1 added a minimalistic capture sample
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@12733 67ed7778-7388-44ab-90cf-0a291f65f57c
2010-03-05 23:12:31 +00:00