libgphoto2 (2.4.14-2) 01-increase_max_entries.patch

Summary

 libgphoto2/gphoto2-list.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

    
download this patch

Patch contents

From: Frederic Peters <fpeters@debian.org>
Subject: increase max entries from 1024 to 8192
Bug-Debian: http://bugs.debian.org/425515
 http://bugs.debian.org/427476
Origin: vendor

---
 libgphoto2/gphoto2-list.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- libgphoto2.orig/libgphoto2/gphoto2-list.c
+++ libgphoto2/libgphoto2/gphoto2-list.c
@@ -72,7 +72,7 @@
 
 #ifdef CAMERALIST_STRUCT_COMPATIBILITY
 
-#define MAX_ENTRIES 1024
+#define MAX_ENTRIES 8192
 #define MAX_LIST_STRING_LENGTH 128
 struct _CameraList {
 	int  count;