RFC: [PATCH] Simplify installed.db format (take 3)

Christopher Faylor cgf-no-personal-reply-please@cygwin.com
Wed Jan 25 19:59:00 GMT 2006


On Mon, Jan 23, 2006 at 10:08:32AM -0500, Igor Peshansky wrote:
>On Mon, 23 Jan 2006, Buzz wrote:
>
>> Op Sun, 22 Jan 2006 23:28:04 -0500 (EST) schreef Igor Peshansky
>> in <Pine.GSO.4.63.0601222324410.18707<at>access1.cims.nyu.edu>:
>>
>> :  On Sun, 22 Jan 2006, Igor Peshansky wrote:
>>
>> : > The attached patch fixes the parsing of installed.db package lines.
>> : > Comments welcome.
>>
>> +		  sscanf (line, "%s %s", pkgname, inst);
>>
>> Won't this parse the `` 0'' into ``inst''? Did you mean
>>
>> +		  sscanf (line, "%s %s ", pkgname, inst);
>>
>> perhaps?
>
>Umm, yes, good point.  In fact, let's use the attached patch instead.

Will this require a change to cygcheck also?

cgf



More information about the Cygwin-apps mailing list