From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?UTF-8?B?T3phbiDDh2HEn2xheWFu?= Date: Tue, 22 Sep 2009 22:28:30 +0000 Subject: Re: [PATCH] Add compressed ID database support to (usb|pci)-db Message-Id: <4AB94F8E.4090603@pardus.org.tr> List-Id: References: <4AB83999.1060004@unitednerds.org> In-Reply-To: <4AB83999.1060004@unitednerds.org> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org Piter PUNK wrote: > Hi > > This patch add support to gzip'ed database files to usb-db.c and add > the option > --disable-zlib to configure.ac. Most of code here come from usbutils > names.c > file with little modifications to work with udev. Looking at the code it seems that enabling zlib support sets HAVE_ZLIB which assumes that the DBs are always compressed with gzip which removes the support for uncompressed db files. Logically, both should be supported with some kind of file format detection. Ignore this if I wrongly understand the intention :) Regards,