libgphoto2/gphoto2-maxentries.patch

13 lines
469 B
Diff

diff -up libgphoto2-2.4.1/libgphoto2/gphoto2-list.c.maxentries libgphoto2-2.4.1/libgphoto2/gphoto2-list.c
--- libgphoto2-2.4.1/libgphoto2/gphoto2-list.c.maxentries 2007-07-27 07:52:55.000000000 +0200
+++ libgphoto2-2.4.1/libgphoto2/gphoto2-list.c 2008-07-07 09:27:04.000000000 +0200
@@ -72,7 +72,7 @@
#ifdef CAMERALIST_STRUCT_COMPATIBILITY
-#define MAX_ENTRIES 1024
+#define MAX_ENTRIES 4096
#define MAX_LIST_STRING_LENGTH 128
struct _CameraList {
int count;