public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in media-libs/libgphoto2/files: libgphoto2-2.4.8-increase_max_entries.patch
@ 2010-03-14 11:19 Pacho Ramos (pacho)
  0 siblings, 0 replies; only message in thread
From: Pacho Ramos (pacho) @ 2010-03-14 11:19 UTC (permalink / raw
  To: gentoo-commits

pacho       10/03/14 11:19:32

  Added:                libgphoto2-2.4.8-increase_max_entries.patch
  Log:
  Fix bug 291049
  (Portage version: 2.1.7.17/cvs/Linux x86_64)

Revision  Changes    Path
1.1                  media-libs/libgphoto2/files/libgphoto2-2.4.8-increase_max_entries.patch

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/libgphoto2/files/libgphoto2-2.4.8-increase_max_entries.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/libgphoto2/files/libgphoto2-2.4.8-increase_max_entries.patch?rev=1.1&content-type=text/plain

Index: libgphoto2-2.4.8-increase_max_entries.patch
===================================================================
Increase max entries from 1024 to 8192 until 
http://sourceforge.net/tracker/index.php?func=detail&aid=1515453&group_id=8874&atid=108874
fix is backported to 2.4 branch.
This fixes http://bugs.gentoo.org/show_bug.cgi?id=291049
--- a/libgphoto2/gphoto2-list.c
+++ b/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;






^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2010-03-14 11:19 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-14 11:19 [gentoo-commits] gentoo-x86 commit in media-libs/libgphoto2/files: libgphoto2-2.4.8-increase_max_entries.patch Pacho Ramos (pacho)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox